Subversion-Projekte lars-tiefland.ci

Revision

Revision 1942 | Revision 1944 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1941 lars 1
{include file="header.tpl"}
2
<!-- $Id: herstellerkatalog.tpl 1943 2017-01-06 19:55:06Z lars $ BEGIN -->
1942 lars 3
<script>
4
	$(function(){
5
		$(".del_hst").button({
6
			icons:{
1943 lars 7
				primary:"ui-icon-trash"
1942 lars 8
			}
9
		}).css("cursor","pointer");
10
		$(".edit_hst").button({
11
			icons:{
12
				primary:"ui-icon-pencil"
13
			}
14
		}).css("cursor","pointer");
15
	})
16
</script>
1941 lars 17
<table>
18
	<tr>
19
		<th>Name</th>
1942 lars 20
		<th>Aktionen</th>
1941 lars 21
	</tr>
22
	{foreach $hersteller as $hst}
23
	<tr>
24
		<td>
25
			{$hst.name}
26
		</td>
1942 lars 27
		<td>
28
			<a class="edit_hst" data-id="{$hst.id}">ändern</a>
29
			<a class="del_hst" data-id="{$hst.id}" data-name="{$hst.name}">löschen</a>
30
		</td>
1941 lars 31
	</tr>
32
	{/foreach}
33
</table>
34
<!-- $Id: herstellerkatalog.tpl 1943 2017-01-06 19:55:06Z lars $ END -->
35
{include file="footer.tpl"}