changeset 1715:ed2bfccada9b

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 18 Aug 2012 20:30:43 +0200
parents 6ba24e1114d5 (current diff) f38034fac8fc (diff)
children 0b7ae26c968b d697fd14e772
files
diffstat 3 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/static/css/stylus/ticket.styl	Sat Aug 18 20:30:43 2012 +0200
@@ -0,0 +1,9 @@
+#moin-ticket-form
+    dd
+        width 80%
+        margin-top 0.1em
+        input
+            width auto
+    dt
+        width 15%
+        margin-top 0.1em
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/static/css/ticket.css	Sat Aug 18 20:30:43 2012 +0200
@@ -0,0 +1,4 @@
+#moin-ticket-form dd{width:80%;margin-top:.1em;}
+#moin-ticket-form dd input{width:auto}
+#moin-ticket-form dt{width:15%;margin-top:.1em}
+
--- a/MoinMoin/templates/ticket.html	Sat Aug 18 17:43:19 2012 +0200
+++ b/MoinMoin/templates/ticket.html	Sat Aug 18 20:30:43 2012 +0200
@@ -7,9 +7,14 @@
     {% set title = _("Ticket: %(item_name)s", item_name=item_name) %}
 {% endif %}
 
+{% block head %}
+    {{ super() }}
+    <link media="all" rel="stylesheet" href="{{ url_for('static', filename='css/ticket.css') }}" />
+{% endblock %}
+
 {% block content %}
 <h1>{{ title }}</h1>
-<div class="moin-form">
+<div class="moin-form" id="moin-ticket-form">
     {{ gen.form.open(form, method='post', enctype='multipart/form-data') }}
 
     {% if data_rendered %}