WEB/Praktikum3/bt/templates/projektlist.tpl

25 lines
844 B
Smarty
Raw Permalink Normal View History

2017-01-16 23:32:28 +01:00
<!-- Template -->
<div id="idListContent" class="clContent">
<h2 id="idContentHeader" class="clContentHeader">
2017-01-17 14:23:08 +01:00
Pflege Projekte
2017-01-16 23:32:28 +01:00
</h2>
<div id="idContentArea" class="clContentArea">
<table id="idList">
2017-01-17 14:23:08 +01:00
<tr class="listheader"><th>Name</th><th>ID</th></tr>
2017-01-16 23:32:28 +01:00
@var rows_o = context['data'];@
@for var key_s in rows_o@
<tr id='#key_s#'>
@var row_o = rows_o[key_s];@
2017-01-17 14:23:08 +01:00
<td>#row_o['name']#</td><td>#row_o['id']#</td>
2017-01-16 23:32:28 +01:00
</tr>
@endfor@
</table>
</div>
<div id="idButtonArea" class="clButtonArea">
<button data-action="add" class="clButton">Hinzufügen</button>
<button data-action="edit" class="clButton">Bearbeiten</button>
<button data-action="delete" class="clButton">Löschen</button>
</div>
</div>
<!-- EOF -->