Subversion-Projekte lars-tiefland.ci

Revision

Revision 1946 | Revision 1964 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1946 Revision 1955
Zeile 1... Zeile 1...
1
{include file="header.tpl"}
1
{include file="header.tpl"}
2
<!-- $Id: herstellerkatalog.tpl 1946 2017-01-06 20:01:52Z lars $ BEGIN -->
2
<!-- $Id: herstellerkatalog.tpl 1955 2017-01-20 21:03:02Z lars $ BEGIN -->
3
<script>
3
<script>
4
	$(function(){
4
	$(function(){
5
		$(".del_hst").button({
5
		$(".del_hst").button({
6
			icons:{
6
			icons:{
7
				primary:"ui-icon-trash"
7
				primary:"ui-icon-trash"
Zeile 9... Zeile 9...
9
		}).css("cursor","pointer");
9
		}).css("cursor","pointer");
10
		$(".edit_hst").button({
10
		$(".edit_hst").button({
11
			icons:{
11
			icons:{
12
				primary:"ui-icon-pencil"
12
				primary:"ui-icon-pencil"
13
			}
13
			}
14
		}).css("cursor","pointer");
14
		}).css("cursor","pointer").click(editHst);
-
 
15
		$('#hstEditDlg').dialog({
-
 
16
			autoOpen:false,
-
 
17
			modal:true,
-
 
18
			width:600,
-
 
19
			resizable:false
-
 
20
		})
15
	})
21
	})
-
 
22
	function editHst()
-
 
23
	{
-
 
24
		$('#hstEditDlg').load("/backend/herstellerkatalog/edit/"+$(this).attr('data-id'),function(){
-
 
25
			$('#hstEditDlg').dialog('open');
-
 
26
		});
-
 
27
	}
16
</script>
28
</script>
17
<table style="width:100%">
29
<table style="width:100%">
18
	<tr>
30
	<tr>
19
		<th>Name</th>
31
		<th>Name</th>
20
		<th style="width:210px">Aktionen</th>
32
		<th style="width:210px">Aktionen</th>
Zeile 29... Zeile 41...
29
			<a class="del_hst" data-id="{$hst.id}" data-name="{$hst.name}">löschen</a>
41
			<a class="del_hst" data-id="{$hst.id}" data-name="{$hst.name}">löschen</a>
30
		</td>
42
		</td>
31
	</tr>
43
	</tr>
32
	{/foreach}
44
	{/foreach}
33
</table>
45
</table>
-
 
46
<div id="hstEditDlg"></div>
-
 
47
<div id="hstDelDlg"></div>
34
<!-- $Id: herstellerkatalog.tpl 1946 2017-01-06 20:01:52Z lars $ END -->
48
<!-- $Id: herstellerkatalog.tpl 1955 2017-01-20 21:03:02Z lars $ END -->
35
{include file="footer.tpl"}
49
{include file="footer.tpl"}
36
50