summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-04 16:17:22 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-04 16:17:22 +0100
commit52cf3751b2fe74aa5029f4b605b91aa84d9cf914 (patch)
tree30c636bb7ced6549e0aa4c9c46ae5aa8748f5a10 /module/web/templates/default
parentbetter DLC Support for Python 2.5 and 2.6 (diff)
downloadpyload-52cf3751b2fe74aa5029f4b605b91aa84d9cf914.tar.xz
little fixes, closed #71
Diffstat (limited to 'module/web/templates/default')
-rw-r--r--module/web/templates/default/base.html21
-rw-r--r--module/web/templates/default/logs.html3
-rw-r--r--module/web/templates/default/queue.html1
-rw-r--r--module/web/templates/default/window.html2
4 files changed, 16 insertions, 11 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html
index 720453a30..bb44433ce 100644
--- a/module/web/templates/default/base.html
+++ b/module/web/templates/default/base.html
@@ -6,14 +6,14 @@
<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="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/default.css"/>
<!--<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/jquery-ui-1.7.2.custom.css">-->
-<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/window.css">
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/window.css"/>
<!--<script src="{{ MEDIA_URL }}js/jquery-1.3.2.min.js"></script>-->
-<script src="{{ MEDIA_URL }}js/sprintf.js"></script>
-<script src="{{ MEDIA_URL }}js/funktions.js"></script>
-<script src="{{ MEDIA_URL }}js/mootools-1.2.4-core.js"></script>
-<script src="{{ MEDIA_URL }}js/mootools-1.2.4.2-more.js"></script>
+<script type="text/javascript" src="{{ MEDIA_URL }}js/sprintf.js"></script>
+<script type="text/javascript" src="{{ MEDIA_URL }}js/funktions.js"></script>
+<script type="text/javascript" src="{{ MEDIA_URL }}js/mootools-1.2.4-core.js"></script>
+<script type="text/javascript" src="{{ MEDIA_URL }}js/mootools-1.2.4.2-more.js"></script>
<!--<script src="{{ MEDIA_URL }}js/jquery.progressbar.js"></script>-->
<!--<script src="{{ MEDIA_URL }}js/jquery.form.js"></script>-->
@@ -28,6 +28,7 @@ document.addEvent("domready", function(){
add_box = new Fx.Tween($('add_box'));
$('add_form').onsubmit=function() {
+ if ($('add_name').value == "") alert("{% trans "Please Enter a packagename." %}")
$('add_form').target = 'upload_target'; //'upload_target' is the name of the iframe
out();
}
@@ -113,7 +114,7 @@ function AddBox()
{% block head %}
{% endblock %}
</head>
-
+ <body>
<a class="anchor" name="top" id="top"></a>
<div id="head-panel">
@@ -187,7 +188,7 @@ function AddBox()
{% endblock %}
-<br>
+<br/>
<div class="level1" style="clear:both">
</div>
@@ -209,6 +210,8 @@ function AddBox()
</div>
</div>
+</div>
{% include "default/window.html" %}
-<body>
+</body>
+</html>
diff --git a/module/web/templates/default/logs.html b/module/web/templates/default/logs.html
index c35c68706..8dbe5a382 100644
--- a/module/web/templates/default/logs.html
+++ b/module/web/templates/default/logs.html
@@ -2,6 +2,7 @@
{% load i18n %}
{% block title %}{% trans "Logs" %} - {{block.super}} {% endblock %}
+{% block subtitle %}{% trans "Logs" %}{% endblock %}
{% block menu %}
<li>
@@ -22,5 +23,5 @@
<li>{{line.line}}: {{line.content}}</li>
{% endfor %}
</ul>
-<a href="{% url logs %}"><< Start</a> <a href="{% url logs prev %}">< prev</a> <a href="{% url logs next %}">next ></a>
+<a href="{% url logs %}"><< {% trans "Start" %}</a> <a href="{% url logs prev %}">< {% trans "prev" %}</a> <a href="{% url logs next %}">{% trans "next" %} ></a>
{% endblock %} \ No newline at end of file
diff --git a/module/web/templates/default/queue.html b/module/web/templates/default/queue.html
index a136e1213..4cc01eeef 100644
--- a/module/web/templates/default/queue.html
+++ b/module/web/templates/default/queue.html
@@ -73,6 +73,7 @@ document.addEvent("domready", function(){
{% endblock %}
{% block title %}{% trans "Queue" %} - {{block.super}} {% endblock %}
+{% block subtitle %}{% trans "Queue" %}{% endblock %}
{% block menu %}
<li> <a href="{% url home %}" title=""><img src="{{ MEDIA_URL }}img/head-menu-home.png" alt="" /> {% trans "Home" %}</a> </li>
diff --git a/module/web/templates/default/window.html b/module/web/templates/default/window.html
index 11ac8056c..18de3b0e2 100644
--- a/module/web/templates/default/window.html
+++ b/module/web/templates/default/window.html
@@ -11,7 +11,7 @@
<label>{% trans "Name" %}
<span class="small">{% trans "The name of the new package." %}</span>
</label>
-<input name="add_name" type="text" size="20" />
+<input id="add_name" name="add_name" type="text" size="20" />
<label>{% trans "Links" %}
<span class="small">{% trans "Paste your links here" %}</span>