1
{% extends 'master.tmpl' %}
4
<legend id="listheader" class="action"><span id="shadeState"></span> Cobbler Kickstart Snippets</legend>
6
<!-- This is kind weird, but force the name "snippet"
7
because we know this is the ksfile page. If this gets moved
8
to generic_list, then it can be hacked around -->
10
<li><a class="action" href="/cobbler_web/{{ what }}/edit">Create new snippet</a><li>
12
<table id="listitems" border="0" width="100%" cellspacing="0" cellpadding="2">
18
{% for snippet,shortname,option in snippets %}
19
<tr class="{% cycle 'rowodd' 'roweven' %}">
20
<td>{{ shortname }}</td>
23
{% ifequal option "editable" %}<span class="action" onClick="window.location='/cobbler_web/snippet/edit/{{ snippet }}'">Edit</a> {% endifequal %}
31
{% endblock content %}