summaryrefslogtreecommitdiffstats
path: root/webui_templates/ksfile_list.tmpl
blob: af196ec0fe28f064cea5b27335d600bfe85acec4 (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
#extends cobbler.webui.master

#block body
<table class="sortable">
    <thead>
        <caption>Cobbler Kickstart Files</caption>
        <tr>
            <th class="text">Name</th>
            <th> </th>
        </tr>
    </thead>
    <tbody>
        #set $evenodd = 1
        #for $ksfile in $ksfiles
        #if $evenodd % 2 == 0
            #set $tr_class = "roweven"
        #else
            #set $tr_class = "rowodd"
        #end if
        #set $evenodd += 1

        <tr class="$tr_class">
            <td>$ksfile</td>
            <td><!-- 
                <a href="/ksfile_edit?ksfile=$ksfile">edit</a>
                <a href="/ksfile_view?ksfile=$ksfile">view</a>
                -->
            </td>
        </tr>
        #end for
    </tbody>
</table>
#end block body