Verbesserte Kompatibilität mit Opera, FireFox, InternetExplorer bei Drag & Drop
[kivitendo-erp.git] / templates / webpages / am / list_price_factors.html
1 [%- USE T8 %][% USE L %][% USE LxERP %]
2 [% USE HTML %]
3
4 <script type="text/javascript" src="js/jquery-ui.js"></script>
5
6 <body>
7
8  [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
9
10  <div class="listtop">[% title %]</div>
11
12  <p>
13   <table width="100%" id="price_factor_list">
14    <tr class="listheading">
15     <th align="center"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
16     <th width="80%">[% 'Description' | $T8 %]</th>
17     <th width="20%">[% 'Factor' | $T8 %]</th>
18    </tr>
19
20    [% FOREACH factor = PRICE_FACTORS %]
21    <tr class="listrow[% loop.count % 2 %]" id="price_factor_id_[% factor.id %]">
22     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
23     <td><a href="[% url_base %]&action=edit_price_factor&id=[% HTML.url(factor.id) %]">[% HTML.escape(factor.description) %]</a></td>
24     <td>[% HTML.escape(factor.factor) %]</td>
25    </tr>
26    [% END %]
27   </table>
28  </p>
29
30  <hr height="3">
31
32  <p>
33   <form method="post" action="am.pl">
34    <input type="hidden" name="type" value="price_factor">
35    <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
36
37    <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
38   </form>
39  </p>
40
41  [% L.sortable_element('#price_factor_list tbody', 'url' => 'controller.pl?action=PriceFactor/reorder', 'with' => 'price_factor_id', handle => '.dragdrop') %]
42
43 </body>
44 </html>