Revision 81b0b21f
Von Kivitendo Admin vor etwa 2 Jahren hinzugefügt
templates/design40_webpages/employee/_list.html | ||
---|---|---|
[% USE T8 %]
|
||
<table>
|
||
|
||
<div class="wrapper">
|
||
<table class="tbl-list">
|
||
<colgroup>
|
||
<col class="wi-verysmall">
|
||
<col>
|
||
<col class="wi-verysmall">
|
||
</colgroup>
|
||
<thead>
|
||
<tr>
|
||
<th>[% 'Login of User' | $T8 %]</th>
|
||
<th>[% 'Name' | $T8 %]</th>
|
||
<th>[% 'Deleted' | $T8 %]</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
[% FOREACH row IN SELF.employees %]
|
||
<tr class='listrow[% loop.count % 2 %]'>
|
||
<td><a href='[% SELF.url_for(action="edit", "employee.id"=row.id) %]'>[% row.login | html %]</a></td>
|
||
... | ... | |
<td>[% row.deleted_as_bool_yn | html %]</td>
|
||
</tr>
|
||
[% END %]
|
||
</table>
|
||
</tbody>
|
||
</table>
|
||
</div><!-- /.wrapper -->
|
templates/design40_webpages/employee/edit.html | ||
---|---|---|
[%- USE LxERP -%][%- USE L -%][%- USE T8 -%]<h1>[% title | html %]</h1>
|
||
|
||
[% INCLUDE "common/flash.html" %]
|
||
|
||
<div class="wrapper">
|
||
<form action="controller.pl" method="POST" id="form">
|
||
|
||
<table class="tbl-horizontal">
|
||
<tr>
|
||
<th align="right" class="">[% "Login of User" | $T8 %]:</th>
|
||
<td>[% SELF.employee.login | html %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align="right">[% "Name" | $T8 %]:</th>
|
||
<td>[% SELF.employee.name | html %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align="right">[% "Deleted" | $T8 %]:</th>
|
||
<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")) %]
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
[%- L.hidden_tag("employee.id", SELF.employee.id) %]
|
||
</form>
|
||
</div><!-- /.wrapper -->
|
templates/design40_webpages/employee/list.html | ||
---|---|---|
<h1>[% title | html %]</h1>
|
||
|
||
[% INCLUDE 'common/flash.html' %]
|
||
|
||
[% PROCESS 'employee/_list.html' %]
|
Auch abrufbar als: Unified diff
design40: System -> Benutzer angepasst