Code

Reenabled opsiHost template
[gosa.git] / gosa-plugins / opsi / admin / opsi / opsiware.tpl
1 {if $init_failed}
2         <h3>{t}Information{/t}</h3>
3         <font style='color: #FF0000;'>{msgPool type=siError p=$message}</font>
4         <button type='submit' name='reinit'>{t}Retry{/t}</button>
6 {else}
7         {if $type == 0}
8                 <h3>{t}Hardware information{/t}</h3>
9         {else}
10                 <h3>{t}Software information{/t}</h3>
11         {/if}
13         {foreach from=$info item=item key=key}
14         <div style='background-color: #E8E8E8; width: 100%; border: 2px dotted #CCCCCC;'>
15         <h3>{t}Device{/t} {$key+1}</h3>
16                 {foreach from=$item key=name item=value}
17                         <div style="text-transform:lowercase;width:30%; float: left; ">{$name}:&nbsp;</div> 
18                         <div style="width:70%; float: right;background-color: #DADADA;">{$value.0.VALUE}&nbsp;</div>
19                         <div style='clear: both;'></div>
20                 {/foreach}
21         </div>
22         <br>
23         {/foreach}
24 {/if}