This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/templates/broomcloset/global/header.tpl

48 lines
2.5 KiB
Smarty
Raw Normal View History

2015-04-30 23:01:01 +00:00
<!DOCTYPE html>
<html>
<head>
<!-- META -->
<meta charset="{{ sakura.charset }}" />
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
{% if page.redirect %}
<meta http-equiv="refresh" content="3; URL={{ page.redirect }}" />
{% endif %}
<!-- CSS -->
2015-08-10 02:01:07 +00:00
<link rel="stylesheet" type="text/css" href="//{{ sakura.content_path }}/global.css" />
2015-04-30 23:01:01 +00:00
<link rel="stylesheet" type="text/css" href="{{ sakura.resources }}/css/manage.css" />
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
<!-- JS -->
<script type="text/javascript" src="{{ sakura.resources }}/js/manage.js"></script>
</head>
<body>
<div id="container">
<span id="top"></span>
<div class="header" id="header">
2015-05-03 16:25:57 +00:00
<div class="logo">
2015-05-23 03:31:42 +00:00
<a href="//{{ sakura.urls.main }}/manage/">Broom Closet</a> /
<a href="//{{ sakura.urls.main }}/manage/{{ page.activepage }}/">{{ page.pages[page.activepage].desc }}</a> /
<a href="//{{ sakura.urls.main }}/manage/{{ page.activepage }}/{{ page.activesub }}/">{{ page.pages[page.activepage].subs[page.activesub].desc }}</a>
2015-05-03 16:25:57 +00:00
</div>
2015-04-30 23:01:01 +00:00
<div class="nav">
2015-05-03 16:25:57 +00:00
<div class="menu" id="siteNav">
<div style="color: {{ user.colour }};">{{ user.data.username }}</div>
2015-08-10 02:01:07 +00:00
<a href="/">Return to Site Index</a>
<a href="/logout?mode=logout&amp;time={{ php.time }}&amp;session={{ php.sessionid }}&amp;redirect=/">Logout</a>
2015-05-03 16:25:57 +00:00
</div>
<div class="menu" id="pageNav">
<div>Navigation</div>
{% for short,page in page.pages %}
2015-08-10 02:01:07 +00:00
<a href="/manage/{{ short }}/">{{ page.desc }}</a>
2015-04-30 23:01:01 +00:00
{% endfor %}
2015-05-03 16:25:57 +00:00
</div>
2015-04-30 23:01:01 +00:00
<div class="menu" id="subNav">
2015-05-03 16:25:57 +00:00
<div>{{ page.pages[page.activepage].desc }}</div>
{% for short,sub in page.pages[page.activepage].subs %}
2015-08-10 02:01:07 +00:00
<a href="/manage/{{ page.activepage }}/{{ short }}/">{{ sub.desc }}</a>
2015-05-03 16:25:57 +00:00
{% endfor %}
2015-04-30 23:01:01 +00:00
</div>
</div>
</div>
<div id="contentwrapper">