Code

replaced plugbottom by pluin-actions
[gosa.git] / gosa-plugins / opsi / admin / opsi / generic.tpl
index 3e87801576bc827256d51b50915b2d8bfc305c83..8f8f42fb28105fbeeaffc4bb973dffb2442067e6 100644 (file)
@@ -1,5 +1,5 @@
 
-<h2><img src='plugins/opsi/images/client_generic.png' alt=' ' class='center'>&nbsp;{t}OPSI host{/t}</h2>
+<h3>{t}OPSI host{/t}</h3>
 
 {if $init_failed}
 
    <table>
     {if $standalone}
     <tr>
-     <td>{t}Name{/t}</td>
+     <td>{t}Name{/t}{$must}</td>
      <td>
 {render acl=$hostIdACL}
                <input style='width:300px;' type='text' name='hostId' value='{$hostId}'>
 {/render}
         </td>
     </tr>
+<!--
     <tr>
      <td>{t}MAC address{/t}{$must}</td>
      <td>
 {render acl=$macACL}
-               <input type='text' name="mac" value="{$mac}">
+               <input type='text' name="dummy" value="{$mac}" disabled>
 {/render}
         </td>
        </tr>
+-->
        {else}
     <tr>
      <td>{t}Name{/t}</td>
@@ -39,6 +41,7 @@
 {/render}
         </td>
     </tr>
+<!--
     <tr>
      <td>{t}MAC address{/t}{$must}</td>
      <td>
 {/render}
         </td>
     </tr>
+-->
     {/if}
     <tr>
      <td>{t}Netboot product{/t}</td>
      <td>
-{render acl=$netbootProductACL }
+{render acl=$netbootProductACL}
       <select name="opsi_netboot_product" onChange="document.mainform.submit();">
                {foreach from=$ANP item=item key=key}
                        <option {if $key == $SNP} selected {/if} value="{$key}">{$key}</option>
  </tr>
  <tr>
   <td colspan="2">
-   <p class='seperator'>&nbsp;</p>
+   <hr>
   </td>
  </tr>
  <tr>
-  <td style="width:50%;"><h2><img class='center' src='plugins/opsi/images/product.png' 
-               alt=' '>&nbsp;{t}Installed products{/t}</h2>
+  <td style="width:50%;"><h3><img class='center' src='plugins/opsi/images/product.png' 
+               alt=' '>&nbsp;{t}Installed products{/t}</h3>
 {render acl=$localProductACL}
        {$divSLP}
 {/render}
   </td>
-  <td style="width:50%;"><h2>{t}Available products{/t}</h2>
+  <td style="width:50%;"><h3>{t}Available products{/t}</h3>
 {render acl=$localProductACL}
        {$divALP}
 {/render}
  </tr>
  <tr>
   <td colspan="2">
-   <p class='seperator'>&nbsp;</p><br>
+   <hr><br>
    {if $standalone}
-    <h2><img src='images/rocket.png' alt="" class="center">&nbsp;{t}Action{/t}</h2>
+    <h3>{t}Action{/t}</h3>
        <select name='opsi_action'>
                <option>&nbsp;</option>
                {if $is_installed}
                {else}
                <option value="install">{t}Install{/t}</option>
                {/if}
+               <option value="wake">{t}Wake{/t}</option>
        </select>
 {render acl=$triggerActionACL}
        <input type='submit' name='opsi_trigger_action' value="{t}Execute{/t}">
   </td>
  </tr>
 </table> 
+<hr>
+
+{$netconfig}
+
 <input type='hidden' name='opsiGeneric_posted' value='1'>
 {/if}