blob: 14036529a11d42fd8c64062893d6bb0041cba908 (
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
40
41
|
#extends cobbler.webui.master
#block body
<form name="myform" method="post" action="$base_url?mode=system_rename">
<input type="hidden" name="targetlist" id="targetlist" value="$targetlist"/>
<table class="sortable">
<thead>
<caption>Rename the following system</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>
New name: <input type="text" size="128" style="width: 150px;" name="name" id="name" value=$systems[0].name>
</p>
<input type="submit" name="rename" value="Rename System"/>
<input type="button" name="cancel" onclick="javascript:history.go(-1)" value="Cancel"/>
</form>
#end block body
|