diff options
author | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-11 18:41:35 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@mdehaan.rdu.redhat.com> | 2007-09-11 18:41:35 -0400 |
commit | be10c5605d5376a8c5c14a3be5b306bb951fd0f2 (patch) | |
tree | b91b754cca3707cb65c30716d6ecc838c4a93532 /webui_templates/ksfile_list.tmpl | |
parent | 17ffb1ded3928943abfad248e12240868678ac3f (diff) | |
download | third_party-cobbler-be10c5605d5376a8c5c14a3be5b306bb951fd0f2.tar.gz third_party-cobbler-be10c5605d5376a8c5c14a3be5b306bb951fd0f2.tar.xz third_party-cobbler-be10c5605d5376a8c5c14a3be5b306bb951fd0f2.zip |
Check in beginings of Cobbler WebUI packaging (thanks: Al Tobey). More work TBA.
Diffstat (limited to 'webui_templates/ksfile_list.tmpl')
-rw-r--r-- | webui_templates/ksfile_list.tmpl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/webui_templates/ksfile_list.tmpl b/webui_templates/ksfile_list.tmpl new file mode 100644 index 0000000..af196ec --- /dev/null +++ b/webui_templates/ksfile_list.tmpl @@ -0,0 +1,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 |