Code

Updated FAI templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:30:29 +0000 (16:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:30:29 +0000 (16:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16832 594d385d-05f5-0310-b6e9-bd551577e9d8

20 files changed:
gosa-plugins/fai/admin/fai/askClassName.tpl
gosa-plugins/fai/admin/fai/branch_selector.tpl
gosa-plugins/fai/admin/fai/faiDiskEntry.tpl
gosa-plugins/fai/admin/fai/faiGroupHandle.tpl
gosa-plugins/fai/admin/fai/faiHookEntry.tpl
gosa-plugins/fai/admin/fai/faiPackage.tpl
gosa-plugins/fai/admin/fai/faiPackageConfiguration.tpl
gosa-plugins/fai/admin/fai/faiPartition.tpl
gosa-plugins/fai/admin/fai/faiPartitionTable.tpl
gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl
gosa-plugins/fai/admin/fai/faiProfile.tpl
gosa-plugins/fai/admin/fai/faiProfileEntry.tpl
gosa-plugins/fai/admin/fai/faiScript.tpl
gosa-plugins/fai/admin/fai/faiScriptEntry.tpl
gosa-plugins/fai/admin/fai/faiSummary.tpl
gosa-plugins/fai/admin/fai/faiTemplate.tpl
gosa-plugins/fai/admin/fai/faiTemplateEntry.tpl
gosa-plugins/fai/admin/fai/faiVariable.tpl
gosa-plugins/fai/admin/fai/faiVariableEntry.tpl
gosa-plugins/fai/admin/fai/remove_branch.tpl

index 80e9b6e1ae80e0d3486463488c68474cc6d13adc..87ee33bb4677b6fa6ba205323f913c209e999485 100644 (file)
@@ -36,7 +36,8 @@
    <br>
    <br>
   </td>
-  <td style='border-left:1px solid #909090'>
+  <td class='left-border'>
+
   </td>
   <td>
    <table summary="" {$grey}>
@@ -51,7 +52,7 @@
     <tr>
      <td>&nbsp;</td>
      <td>
-      {t}Class name{/t}&nbsp;<select name="SelectedClass" title="{t}Choose class name{/t}" style="width:120px;" {$ClassNamesAvailable}>
+      {t}Class name{/t}&nbsp;<select name="SelectedClass" title="{t}Choose class name{/t}" style="width:120px;" {$ClassNamesAvailable} size=1>
        {html_options options=$ClassNames}
       </select>
      </td>
index 268a995cb2f65d375883aa9b92a39cb018abcc0f..56cfe1b67c7092109908a047de3ae2dc1b796f5a 100644 (file)
@@ -1,12 +1,14 @@
  <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
-    <p class="contentboxh"><img src="{$branchimage}" align="right" alt="[F]">{t}Releases{/t}</p>
+    <p class="contentboxh">{image path="{$branchimage}" align="right"}{t}Releases{/t}
+</p>
    </div>
    <div class="contentboxb">
-        <table summary="" style="width:100%;border-bottom:1px solid #B0B0B0;">
+        <table style='width:100%;' summary="">
+
      <tr>
       <td>
     {t}Current release{/t}&nbsp;
-    <select name="fai_release" onChange="document.mainform.submit();">
+    <select name="fai_release" onChange="document.mainform.submit();" size=1>
         {html_options output=$fai_releases values=$fai_releases selected=$fai_release}
     </select>
       </td>
      <tr>
       <td>
     {if $allow_create}
-        <input class="center" type="image" name="branch_branch" src="plugins/fai/images/branch_small.png">
+        {image path="plugins/fai/images/branch_small.png" action="branch_branch"}
+
         <a href="?plug={$plug_id}&act=branch_branch">{t}Create release{/t}</a>
         <br>
-        <input class="center" type="image" name="freeze_branch" src="plugins/fai/images/freeze.png">
+        {image path="plugins/fai/images/freeze.png" action="freeze_branch"}
+
                <a href="?plug={$plug_id}&act=freeze_branch">{t}Create read-only release{/t}</a>
     {else}
-        <img src="plugins/fai/images/branch_small_grey.png" alt='{t}Release{/t}' class='center'>
+        {image path="plugins/fai/images/branch_small_grey.png"}
+
         {t}Create release{/t}
         <br>
-        <img src="plugins/fai/images/freeze_grey.png" alt='{t}Freeze{/t}' class='center'>
+        {image path="plugins/fai/images/freeze_grey.png"}
+
                {t}Create read-only release{/t}
     {/if}
 
     {if $fai_release != $fai_base && $allow_remove}
     <br>
-        <input class="center" type="image" name="remove_branch" src="images/lists/trash.png">
+        {image path="images/lists/trash.png" action="remove_branch"}
+
            <a href="?plug={$plug_id}&act=remove_branch">{t}Delete current release{/t}</a>
     {/if}
       </td>
index 329422153da12da09210aaed3ea996775a5c9b46..888ad12fcd1b1c3e303c9fed8b4ca9e6d9cd7e17 100644 (file)
@@ -2,7 +2,8 @@
 <h3>{t}Device{/t}</h3>
 <table style='width:100%' summary="">
        <tr>
-               <td style='width:50%;border-right:1px solid #909090;'>
+               <td style='width:50%;' class='right-border'>
+
 
       <table>
         <tr>
@@ -75,7 +76,7 @@
         {html_options options=$plist}
       </select>
       <br>
-      <select name='lvmPartitionAdd' style='width:240px;'>
+      <select name='lvmPartitionAdd' style='width:240px;' size=1>
         {html_options options=$physicalPartitionList}
       </select>
       <button type='submit' name='addLvmPartition'>{msgPool type="addButton"}</button>&nbsp;
index e8a7081c0ff7ccf508db2ed8b871c132a6093950..839aec8333b70b72df3a09c90a59995e86d781f6 100644 (file)
@@ -8,14 +8,15 @@
        <tr>
                <td>
                        {if $item.freezed}
-                               <img src="images/lists/locked.png" class='center'>
+                               {image path="images/lists/locked.png"}
+
                        {else}
                                <input type='checkbox' name='{$mode}_{$key}'
                        {if $item.selected} checked {/if}>
                        {/if}
                </td>
                <td>
-                       <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
+                       {image path="{$types.$key.IMG}" title="{$types.$key.NAME}"}
                                class='center'>
                </td>
                <td style='width:150px;'>{$types.$key.NAME}</td>
@@ -38,7 +39,7 @@
                {if $item.selected} checked {/if}>
                </td>
                <td>
-                       <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
+                       {image path="{$types.$key.IMG}" title="{$types.$key.NAME}"}
                                class='center'>
                </td>
                <td style='width:150px;'>{$types.$key.NAME}</td>
@@ -61,7 +62,7 @@
                        {if $item.selected} checked {/if}>
                </td>
                <td>
-                       <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
+                       {image path="{$types.$key.IMG}" title="{$types.$key.NAME}"}
                                class='center'>
                </td>
                <td style='width:150px;'>{$types.$key.NAME}</td>
index 00e2562fe5e6ca454b42bfb6dcc0ca4d1839d113..b74e0da49bf0a9811e9999cabe3bc487caa7ed31 100644 (file)
                                        </tr>
                                </table>
                </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);">
+               <td class='left-border'>
+
            &nbsp;
         </td>
-               <td style="vertical-align:top">
+               <td>
+
                                <h3>{t}Hook attributes{/t}</h3>
                                <table width="100%" summary="">
                                        <tr>
@@ -38,7 +40,7 @@
                                                        {t}Task{/t}&nbsp;
                                                        </LABEL>
 {render acl=$FAItaskACL}
-                                                       <select id="FAItask" name="FAItask" title="{t}Choose an existing FAI task{/t}">
+                                                       <select id="FAItask" name="FAItask" title="{t}Choose an existing FAI task{/t}" size=1>
                                                                {html_options values=$tasks output=$tasks selected=$FAItask}
                                                        </select>
 {/render}
index 5d58c5895f48091fb7ff2b5d53f3497ed5f594ac..afa91380e7ded12fb9d2c5d347f1b0d1253b742f 100644 (file)
@@ -1,6 +1,7 @@
 <table width="100%" summary="">
        <tr>
-               <td width="50%" valign="top" style="border-right:1px solid #A0A0A0">
+               <td class='right-border'>
+
                                <h3>{t}Generic{/t}</h3>
                                <table summary="" cellspacing="4">
                                        <tr>
@@ -54,7 +55,7 @@
                                                </td>
                                                <td>
 {render acl=$FAIinstallMethodACL}
-                                                       <select name="FAIinstallMethod" title='{t}Please select the installation method{/t}'>
+                                                       <select name="FAIinstallMethod" title='{t}Please select the installation method{/t}' size=1>
                                                          {html_options options=$FAIinstallMethods output=$FAIinstallMethod selected=$FAIinstallMethod}
                                                        </select>
 {/render}
index 4fee0bfeca75ff78709aa01c4ae9e54818addb71..bf2cfb90ba42ab524c813ee0342c6958dc06d363 100644 (file)
@@ -1,4 +1,5 @@
-<h1><img class="center" alt="" src="images/forward.png" align="middle" title="{t}Package{/t}">&nbsp;{$headline}</h1>
+<h1>{image path="images/forward.png" title="{t}Package{/t}"}&nbsp;{$headline}
+</h1>
 {$Config}
 <hr>
 <br>
index c96cd2705ec640ab06a739a49e02ee0b6b516990..f6287a9376ee27585e01c5252c8dbf77f7245b37 100644 (file)
@@ -11,7 +11,7 @@
 {else}
     <td>{t}Type{/t}</td>
     <td width="35%">
-      <select name="FAIpartitionType" onChange='document.mainform.submit();'>
+      <select name="FAIpartitionType" onChange='document.mainform.submit();' size=1>
         {html_options options=$partitionTypes selected=$FAIpartitionType}
       </select>
       {if $cn != ""}&nbsp;({$cn}){/if}
@@ -38,7 +38,7 @@
         </select>
       {else}
         <input type='text' name='dummy3' value='' size='5' disabled>
-        <select name='dummy4' disabled>
+        <select name='dummy4' disabled size=1>
           {html_options options=$sizeTypes}
         </select>
       {/if}
@@ -50,7 +50,7 @@
         </select>
       {else}
         <input type='text' name='dummy1' value='' size='5' disabled>
-        <select name='dummy2' disabled>
+        <select name='dummy2' disabled size=1>
           {html_options options=$sizeTypes}
         </select>
       {/if}
@@ -75,7 +75,7 @@
     <td colspan="4">
       <input id="preserve" type='checkbox' value='1' name='preserve' {if $preserve} checked {/if}>
       &nbsp;<label for="preserve">{t}Preserve{/t}</label>
-      <select name='preserveType'>
+      <select name='preserveType' size=1>
         {html_options options=$preserveTypes selected=$preserveType}
       </select>
     </td>
         {html_options options=$plist}
       </select>
       <br>
-      <select name='physicalPartitionAdd' style='width:240px;'>
+      <select name='physicalPartitionAdd' style='width:240px;' size=1>
         {html_options options=$physicalPartitionList}
       </select>
       <button type='submit' name='addPhysicalPartition'>{msgPool type=addButton}</button>&nbsp; 
       {t}Filesystem{/t}
     </td>
     <td>
-      <select name='FAIfsType' onChange="document.mainform.submit();">
+      <select name='FAIfsType' onChange="document.mainform.submit();" size=1>
         {html_options options=$FAIfsTypes selected=$FAIfsType}
       </select>
     </td>
index 8184ae93efef7d61b42d836c2450f002a682dc91..5231393467075521b2243ee49851062735f86e9b 100644 (file)
@@ -32,7 +32,8 @@
                                 <p>
                                 <input type="checkbox" name="mode" value="1" {$mode} {$lockmode} onClick="changeState('AddRaid'); changeState('AddVolgroup');"> {t}Use 'setup-storage' to partition the disk{/t}                                      </p>
                </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);">
