diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-07 16:19:00 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-04-07 16:19:00 +0200 |
commit | 98d6824b47f34597a0486fd41963863037cb294d (patch) | |
tree | 7a20da6fadea36850c92d947a49d011e7314938b /module/web/templates | |
parent | ul fix (diff) | |
download | pyload-98d6824b47f34597a0486fd41963863037cb294d.tar.xz |
information page for webif
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/base.html | 1 | ||||
-rw-r--r-- | module/web/templates/default/info.html | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 323f38b66..7f7db2610 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -231,6 +231,7 @@ function AddBox() {% if user.is_admin %}
<li><a href="/admin" class="action profile" rel="nofollow">{{_("Administrate")}}</a></li>
{% endif %}
+ <li><a href="/info" class="action info" rel="nofollow">{{_("Info")}}</a></li>
</ul>
{% else %}
diff --git a/module/web/templates/default/info.html b/module/web/templates/default/info.html new file mode 100644 index 000000000..d1acb804c --- /dev/null +++ b/module/web/templates/default/info.html @@ -0,0 +1,46 @@ +{% extends 'default/base.html' %} + +{% block title %}{{ _("Information") }} - {{ super() }} {% endblock %} +{% block subtitle %}{{ _("Information") }}{% endblock %} + + +{% block content %} + <h3>{{ _("News") }}</h3> + <div id="twitter"> + <ul id="twitter_update_list"></ul> + <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> + <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/pyLoad.json?callback=twitterCallback2&count=6"></script> + </div> + <h3>{{ _("System") }}</h3> + <table class="system"> + <tr> + <td>Version:</td> + <td>{{ version }}</td> + </tr> + <tr> + <td>Installation Folder:</td> + <td>{{ folder }}</td> + </tr> + <tr> + <td>Config Folder:</td> + <td>{{ config }}</td> + </tr> + <tr> + <td>Download Folder:</td> + <td>{{ download }}</td> + </tr> + <tr> + <td>Language:</td> + <td>{{ language }}</td> + </tr> + <tr> + <td>Webinterface Port:</td> + <td>{{ webif }}</td> + </tr> + <tr> + <td>Remote Interface Port:</td> + <td>{{ remote }}</td> + </tr> + </table> + +{% endblock %}
\ No newline at end of file |