| 10 |
lars |
1 |
{include file="header.tpl"}
|
| 36 |
lars |
2 |
<!-- $Id: index.tpl 97 2008-02-19 19:42:48Z lars $ -->
|
| 93 |
lars |
3 |
<form action="" method="post">
|
| 95 |
lars |
4 |
{html_options selected="$cur_hn" options="$hns" name="hn_id" onchange="form.submit(this);"}
|
| 93 |
lars |
5 |
<input type="submit" value="change Hardwarenode">
|
|
|
6 |
</form>
|
| 94 |
lars |
7 |
<br>
|
|
|
8 |
<br>
|
| 3 |
lars |
9 |
<table>
|
|
|
10 |
<tr>
|
| 8 |
lars |
11 |
<th>Aktionen</th>
|
|
|
12 |
</tr>
|
|
|
13 |
<tr>
|
|
|
14 |
<td>
|
| 10 |
lars |
15 |
<form action="change.php" method="post">
|
| 8 |
lars |
16 |
<input type="hidden" name="mode" value="new_v">
|
| 19 |
lars |
17 |
<input type="hidden" name="hn_id" value="{$hn_id}">
|
| 8 |
lars |
18 |
<input type="submit" value="neuen vServer anlegen" class="mainoption">
|
|
|
19 |
</form>
|
|
|
20 |
</td>
|
|
|
21 |
</tr>
|
|
|
22 |
</table>
|
|
|
23 |
<br>
|
|
|
24 |
<table>
|
|
|
25 |
<tr>
|
| 3 |
lars |
26 |
<th>vServer ID</th>
|
|
|
27 |
<th>vServer Name</th>
|
| 71 |
lars |
28 |
<th>Distribution</th>
|
| 3 |
lars |
29 |
<th>Status</th>
|
|
|
30 |
<th>Aktionen</th>
|
|
|
31 |
</tr>
|
|
|
32 |
{section loop=$v_servers name=v_ind}
|
|
|
33 |
<tr>
|
|
|
34 |
<td>{$v_servers[v_ind].v_id}</td>
|
|
|
35 |
<td>{$v_servers[v_ind].v_name}</td>
|
| 71 |
lars |
36 |
<td>{$v_servers[v_ind].v_dist_name}</td>
|
| 3 |
lars |
37 |
<td>{$v_servers[v_ind].v_status}</td>
|
|
|
38 |
<td>
|
| 7 |
lars |
39 |
{if $v_servers[v_ind].v_id}
|
|
|
40 |
<form action="details.php" method="post">
|
|
|
41 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
| 70 |
lars |
42 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
| 7 |
lars |
43 |
<input type="submit" value="Details" class="liteoption">
|
|
|
44 |
</form>
|
|
|
45 |
{/if}
|
| 97 |
lars |
46 |
{if $v_servers[v_ind].v_id && $v_servers[v_ind].id!=$m_ve}
|
| 3 |
lars |
47 |
{if !$v_servers[v_ind].started}
|
|
|
48 |
<form action="control.php" method="post">
|
| 4 |
lars |
49 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
| 17 |
lars |
50 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
| 4 |
lars |
51 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
52 |
<input type="hidden" name="mode" value="ask">
|
|
|
53 |
<input type="hidden" name="action" value="start">
|
| 3 |
lars |
54 |
<input type="submit" value="starten" class="liteoption">
|
|
|
55 |
</form>
|
| 68 |
lars |
56 |
<form action="control.php" method="post">
|
|
|
57 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
58 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
|
|
59 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
60 |
<input type="hidden" name="mode" value="ask">
|
|
|
61 |
<input type="hidden" name="action" value="destroy">
|
|
|
62 |
<input type="submit" value="löschen" class="liteoption">
|
|
|
63 |
</form>
|
| 3 |
lars |
64 |
{/if}
|
|
|
65 |
{if $v_servers[v_ind].started}
|
|
|
66 |
<form action="control.php" method="post">
|
| 4 |
lars |
67 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
| 17 |
lars |
68 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
| 4 |
lars |
69 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
70 |
<input type="hidden" name="mode" value="ask">
|
|
|
71 |
<input type="hidden" name="action" value="stop">
|
| 3 |
lars |
72 |
<input type="submit" value="stoppen" class="liteoption">
|
|
|
73 |
</form>
|
|
|
74 |
<form action="control.php" method="post">
|
| 4 |
lars |
75 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
| 17 |
lars |
76 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
| 4 |
lars |
77 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
78 |
<input type="hidden" name="mode" value="ask">
|
|
|
79 |
<input type="hidden" name="action" value="restart">
|
| 3 |
lars |
80 |
<input type="submit" value="neu starten" class="liteoption">
|
|
|
81 |
</form>
|
|
|
82 |
{/if}
|
|
|
83 |
{/if}
|
|
|
84 |
</td>
|
|
|
85 |
</tr>
|
|
|
86 |
{/section}
|
|
|
87 |
</table>
|
| 10 |
lars |
88 |
{include file="footer.tpl"}
|