+               <td class='left-border'>
+
                   &nbsp;
                </td>
                <td>
index 37fd5844c6aba1dfcd9ffd1ea8b732df3016e4c0..2a710246b43604f4fdd9e7ba2acc68047b931d97 100644 (file)
@@ -2,7 +2,8 @@
 <h3>{t}Device{/t}</h3>
 <table style='width:100%' summary="">
        <tr>
-               <td style='width:50%;border-right:1px solid #909090;'><LABEL for="DISKcn">
+               <td style='width:50%;' class='right-border'>
+<LABEL for="DISKcn">
                        {t}Name{/t}
                        </LABEL>{$must}&nbsp;
 {render acl=$DISKcnACL}
index ee78927eb8d0278bb8dd56da4778fb0e2ba59ca2..60f3c7c6ae28bc8a772a4048c763fff64da35948 100644 (file)
                                </tr>
                        </table>
                </td>
-               <td valign="top" style="border-left: 1px solid rgb(160, 160, 160);">
-                       <table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 width="100%">
+               <td class='left-border'>
+
+                       <table summary="" width="100%">
+
                                <tr>
-                                       <td style="vertical-align:top;">
+                                       <td>
+
                                                <h3>{t}FAI classes{/t}</h3> 
 <!--                                           <select name="FAIclass" title="{t}Choose a priority{/t}" size="20" style="width:100%;" multiple>
                                                        {html_options values=$FAIclasses output=$FAIclasses}
