Überschriften in <h1> anstelle von <div class="listtop"> packen
[kivitendo-erp.git] / templates / webpages / background_job / form.html
index c3d784c..cbd43af 100644 (file)
@@ -1,42 +1,43 @@
 [% USE HTML %][% USE L %][% USE LxERP %]
 <body>
 
- <form method="post" action="controller.pl">
-  <div class="listtop">[% FORM.title %]</div>
+ <h1>[% FORM.title %]</h1>
 
 [%- INCLUDE 'common/flash.html' %]
 
+ <form method="post" action="controller.pl">
   <table>
    <tr>
-    <td>[%- LxERP.t8('Active') %]</td>
+    <th align="right">[%- LxERP.t8('Active') %]</th>
     <td>[% L.yes_no_tag("background_job.active", SELF.background_job.active) %]</td>
    </tr>
 
    <tr>
-    <td>[%- LxERP.t8('Execution type') %]</td>
+    <th align="right">[%- LxERP.t8('Execution type') %]</th>
     <td>[% L.select_tag("background_job.type", L.options_for_select([ [ 'once', LxERP.t8('one-time execution') ], [ 'interval', LxERP.t8('repeated execution') ] ],
                                                                     'default' => SELF.background_job.type)) %]</td>
    </tr>
 
    <tr>
-    <td>[%- LxERP.t8('Package name') %]</td>
+    <th align="right">[%- LxERP.t8('Package name') %]</th>
     <td>[% L.input_tag("background_job.package_name", SELF.background_job.package_name, 'size' => 40) %]</td>
    </tr>
 
    <tr>
-    <td>[%- LxERP.t8('Execution schedule') %]</td>
+    <th align="right">[%- LxERP.t8('Execution schedule') %]</th>
     <td>[% L.input_tag("background_job.cron_spec", SELF.background_job.cron_spec, 'size' => 40) %]</td>
    </tr>
 
    <tr>
-    <td>[%- LxERP.t8('Data') %]</td>
-    <td>[% L.textarea_tag("background_job.data", SELF.background_job.data, 'cols' => 80, 'rows' => 10) %]</td>
+    <th align="right" valign="top">[%- LxERP.t8('Data') %]</th>
+    <td valign="top">[% L.textarea_tag("background_job.data", SELF.background_job.data, 'cols' => 80, 'rows' => 10) %]</td>
    </tr>
 
   </table>
 
   <p>
    [% L.hidden_tag("id", SELF.background_job.id) %]
+   [% L.hidden_tag("back_to", SELF.back_to) %]
    [% L.hidden_tag("action", "BackgroundJob/dispatch") %]
    [% L.submit_tag("action_" _  (SELF.background_job.id ? "update" : "create"), LxERP.t8('Save')) %]
    [%- IF SELF.background_job.id %]