summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/base.html
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 22:49:48 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 22:49:48 +0100
commitea5dbe7e25b156bb0b2e9e6da06c7da9549ddbe5 (patch)
treedf4f212d5d320700dc8db4509fc9326e385d0899 /module/web/templates/default/base.html
parentFixed Relink.us, Uploaded.to Name Bug (diff)
parentWebinterface authsystem (diff)
downloadpyload-ea5dbe7e25b156bb0b2e9e6da06c7da9549ddbe5.tar.xz
merged
Diffstat (limited to 'module/web/templates/default/base.html')
-rw-r--r--module/web/templates/default/base.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index 9095d802a..5d79e8b6a 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -12,7 +12,7 @@
<title>{% block title %}pyLoad Webinterface{% endblock %}</title>
<script type="text/javascript">
$(document).ready(function(){
- $.getJSON('/json/statuss', LoadJsonToContent );
+ $.getJSON('/json/status', LoadJsonToContent );
});
</script>
</head>
@@ -63,23 +63,27 @@ $(document).ready(function(){
<div style="clear:both;"></div>
</div>
+{% if perms.pyload.can_change_status %}
<ul id="page-actions2">
<li><a href="" class="action play" accesskey="o" rel="nofollow">Play</a></li>
<li><a href="" class="action pause" accesskey="o" rel="nofollow">Pause</a></li>
</ul>
+{% endif %}
+{% if perms.pyload.can_see_dl %}
<ul id="page-actions">
<li><a href="" class="action backlink" accesskey="o" rel="nofollow">Speed: <b id="speed">485</b> kb/s</a></li>
<li><a href="" class="action cog" accesskey="o" rel="nofollow">Aktiv: <b id="aktiv">1</b> / <b id="aktiv_from">4</b></a></li>
<li><a href="" class="action revisions" accesskey="o" rel="nofollow">Reload page</a></li>
</ul>
+{% endif %}
-<!--div id="body-wrapper" class="dokuwiki">
+<div id="body-wrapper" class="dokuwiki">
<div id="content" lang="en" dir="ltr">
<h1><a name="pyload_download_manager_for_1_click_hoster" id="pyload_download_manager_for_1_click_hoster">pyLoad — Webinterface</a>
-</h1-->
+</h1
{% block statusbar %}
{% endblock %}