| 10 |
lars |
1 |
{include file="header.tpl"}
|
| 36 |
lars |
2 |
<!-- $Id: index.tpl 150 2008-08-08 22:23:12Z 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>
|
| 147 |
lars |
39 |
<form action="details.php" method="post">
|
|
|
40 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
41 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
|
|
42 |
<input type="submit" value="Details" class="liteoption">
|
|
|
43 |
</form>
|
| 97 |
lars |
44 |
{if $v_servers[v_ind].v_id && $v_servers[v_ind].id!=$m_ve}
|
| 3 |
lars |
45 |
{if !$v_servers[v_ind].started}
|
|
|
46 |
<form action="control.php" method="post">
|
| 4 |
lars |
47 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
| 17 |
lars |
48 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
| 4 |
lars |
49 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
50 |
<input type="hidden" name="mode" value="ask">
|
|
|
51 |
<input type="hidden" name="action" value="start">
|
| 3 |
lars |
52 |
<input type="submit" value="starten" class="liteoption">
|
|
|
53 |
</form>
|
| 68 |
lars |
54 |
<form action="control.php" method="post">
|
|
|
55 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
56 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
|
|
57 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
58 |
<input type="hidden" name="mode" value="ask">
|
|
|
59 |
<input type="hidden" name="action" value="destroy">
|
|
|
60 |
<input type="submit" value="löschen" class="liteoption">
|
|
|
61 |
</form>
|
| 141 |
lars |
62 |
{else}
|
| 3 |
lars |
63 |
<form action="control.php" method="post">
|
| 4 |
lars |
64 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
| 17 |
lars |
65 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
| 4 |
lars |
66 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
67 |
<input type="hidden" name="mode" value="ask">
|
| 148 |
lars |
68 |
<input type="hidden" name="action" value="restart">
|
|
|
69 |
<input type="submit" value="neu starten" class="liteoption">
|
| 3 |
lars |
70 |
</form>
|
|
|
71 |
<form action="control.php" method="post">
|
| 4 |
lars |
72 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
| 17 |
lars |
73 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
| 4 |
lars |
74 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
75 |
<input type="hidden" name="mode" value="ask">
|
| 148 |
lars |
76 |
<input type="hidden" name="action" value="stop">
|
|
|
77 |
<input type="submit" value="stoppen" class="liteoption">
|
| 3 |
lars |
78 |
</form>
|
|
|
79 |
{/if}
|
| 149 |
lars |
80 |
{else}
|
|
|
81 |
{if $v_servers[v_ind].started}
|
|
|
82 |
<form action="control.php" method="post">
|
|
|
83 |
<input type="hidden" name="v_id" value="{$v_servers[v_ind].v_id}">
|
|
|
84 |
<input type="hidden" name="hn_id" value="{$v_servers[v_ind].hn_id}">
|
|
|
85 |
<input type="hidden" name="code" value="{$v_servers[v_ind].code}">
|
|
|
86 |
<input type="hidden" name="mode" value="ask">
|
|
|
87 |
<input type="hidden" name="action" value="restart">
|
|
|
88 |
<input type="submit" value="neu starten" class="liteoption">
|
|
|
89 |
</form>
|
|
|
90 |
{/if}
|
| 3 |
lars |
91 |
{/if}
|
|
|
92 |
</td>
|
|
|
93 |
</tr>
|
|
|
94 |
{/section}
|
|
|
95 |
</table>
|
| 10 |
lars |
96 |
{include file="footer.tpl"}
|