diff options
author | godofdream <soilfiction@gmail.com> | 2012-08-11 18:54:58 +0200 |
---|---|---|
committer | godofdream <soilfiction@gmail.com> | 2012-08-11 18:54:58 +0200 |
commit | 70a0a615fa06b30978902d70c198925feb041750 (patch) | |
tree | ec37a9130c556919c67ad6c6e034a07b3e374c0a /module/web/templates/default | |
parent | added speedgraph (diff) | |
download | pyload-70a0a615fa06b30978902d70c198925feb041750.tar.xz |
Added jqueryui & template black-tie
Diffstat (limited to 'module/web/templates/default')
-rw-r--r-- | module/web/templates/default/base.html | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 48dee84af..2c9693491 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -7,11 +7,23 @@ <link href="http://fonts.googleapis.com/css?family=Abel" rel="stylesheet" type="text/css"/>
<link href="static/css/font.css" rel="stylesheet" type="text/css"/>
<link href="static/css/default/style.css" rel="stylesheet" type="text/css" media="screen"/>
+ <link href="static/css/black-tie/jquery-ui-1.8.22.custom.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="static/js/libs/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="static/js/libs/jquery.flot.min.js"></script>
-
+ <script type="text/javascript" src="static/js/libs/jquery-ui-1.8.22.custom.min.js"></script>
<title>{% block title %}pyLoad {{ _("Webinterface") }}{% endblock %}</title>
+
+
+ <script>
+ $(function() {
+ $( "#reconnecting_check" ).button();
+ $( "#downloading_check" ).button();
+ //$( "a", ".demo" ).click(function() { return false; });
+ });
+ </script>
+
+
{% block head %}
{% endblock %}
@@ -22,7 +34,15 @@ <div class="center">
<img class="logo" alt="" src="static/img/default/logo.png" width="120px" height="120px">
<span class="title">pyLoad</span>
- <div id="speedgraph"></div>
+ <div id="header_block_1" class="header_block">
+ <div id="speedmeter"></div>
+ <div id="downloads"></div>
+ <div id="reconnecting_div"><input type="checkbox" id="reconnecting_check" class="header_button" /><label for="reconnecting_check">{{ _("Reconnect") }}</label></div>
+ <div id="downloading_div"><input type="checkbox" id="downloading_check" class="header_button" /><label for="downloading_check">{{ _("Download") }}</label></div>
+ </div>
+ <div id="header_block_2" class="header_block">
+ <div id="speedgraph"></div>
+ </div>
</div>
</header>
<div id="push"></div>
|