index 419de00f08249f386c27606dc3b43b467adab77e..416ee46a017657694d03a2c44c39c609d9febd83 100644 (file)
@@ -1,6 +1,8 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table style='width:100%; ' summary="">
+
 <tr>
-  <td style="vertical-align:top;width:600px">
+  <td style='width:600px'>
+
        <div class="contentboxh" style="height:20px">
        <p class="contentboxh" style="font-size:12px">
                {t}List of FAI objects (Fully Automatic Installation){/t}
                <input type=hidden name="edit_helper">
        </div>
   </td>
-  <td style="vertical-align:top;">
+  <td>
+
        <div class="contentboxh" style="height:20px;border-bottom:1px solid #B0B0B0">
        <p class="contentboxh" style="font-size:12px">
-                       <img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}
+                       {image path="{$infoimage}" align="right"}{t}Information{/t}
+
                </p>
        </div>
        <div class="contentboxb">
        </div>
        <br>
        <div class="contentboxh" style="height:20px">
-       <p class="contentboxh" style="font-size:12px"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
+       <p class="contentboxh" style="font-size:12px">{image path="{$launchimage}" align="right"}{t}Filters{/t}
+</p>
        </div>
        <div class="contentboxb">
-       <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+       <table style='width:100%;' summary="">
+
                {$alphabet}
        </table>
