[Mpuls-commits] r3289 - base/trunk/mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Aug 2 13:02:26 CEST 2010


Author: torsten
Date: 2010-08-02 13:02:26 +0200 (Mon, 02 Aug 2010)
New Revision: 3289

Modified:
   base/trunk/mpulsweb/templates/casemanagement/upload.mako
Log:
* mpulsweb/templates/casemanagement/upload.mako: Changed Layout of
 import template. Layout now better fits into the mpuls2 look and
 feel.


Modified: base/trunk/mpulsweb/templates/casemanagement/upload.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/upload.mako	2010-08-02 10:11:42 UTC (rev 3288)
+++ base/trunk/mpulsweb/templates/casemanagement/upload.mako	2010-08-02 11:02:26 UTC (rev 3289)
@@ -6,18 +6,25 @@
 	<li><a href="${h.url_for(controller='/case', action='import')}">${_('Import cases')}</a></li>
 </%def>
 <h1>${_('XML Import')}</h1>
-<div id="waska_form" class="import_box">
-
-<h2>XML-Import</h2>
-<p class="import_p">
+<p>
   Es können Dateien im XML-Format (.xml) angegeben werden.<br>
   Die Größe einer Datei darf 10MB nicht überschreiten.
 </p>
-<div class="import_box_dialog">
-  ${h.form(h.url(controller='/case', action='importXMLAction'), multipart=True)}
-  <label class="import_label" for="xmlfile"><strog class="import_number">1.</strong> Datei wählen:</label> <input type="file" name="xmlfile" id="xmlfile"><br>
-  <label class="import_label"><strong class="import_number">2.</strong> Datei importieren:</label>
-  ${h.submit('upload', _('cm_from_import_submit'))}
-  ${h.end_form()}
-</div>
-</div>
+<br>
+${h.form(h.url(controller='/case', action='importXMLAction'), multipart=True)}
+<fieldset>
+  <legend>${_('Importfile')}</legend>
+  <table>
+    <tr>
+      <td class="label">
+        <label for="xmlfile">${_('Choose file')}:</label>
+      </td>
+      <td>
+        <input class="text" type="file" name="xmlfile" id="xmlfile" value="">
+      </td>
+    </tr>
+  </table>
+</fieldset>
+<br>
+${h.submit('upload', _('cm_from_import_submit'))}
+${h.end_form()}



More information about the Mpuls-commits mailing list