diff options
author | godofdream <soilfiction@gmail.com> | 2012-08-14 22:41:40 +0200 |
---|---|---|
committer | godofdream <soilfiction@gmail.com> | 2012-08-14 22:41:40 +0200 |
commit | a9ce4aa2537455557b7632e98146a5097661f781 (patch) | |
tree | 0c650f576edfa9028ef57e195e0d97c3fe1ac7e1 /module/web/templates/default | |
parent | added dialog window (diff) | |
parent | first Design of Queue and Settings (diff) | |
download | pyload-a9ce4aa2537455557b7632e98146a5097661f781.tar.xz |
Merge
Diffstat (limited to 'module/web/templates/default')
-rw-r--r-- | module/web/templates/default/queue.html | 65 | ||||
-rw-r--r-- | module/web/templates/default/settings.html | 36 |
2 files changed, 101 insertions, 0 deletions
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 new file mode 100644 index 000000000..b7cdb7cb5 --- /dev/null +++ b/module/web/templates/default/settings.html @@ -0,0 +1,36 @@ +{% extends 'default/base.html' %} + +{% block title %}{{ _("Config") }} - {{ super() }} {% endblock %} +{% block subtitle %}{{ _("Config") }}{% endblock %} + +{% block head %} + <script> + $(function() { + $( "#toptabs" ).tabs({ + ajaxOptions: { + error: function( xhr, status, index, anchor ) { + $( anchor.hash ).html( + "Couldn't load this tab." ); + } + } + }); + }); + </script> +{% endblock %} + +{% block content %} + +<div id="toptabs"> + <ul> + <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> + </div> +</div> + + +{% endblock %}
\ No newline at end of file |