summaryrefslogtreecommitdiffstats
path: root/webui_templates/system_delete.tmpl
blob: a798ddccb2acfcce00ae44925c8bce8c38f8f984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#extends cobbler.webui.master

#block body

<form name="myform" method="post" action="$base_url?mode=system_delete">
    <input type="hidden" name="targetlist" id="targetlist" value="$targetlist"/>
    
    <table class="sortable">
    <thead>
        <caption>Confirm deleting the following systems</caption>
        <tr>
            <th class="text">Name</th>
        </tr>
    </thead>
    <tbody>
        #set $evenodd = 1
        #for $system in $systems
        #if $evenodd % 2 == 0
            #set $tr_class = "roweven"
        #else
            #set $tr_class = "rowodd"
        #end if
        #set $evenodd += 1

        <tr class="$tr_class">
            <td>
                ${system.name}
            </td>
        </tr>
        #end for
    </tbody>
    </table>

    </p>
    
    <input type="submit" name="delete" value="Delete Systems"/>
    <input type="button" name="cancel" onclick="javascript:history.go(-1)" value="Cancel"/>
</form>
#end block body