diff options
Diffstat (limited to 'module/web/templates/default')
-rw-r--r-- | module/web/templates/default/base.html | 5 | ||||
-rw-r--r-- | module/web/templates/default/queue.html | 65 | ||||
-rw-r--r-- | module/web/templates/default/settings.html | 7 |
3 files changed, 71 insertions, 6 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index d5d51d989..a2093a93a 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -17,10 +17,7 @@ <script type="text/javascript" src="static/js/libs/underscore-min.js"></script>
<script type="text/javascript" src="static/js/libs/backbone-min.js"></script>
-
-
<title>{% block title %}pyLoad {{ _("Webinterface") }}{% endblock %}</title>
-
{% block head %}
{% endblock %}
</head>
@@ -64,6 +61,8 @@ </header>
<div id="push"></div>
<div id="content">
+ {% block pageactions %}
+ {% endblock pageactions %}
<a href="#test" class="nyroModal">DOM Element (hidden div)</a>
<div id="test" style="display: none; width: 600px;">
<a href="demoSent.php" class="nyroModal">Open a new modal</a><br />
diff --git a/module/web/templates/default/queue.html b/module/web/templates/default/queue.html new file mode 100644 index 000000000..50d1d3418 --- /dev/null +++ b/module/web/templates/default/queue.html @@ -0,0 +1,65 @@ +{% extends 'default/base.html' %}
+{% block head %}
+
+<link href="static/css/default/queue.css" rel="stylesheet" type="text/css" media="screen"/>
+<script type="text/javascript" src="/media/js/package_ui.js"></script>
+
+<script type="text/javascript">
+document.addEvent("domready", function(){
+ var pUI = new PackageUI("url", {{ target }});
+});
+</script>
+{% endblock %}
+
+{% block title %}{{name}} - {{super()}} {% endblock %}
+{% block subtitle %}{{name}}{% endblock %}
+
+{% block pageactions %}
+<ul id="page-actions">
+ <li id="del_finished"><a href="#">{{_("Delete Finished")}}</a></li>
+ <li id="restart_failed"><a href="#">{{_("Restart Failed")}}</a></li>
+</ul>
+{% endblock %}
+
+{% block content %}
+
+<ul id="queue-list">
+
+
+
+ <script>
+ $(function() {
+ $( "#pack_progress_1" ).progressbar({
+ value: 59
+ });
+ });
+ </script>
+
+
+
+
+<li>
+ <div id="package_1" class="pack">
+ <div class="pack_header">
+ <div class="pack_icon"></div>
+ <span class="pack_name">TestPackage</span>
+
+ <div class="pack_toolbar">
+ <div class="pack_toolbar_delete" title='{{_("Delete Package")}}'></div>
+ <div class="pack_toolbar_restart" title='{{_("Restart Package")}}'></div>
+ <div class="pack_toolbar_edit" title='{{_("Edit Package")}}'></div>
+ </div>
+ </div>
+ <div id="pack_progress_1" class="pack_progressbar"></div>
+
+ <div id="children_1" class="pack_children">
+ <span class="child_secrow">{{_("Folder:")}} <span class="folder">TestPackage/</span> | {{_("Password:")}} <span class="password">trololo</span></span>
+ <ul id="sort_children_1" class="sort_children">
+ </ul>
+ </div>
+ </div>
+</li>
+
+
+</ul>
+{% endblock %}
\ No newline at end of file diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html index 23396e3e2..b7cdb7cb5 100644 --- a/module/web/templates/default/settings.html +++ b/module/web/templates/default/settings.html @@ -22,9 +22,10 @@ <div id="toptabs"> <ul> - <li><a href="#tabs-1">Preloaded</a></li> - <li><a href="ajax/content1.html">Tab 1</a></li> - <li><a href="ajax/content1.html">Tab 1</a></li> + <li><a href="#tabs-1">{{ _("Admin")}}</a></li> + <li><a href="ajax/content1.html">{{ _("Addons")}}</a></li> + <li><a href="ajax/content1.html">{{ _("Accounts")}}</a></li> + <li><a href="ajax/content1.html">{{ _("User")}}</a></li> </ul> <div id="tabs-1"> <p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p> |