git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FIX: Removed forbidden page, added to secure.php
[phorkie.git]
/
data
/
templates
/
base.htm
diff --git
a/data/templates/base.htm
b/data/templates/base.htm
index 906453eda57f576714bd4006790d18d090d76920..ec2b7469d1398f2f7b229b62fbcc225693626002 100644
(file)
--- a/
data/templates/base.htm
+++ b/
data/templates/base.htm
@@
-2,11
+2,13
@@
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="{{css}}"/>
<link rel="stylesheet" href="{{css}}"/>
- <link rel="stylesheet" href="/phorkie.css" />
+ <link rel="stylesheet" href="/
css/
phorkie.css" />
<title>{% block title %}{% endblock %} - {{title}}</title>
<title>{% block title %}{% endblock %} - {{title}}</title>
- <script src="/jquery-1.7.2.min.js"></script>
- <script src="/phorkie.js"></script>
+ <script src="/js/jquery-1.7.2.min.js"></script>
+ <script src="/js/phorkie.js"></script>
+ {% block meta %}{% endblock %}
</head>
<body>
{{topbar|raw}}
</head>
<body>
{{topbar|raw}}
@@
-18,16
+20,26
@@
</a>
<ul class="nav">
<li>
</a>
<ul class="nav">
<li>
- <a href="/">New paste</a>
+ <a href="/
new
">New paste</a>
</li>
<li>
<a href="/list">List all</a>
</li>
</li>
<li>
<a href="/list">List all</a>
</li>
+ {% if identity %}
+ <li>
+ <a href="/user">{{name}} ({{email}})</a>
+ </li>
+ <li>
+ <a href="/auth?logout">Logout</a>
+ </li>
+ {% endif %}
+ {% if db.adapter %}
<li>
<form class="navbar-search pull-left" action="/search" method="get">
<input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
</form>
</li>
<li>
<form class="navbar-search pull-left" action="/search" method="get">
<input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
</form>
</li>
+ {% endif %}
</ul>
</div>
</div>
</ul>
</div>
</div>
@@
-53,4
+65,4
@@
</div>
</body>
</div>
</body>
-</html>
\ No newline at end of file
+</html>