-               <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+               <table style='width:100%;' summary="">
+
                        <tr><td><input onClick='document.mainform.submit()' 
                                                                type="checkbox" name="SShowTemplates"   {$SShowTemplatesCHK}>{t}Show only classes with templates{/t}</td></tr>
                        <tr><td><input onClick='document.mainform.submit()'
                        <tr><td><input onClick='document.mainform.submit()'
                                                                type="checkbox" name="SShowPartitions"  {$SShowPartitionsCHK}>{t}Show only classes with partitions{/t}</td></tr>
                 </table>
-        <table summary=""  style="width:100%;border-top:1px solid #B0B0B0;">
+        <table style='width:100%;' summary="">
+
                <tr>
                        <td>
-                                       <img alt="{t}Display objects matching{/t}" src="{$search_image}" 
+                                       {image path="{$search_image}"}
                                                        align=middle title='{t}Display objects matching{/t}'>
                        </td>
                        <td width="99%">
index 6c33a59833893bb47c3dfaed72c905813f51167e..8ac0711b71a203347892016c5c76f82d3018af5d 100644 (file)
@@ -38,7 +38,8 @@
                                <h3>
                                                {t}List of scripts{/t}
                                </h3>
-                               <table width="100%" summary="" style="border:1px solid #B0B0B0; " cellspacing=0 cellpadding=0>
+                               <table summary="" width="100%">
+
                                <tr>
                                        <td>
                                                {$Entry_divlist}
index c586ca6bd3c9be9adb20f1301ed4e498a008785e..ced7f3d0fedf41c9b6c590270877dbf04ce4795e 100644 (file)
@@ -26,7 +26,8 @@
                                        </tr>
                                </table>
                </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);">
+               <td class='left-border'>
+
            &nbsp;
         </td>
                <td valign="top">
@@ -40,7 +41,7 @@
                                                </td>
                                                <td>
 {render acl=$FAIpriorityACL}
-                                                   <select id="FAIpriority" name="FAIpriority" title="{t}Choose a priority. Low values result in an earlier, high values in a later execution.{/t}">
+                                                   <select id="FAIpriority" name="FAIpriority" title="{t}Choose a priority. Low values result in an earlier, high values in a later execution.{/t}" size=1>
                                                {html_options options=$FAIprioritys selected=$FAIpriority}
                                        </select>
 {/render}
index cb6a9cdafe9650df5111f1b1e7784bb78edb1dff..edc548d59f8b4986132391419e28870c4b0a0423 100644 (file)
@@ -1,4 +1,5 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;"  cellpadding=0 cellspacing=0 border=0>
+<table style='width:100%; ' summary="">
+
 
  <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
   <td style="padding:5px;">{t}FAI object tree{/t}</td>
