git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatically login to phorkie
[phorkie.git]
/
data
/
templates
/
base.htm
diff --git
a/data/templates/base.htm
b/data/templates/base.htm
index 1dcf0fce760f1f6929d80b1867fdbb2e7ac913cb..fabfd5213de609fa4cfe4152eafde73966779e90 100644
(file)
--- a/
data/templates/base.htm
+++ b/
data/templates/base.htm
@@
-45,7
+45,7
@@
<ul class="nav pull-right">
{% if identity %}
<li>
<ul class="nav pull-right">
{% if identity %}
<li>
- <a href="user">{{name}}</a>
+ <a href="user">
<img class="avatar-tiny" src="{{htmlhelper.getIconUrl(email, 20)}}" width="20" height="20" />
{{name}}</a>
</li>
{% endif %}
{% if db.adapter %}
</li>
{% endif %}
{% if db.adapter %}
@@
-74,6
+74,12
@@
<div class="container">
<div class="row">
<div class="span9">
<div class="container">
<div class="row">
<div class="span9">
+ {% if suggestSetupCheck %}
+ <div class="alert alert-warning">
+ No configuration file found.
+ Visit the <a href="setup">setup check page</a> for more information.
+ </div>
+ {% endif %}
{% block content %}{% endblock %}
</div>
<div class="span3">
{% block content %}{% endblock %}
</div>
<div class="span3">
@@
-86,8
+92,11
@@
<div class="container footer">
<a href="//sf.net/p/phorkie/">phorkie</a>,
the self-hosted, git-based pastebin software is available under the
<div class="container footer">
<a href="//sf.net/p/phorkie/">phorkie</a>,
the self-hosted, git-based pastebin software is available under the
- <a href="http
s://sf.net/p/phorkie/
">
+ <a href="http
://www.gnu.org/licenses/agpl-3.0.html
">
<abbr title="GNU Affero General Public License">AGPL</abbr></a>.
</div>
<abbr title="GNU Affero General Public License">AGPL</abbr></a>.
</div>
+ {% if autologin %}
+ <script src="js/autologin.js"></script>
+ {% endif %}
</body>
</html>
</body>
</html>