Subversion-Projekte lars-tiefland.ci

Revision

Revision 2266 | Revision 2268 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2249 lars 1
{include file="header.tpl"}
2
<!--$Id: logistiker.tpl 2267 2018-10-02 21:58:54Z lars $ BEGIN-->
2259 lars 3
<script type="text/javascript">
4
	$(function()
5
	{
2263 lars 6
		$('#dlg_logistiker').dialog({
7
			autoOpen:false,
8
			modal:true,
9
			width:"90%",
10
			resizable:false
11
		})
2259 lars 12
		$('.edit').button({
2260 lars 13
			icons:{
14
				primary:"ui-icon-pencil"
15
			}
2263 lars 16
		}).click(edit_logistiker)
2261 lars 17
		$('.del').button({
18
			icons:{
19
				primary:"ui-icon-trash"
20
			}
2263 lars 21
		}).click(del_logistiker)
2259 lars 22
	})
2263 lars 23
 
24
	function edit_logistiker()
25
	{
26
		$('#aktion').html("anlegen");
2265 lars 27
		if($(this).attr("data-id"))
2263 lars 28
		{
29
			$('#aktion').html("editieren");
30
		}
31
		$('#dlg_logistiker').dialog("open");
32
	}
33
 
34
	function del_logistiker()
35
	{
2267 lars 36
		//$('#aktion').html("löschen");
37
		$('#dlg_logistiker').dialog({
38
			title:"Logistiker löschen"
39
		})
2263 lars 40
		$('#dlg_logistiker').dialog("open");
41
	}
2259 lars 42
</script>
2245 lars 43
<table width="1000" >
44
    <tr >
45
        <td valign="top">
46
            <table width="100%" cellpadding="3" cellspacing="0" class="keinRand">
47
                <tr class="links" algin="left">
48
                    <td style="text-align:left !important;">ID</td>
49
                    <td style="text-align:left !important;">Name</td>
50
                    <td style="text-align:left !important;">Kurzname</td>
2262 lars 51
                    <td style="text-algin:left !important">Aktionen</td>
2245 lars 52
                </tr>
53
            {section loop=$logistiker name=l_ind}
54
            {cycle values=",gerade" assign="class"}
55
                <tr class="rechts {$class}">
56
                    <td  style="text-align:left !important;">{$logistiker[l_ind].id}</td>
2259 lars 57
                    <td  style="text-align:left !important;">{$logistiker[l_ind].name}</td>
2245 lars 58
                    <td  style="text-align:left !important;">{$logistiker[l_ind].kname}</td>
2259 lars 59
                    <td>
60
                    	<a class="edit" data-id="{$logistiker[l_ind].id}">ändern</a>
61
                    	<a class="del" data-id="{$logistiker[l_ind].id}">löschen</a>
62
					</td>
2245 lars 63
                </tr>
64
            {/section}
65
            </table>
66
        </td>
67
    </tr>
68
</table>
2249 lars 69
<!-- $Id: logistiker.tpl 2267 2018-10-02 21:58:54Z lars $ END -->
2263 lars 70
 
71
<div id="dlg_logistiker" title="Logistiker <span id='aktion'></span>"></div>
2249 lars 72
{include file="footer.tpl"}