Code

Updated workstation startup
[gosa.git] / gosa-plugins / goto / admin / systems / goto / workstationStartup.tpl
index 6bb8bbc29258fb6d63c94cab81e588cbf06a54bd..ed9037f2b92eec4934ab75c86873b9e20a07d11f 100644 (file)
@@ -4,16 +4,18 @@
 <h2><img class="center" alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
 
    <table summary="" style="width:100%">
+       {if $fai_activated && $si_active && !$si_fai_action_failed}
     <tr>
      <td><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
      <td style="width:70%">
 {render acl=$gotoBootKernelACL}
         <select id="gotoBootKernel" name="gotoBootKernel">
          {html_options options=$gotoBootKernels selected=$gotoBootKernel}
-       </select>
+               </select>
 {/render}
       </td>
     </tr>
+       {/if}
     <tr>
      <td><LABEL for="customParameters">{t}Custom options{/t}</LABEL></td>
      <td>
@@ -31,7 +33,7 @@
        onClick="document.mainform.submit();" class='center'>
 &nbsp;{t}inherit from group{/t})
 {if !$JS}
-       <input type='image' src="images/list_reload.png" alt='{t}Reload{/t}' class='center'>
+       <input type='image' src="images/lists/reload.png" alt='{t}Reload{/t}' class='center'>
 {/if}
 {/if}
 {/render}
@@ -58,7 +60,9 @@
   
   <td style="vertical-align:top;">
 
-       {if !$si_active}
+       {if !$fai_activated}
+                       <h2>{t}FAI Object assignment disabled. You can't use this feature until FAI is activated.{/t}</h2>                      
+       {elseif !$si_active}
                <b>{t}GOsa support daemon not configured{/t}</b><br>
                {t}FAI settings cannot be modified{/t}
        {elseif $si_fai_action_failed}
                        <table>
                                <tr>
                                        <td>
-                                               <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
+                                               <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}FAI server{/t}
                                                </h2>
                                        </td>
                                        <td>
-                                               <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
+                                               <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Release{/t}
                                                </h2>
                                        </td>
                                </tr>
                                </tr>
                        </table>
                        <h2>
-                               <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
+                               <img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Assigned FAI classes{/t}
                        </h2>
        {render acl=$FAIclassACL}
                        {$FAIScriptlist}        
                        <table>
                                <tr>
                                        <td>
-                                               <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}FAI server{/t}
+                                               <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}FAI server{/t}
                                                </h2>
                                        </td>
                                        <td>
-                                               <h2><img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Release{/t}
+                                               <h2><img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Release{/t}
                                                </h2>
                                        </td>
                                </tr>
                                </tr>
                        </table>
                        <h2>
-                               <img class="center" alt="" align="middle" src="images/fai_profile.png">&nbsp;{t}Assigned FAI classes{/t}
+                               <img class="center" alt="" align="middle" src="plugins/goto/images/fai_settings.png">&nbsp;{t}Assigned FAI classes{/t}
                        </h2>
        {render acl=$FAIclassACL}
                        {$FAIScriptlist}        
                        <input name="AddClass" value="{msgPool type=addButton}" type="submit"> 
        {/render}
        <!--            <input name="DelClass" value="{msgPool type=delButton}" type="submit"> -->
-               {/if}
-
-               {else}
-
-                       <h2>{t}FAI Object assignment disabled. You can't use this feature until FAI is activated.{/t}</h2>                      
+                       {/if}
 
                {/if}
                </td>
  <tr>
   <td style="width:50%; vertical-align:top; border-right:1px solid #B0B0B0">
    <h2>
-    <img class="center" alt="" align="middle" src="images/hardware.png"> {t}Kernel modules (format: name parameters){/t}
+    <img class="center" alt="" align="middle" src="plugins/goto/images/hardware.png"> {t}Kernel modules (format: name parameters){/t}
    </h2>
 {render acl=$gotoModulesACL}
     <select style="width:100%; height:150px;" name="modules_list[]" size=15 multiple title="{t}Add additional modules to load on startup{/t}">
   </td>
 
   <td style="vertical-align:top;">
-        <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Shares{/t}</LABEL></h2>
+        <h2><img class="center" alt="" src="plugins/goto/images/edit_share.png" align="middle">&nbsp;<LABEL for="gotoShare">{t}Shares{/t}</LABEL></h2>
         <table summary="" style="width:100%">
                 <tr>
                         <td>