summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/templates/default')
-rw-r--r--module/web/templates/default/base.html10
-rw-r--r--module/web/templates/default/home.html6
2 files changed, 12 insertions, 4 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 %}
diff --git a/module/web/templates/default/home.html b/module/web/templates/default/home.html
index 895302e61..40f124712 100644
--- a/module/web/templates/default/home.html
+++ b/module/web/templates/default/home.html
@@ -1 +1,5 @@
-{% extends 'default/base.html' %} \ No newline at end of file
+{% extends 'default/base.html' %}
+
+{% block content %}
+
+{% endblock %} \ No newline at end of file