summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar Wugy <wugy@mally-soft.com> 2009-12-16 22:03:32 +0100
committerGravatar Wugy <wugy@mally-soft.com> 2009-12-16 22:03:32 +0100
commitce746b8d0ee022b8926538ceed6ec19d4e3ee8e8 (patch)
treeb980d03df55e87c3d585cec8f23af9414dfd8c99 /module/web/templates
parentfixed speed display, optimized some code (diff)
downloadpyload-ce746b8d0ee022b8926538ceed6ec19d4e3ee8e8.tar.xz
add some class's
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/base.html211
1 files changed, 111 insertions, 100 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index 27aa72b9f..9095d802a 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -1,100 +1,111 @@
-<?xml version="1.0" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/default.css">
-<link rel="icon" href="/favicon.ico" type="image/vnd.microsoft.icon">
-{% block head %}
-{% endblock %}
-<title>{% block title %}pyLoad Webinterface{% endblock %}</title>
-</head>
-
-<a class="anchor" name="top" id="top"></a>
-
-<div id="head-panel">
-
-<div id="head-search-and-login">
-
-{% if user.is_authenticated %}
-<img src="{{ MEDIA_URL }}img/head-login.png" alt="User:" style="vertical-align:middle; margin:2px" /><span style="padding-right: 2px;">{{user.username}}</span>
- <ul id="user-actions">
- <li><a href="/logout" class="action logout" rel="nofollow">Logout</a></li>
- {% if user.is_staff %}
- <li><a href="/admin" class="action profile" rel="nofollow">Administrate</a></li>
- {% endif %}
- <li></li>
- <li></li>
- </ul>
-{% else %}
- <span style="padding-right: 2px;">Please Login!</span>
-{% endif %}
-
- </div>
-
- <a href="/"><img id="head-logo" src="{{ MEDIA_URL }}img/pyload-logo-edited3.5-new-font-small.png" alt="pyLoad" /></a>
-
- <div id="head-menu">
- <ul>
-
- {% block menu %}
- <li class="selected">
- <a href="{% url home %}" title=""><img src="{{ MEDIA_URL }}img/head-menu-home.png" alt="" /> Home</a>
- </li>
- <li>
- <a href="{% url queue %}" title=""><img src="{{ MEDIA_URL }}img/head-menu-download.png" alt="" /> Queue</a></li>
- <li>
- <a href="{% url downloads %}" title=""><img src="{{ MEDIA_URL }}img/head-menu-development.png" alt="" /> Downloads</a></li>
- <li class="right">
- <a href="{% url logs %}" class="action index" accesskey="x" rel="nofollow"><img src="{{ MEDIA_URL }}img/head-menu-index.png" alt="" />Logs</a>
- </li>
- {% endblock %}
-
- </ul>
- </div>
-
- <div style="clear:both;"></div>
-</div>
-
-<ul id="page-actions">
- <li><a href="" class="action revisions" accesskey="o" rel="nofollow">Reload page</a></li>
-
-</ul>
-
-<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>
-
-{% block statusbar %}
-{% endblock %}
-
-
-<br>
-
-<div class="level1" style="clear:both">
-</div>
-
-{% for message in messages %}
- <b><p>{{message}}</p></b>
-{% endfor %}
-
-{% block content %}
-{% endblock content %}
-
- <hr style="clear: both;" />
-
-<div id="foot">© 2008-2010 the pyLoad Team
-
- <a href="#top" class="action top" accesskey="x"><span>Back to top</span></a><br />
- <!--<div class="breadcrumbs"></div>-->
-
-
-</div>
-</div>
-</head>
-<body>
+<?xml version="1.0" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/default.css">
+<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
+{% block head %}
+{% endblock %}
+<title>{% block title %}pyLoad Webinterface{% endblock %}</title>
+<script type="text/javascript">
+$(document).ready(function(){
+ $.getJSON('/json/statuss', LoadJsonToContent );
+});
+</script>
+</head>
+
+<a class="anchor" name="top" id="top"></a>
+
+<div id="head-panel">
+
+<div id="head-search-and-login">
+
+{% if user.is_authenticated %}
+<img src="{{ MEDIA_URL }}img/head-login.png" alt="User:" style="vertical-align:middle; margin:2px" /><span style="padding-right: 2px;">{{user.username}}</span>
+ <ul id="user-actions">
+ <li><a href="/logout" class="action logout" rel="nofollow">Logout</a></li>
+ {% if user.is_staff %}
+ <li><a href="/admin" class="action profile" rel="nofollow">Administrate</a></li>
+ {% endif %}
+ <li></li>
+ <li></li>
+ </ul>
+{% else %}
+ <span style="padding-right: 2px;">Please Login!</span>
+{% endif %}
+
+ </div>
+
+ <a href="/"><img id="head-logo" src="{{ MEDIA_URL }}img/pyload-logo-edited3.5-new-font-small.png" alt="pyLoad" /></a>
+
+ <div id="head-menu">
+ <ul>
+
+ {% block menu %}
+ <li class="selected">
+ <a href="/" title=""><img src="{{ MEDIA_URL }}img/head-menu-home.png" alt="" /> Home</a>
+ </li>
+ <li>
+ <a href="/queue/" title=""><img src="{{ MEDIA_URL }}img/head-menu-download.png" alt="" /> Queue</a></li>
+ <li>
+ <a href="/downloads/" title=""><img src="{{ MEDIA_URL }}img/head-menu-development.png" alt="" /> Downloads</a></li>
+ <li class="right">
+ <a href="/logs/" class="action index" accesskey="x" rel="nofollow"><img src="{{ MEDIA_URL }}img/head-menu-index.png" alt="" />Logs</a>
+ </li>
+ {% endblock %}
+
+ </ul>
+ </div>
+
+ <div style="clear:both;"></div>
+</div>
+
+<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>
+
+<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>
+
+<!--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-->
+
+{% block statusbar %}
+{% endblock %}
+
+
+<br>
+
+<div class="level1" style="clear:both">
+</div>
+
+{% for message in messages %}
+ <b><p>{{message}}</p></b>
+{% endfor %}
+
+{% block content %}
+{% endblock content %}
+
+ <hr style="clear: both;" />
+
+<div id="foot">© 2008-2010 the pyLoad Team
+
+ <a href="#top" class="action top" accesskey="x"><span>Back to top</span></a><br />
+ <!--<div class="breadcrumbs"></div>-->
+
+
+</div>
+</div>
+</head>
+<body>