From 52cf3751b2fe74aa5029f4b605b91aa84d9cf914 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 4 Feb 2010 16:17:22 +0100 Subject: little fixes, closed #71 --- module/web/templates/default/base.html | 21 ++++++++++++--------- module/web/templates/default/logs.html | 3 ++- module/web/templates/default/queue.html | 1 + module/web/templates/default/window.html | 2 +- 4 files changed, 16 insertions(+), 11 deletions(-) (limited to 'module/web/templates/default') 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 @@ - + - + - - - - + + + + @@ -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 %} - +
@@ -187,7 +188,7 @@ function AddBox() {% endblock %} -
+
@@ -207,8 +208,10 @@ function AddBox() +
{% include "default/window.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 %}
  • @@ -22,5 +23,5 @@
  • {{line.line}}: {{line.content}}
  • {% endfor %} -<< Start < prev next > +<< {% trans "Start" %} < {% trans "prev" %} {% trans "next" %} > {% 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 %}
  • {% trans "Home" %}
  • 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 @@ - +