Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 81b0b21f

Von Kivitendo Admin vor etwa 2 Jahren hinzugefügt

  • ID 81b0b21fab6e4d3fa991522b81d04658aee32c7f
  • Vorgänger 9adbb6d6
  • Nachfolger 3c6361eb

design40: System -> Benutzer angepasst

Unterschiede anzeigen:

templates/design40_webpages/employee/_list.html
1 1
[% USE T8 %]
2
<table>
2

  
3
<div class="wrapper">
4
<table class="tbl-list">
5
 <colgroup>
6
   <col class="wi-verysmall">
7
   <col>
8
   <col class="wi-verysmall">
9
 </colgroup>
10
 <thead>
3 11
 <tr>
4 12
  <th>[% 'Login of User' | $T8 %]</th>
5 13
  <th>[% 'Name' | $T8 %]</th>
6 14
  <th>[% 'Deleted' | $T8 %]</th>
7 15
 </tr>
16
 </thead>
17
 <tbody>
8 18
[% FOREACH row IN SELF.employees %]
9 19
 <tr class='listrow[% loop.count % 2 %]'>
10 20
  <td><a href='[% SELF.url_for(action="edit", "employee.id"=row.id) %]'>[% row.login | html %]</a></td>
......
12 22
  <td>[% row.deleted_as_bool_yn | html %]</td>
13 23
 </tr>
14 24
[% END %]
15
 </table>
25
 </tbody>
26
</table>
27
</div><!-- /.wrapper -->
templates/design40_webpages/employee/edit.html
1
[%- USE LxERP -%][%- USE L -%][%- USE T8 -%]<h1>[% title | html %]</h1>
2

  
3
[% INCLUDE "common/flash.html" %]
4

  
5
<div class="wrapper">
6
<form action="controller.pl" method="POST" id="form">
7

  
8
 <table class="tbl-horizontal">
9
  <tr>
10
   <th align="right" class="">[% "Login of User" | $T8 %]:</th>
11
   <td>[% SELF.employee.login | html %]</td>
12
  </tr>
13
  <tr>
14
   <th align="right">[% "Name" | $T8 %]:</th>
15
   <td>[% SELF.employee.name | html %]</td>
16
  </tr>
17
  <tr>
18
   <th align="right">[% "Deleted" | $T8 %]:</th>
19
   <td> [% L.radio_button_tag("employee.deleted", value=1, checked=SELF.employee.deleted, label=LxERP.t8("Yes")) %] [% L.radio_button_tag("employee.deleted", value=0, checked=!SELF.employee.deleted, label=LxERP.t8("No")) %]
20
   </td>
21
  </tr>
22
 </table>
23

  
24
 [%- L.hidden_tag("employee.id", SELF.employee.id) %]
25
</form>
26
</div><!-- /.wrapper -->
templates/design40_webpages/employee/list.html
1
<h1>[% title | html %]</h1>
2

  
3
[% INCLUDE 'common/flash.html' %]
4

  
5
[% PROCESS 'employee/_list.html' %]

Auch abrufbar als: Unified diff