@@ -6,8 +7,10 @@
 
 {if $readable}
  <tr>
-       <td style="padding-left:5px;padding-top:5px;padding-bottom:12px;border-bottom:1px solid #B0B0B0">
-               <input type="image" src="images/lists/reload.png" name="reloadList" class="center">     
+       <td style='padding-left:5px;padding-top:5px;padding-bottom:12px;'>
+
+               {image path="images/lists/reload.png" action="reloadList"}      
+
                {t}Reload class and release configuration from parent object.{/t}
        </td>
  </tr>
index 01ee36ed040f9267034461398220bc686336d914..04e66c3ab62fa2de325c47c62783b38cc9edae21 100644 (file)
@@ -1,6 +1,7 @@
 <table summary="" width="100%">
        <tr>
-               <td valign="top" style="border-right:1px solid #A0A0A0; width:50%">
+               <td style='width:50%' class='right-border'>
+
                                <h3>{t}Generic{/t}</h3>
                                <table summary="" cellspacing="4">
                                        <tr>
index a54b9eac04073e7f10cb341db1bf23001aa5a46a..662aadbb399bb6e93d751783d4588bed5224add0 100644 (file)
@@ -3,7 +3,8 @@
 <h3>{t}Generic{/t}</h3>
 <table width="100%" summary="">
 <tr>
-  <td style="vertical-align:top;width:50%;border-right:1px solid #B0B0B0; padding-right:10px;">
+  <td style='width:50%;padding-right:10px;' class='right-border'>
+
                <table style='width:100%;'>
                  <tr>
                    <td>
       </tr>
                </table>
        </td>
-  <td style='vertical-align:top;'>
+  <td>
+
                <table style='width:100%;'>
       <tr>
-               <td style='vertical-align:top;'>
+               <td>
+
           {t}Description{/t}
         </td>
         <td style='width:100%;'>
@@ -62,7 +65,8 @@
   </td>
 </tr>
 <tr>
-  <td style="vertical-align:top;width:50%;border-right:1px solid #B0B0B0">
+  <td style='width:50%;' class='right-border'>
+
   <table summary="">
     <tr>
       <td>
@@ -87,7 +91,8 @@
     </tr>
     {/if}
     <tr>
-                 <td style="vertical-align:top" class="center">
+                 <td class='center'>
+
 {render acl=$FAItemplateFileACL}
                          <input type="file" name="FAItemplateFile" value="" id="FAItemplateFile">
 {/render}
 {/render}
                </td>
        </tr><tr>
-               <td style="vertical-align:top">
+               <td>
+
                        <LABEL for="group">
                                {t}Group{/t}{$must}&nbsp;
                        </LABEL>
                        <br>
                </td>
        </tr><tr>
-               <td style="vertical-align:top">{t}Access{/t}{$must}&nbsp; </td>
+               <td>{t}Access{/t}{$must}&nbsp; 
+</td>
                <td>
-         <table summary="" style="border:1px solid #B0B0B0">
+         <table summary="">
+
               <colgroup width="55" span="3">
                </colgroup>
                <tr>
index bf62a0ff46eb5149d6f45c08490969f30c588161..366c4ad2f7c117cc7855f1b8b6e4b8f7111fbb3c 100644 (file)
@@ -29,7 +29,8 @@
                                        </tr>
                                </table>
                </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);">
+               <td class='left-border'>
+
                   &nbsp;
                </td>
                <td>
index 90e81391005691bcfda039feb1f68d893694cb59..36291f3d7a1afe17ad240403198b8e3171eda1e5 100644 (file)
@@ -26,7 +26,8 @@
                                        </tr>
                                </table>
                </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);">
+               <td class='left-border'>
+
            &nbsp;
         </td>
                <td valign="top">
index 6351762a8d87fe12474d44c995d1229173119d48..67628ee54b9d85ae0ed976204a4676978ac07f8d 100644 (file)
@@ -1,5 +1,6 @@
 <div style="font-size:18px;">
- <img alt="" src="images/warning.png" align=top>&nbsp;{t}Warning{/t}
+ {image path="images/warning.png" align="top"}&nbsp;{t}Warning{/t}
+
 </div>
 <p>
   {$info}