Merge branch 'bankerweiterung_und_skonto'
[kivitendo-erp.git] / templates / webpages / am / edit_units.html
index c9495e1..1879d56 100644 (file)
@@ -1,9 +1,6 @@
 [%- USE T8 %][%- USE LxERP %][% USE L %]
 [% USE HTML %]
-
-<script type="text/javascript" src="js/jquery-ui.js"></script>
-
-<body>
+<h1>[% title %]</h1>
 
  [% IF saved_message %]
   <p>[% saved_message %]</p>
 
  <input type="hidden" name="type" value="unit">
 
- <table width="100%">
-  <tr>
-   <th class="listtop" colspan="2">[% title %]</th>
-  </tr>
-  <tr height="5"></tr>
- </table>
-
  <p>
   [% LxERP.t8('All units have either no or exactly one base unit of which they are multiples.') %]
   [% LxERP.t8('If you select a base unit then you also have to enter a factor.') %]
@@ -31,9 +21,7 @@
 
  <hr>
 
- <table width="100%">
-  <tr><th class="listtop">[% 'Add unit' | $T8 %]</th></tr>
- </table>
+ <h2>[% 'Add unit' | $T8 %]</h2>
 
  <table>
   <tr>
@@ -67,9 +55,7 @@
 
  <hr>
 
- <table width="100%">
-  <tr><th class="listtop">[% 'Edit units' | $T8 %]</th></tr>
- </table>
+ <h2>[% 'Edit units' | $T8 %]</h2>
 
  <p>
   [% 'Units that have already been used (e.g. for parts and services or in invoices or warehouse transactions) cannot be changed.' | $T8 %]
@@ -86,7 +72,7 @@
  <table id="unit_list">
   <thead>
   <tr class="listheading">
-   <th align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
+   <th align="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
    <th>[% 'Delete' | $T8 %]</th>
    <th>[% 'Unit' | $T8 %]</th>
    <th>[% 'Base unit' | $T8 %]</th>
   <tbody>
   [% FOREACH row = UNITS %]
    <tr class="listrow[% loop.count % 2 %]" id="unit_id_[% row.id %]">
-    <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
+    <td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
     [% IF row.in_use %]
      <td>
       <input type="hidden" name="unchangeable_[% loop.count %]" value="1">
 
  [% L.sortable_element('#unit_list tbody', url => 'controller.pl?action=Unit/reorder', with => 'unit_id') %]
 
-</body>
-</html>