Code

Fixed layout
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 09:39:55 +0000 (09:39 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 09:39:55 +0000 (09:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@654 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/generic_certs.tpl

index bd53f288593912ed7a640519ce92050ec2105a6f..0b905ff5c9fd7d2647bfafc7bda4dd4533553544 100644 (file)
@@ -1,81 +1,64 @@
 <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
-<table style="vertical-align:top; text-align:left;" cellpadding=4 border=0 width="100%">
  <!-- Headline container -->
- <tr>
-   <td colspan=2>
-     <h2><img alt="" align="middle" src="images/certs.png"> {t}Certificates{/t}</h2>
-   </td>
+<h2><img alt="" align="middle" src="images/certs.png"> {t}Certificates{/t}</h2>
 
- </tr>
+<table style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
  <tr>
-   <td width="250">
+   <td width="12%" style="vertical-align:top">
       {t}Standard certificate{/t}
    </td>
-   <td>
+   <td style="vertical-align:top">
+        {$userCertificateinfo}
+        </td>
+        <td style="vertical-align:top;text-align:right">
+        {if $userCertificate_state ne "true"}
      <input name="userCertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
-     &nbsp;
+     {else}
      <input type=submit name="remove_userCertificate" value="{t}Remove{/t}">
+        {/if}
    </td>
  </tr>
- <tr>
-       <td>
-               {t}Status{/t}
-       </td>
-       <td>
-               {$userCertificateinfo}
-       </td>
- </tr>
  </table>
 
-
-
-
-
+<br>
 
  <table style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
  <tr>
-   <td width="250">
+   <td width="12%" style="vertical-align:top">
       {t}S/MIME certificate{/t} 
    </td>
-   <td >
+   <td style="vertical-align:top">
+     {$userSMIMECertificateinfo}
+   </td>
+   <td style="vertical-align:top;text-align:right">
+        {if $userSMIMECertificate_state ne "true"}
      <input name="userSMIMECertificate_file" type="file" size="20" maxlength="255" accept="text/*.*">
-     &nbsp;
+     {else}
      <input type=submit name="remove_userSMIMECertificate" value="{t}Remove{/t}">
+        {/if}
    </td>
  </tr>
- <tr>
-    <td>
-        {t}Status{/t}
-    </td>
-    <td>
-        {$userSMIMECertificateinfo}
-    </td>
- </tr>
  </table>
 
-
+<br>
 
 <table style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0> 
  <tr>
-   <td width="250">
+   <td width="12%" style="vertical-align:top">
       {t}PKCS12 certificate{/t} 
    </td>
-   <td>
+   <td style="vertical-align:top">
+     {$userPKCS12info}
+   </td>
+   <td style="vertical-align:top;text-align:right">
+        {if $userPKCS12_state ne "true"}
      <input name="userPKCS12_file" type="file" size="20" maxlength="255" accept="text/*.*">
-     &nbsp;
+        {else}
      <input type=submit name="remove_userPKCS12" value="{t}Remove{/t}">
+        {/if}
    </td>
  </tr>
- <tr>
-    <td>
-        {t}Status{/t}
-    </td>
-    <td>
-        {$userSMIMECertificateinfo}
-    </td>
- </tr>
  
-
  {if $governmentmode eq "true"}
  <tr>
    <td>
@@ -89,7 +72,6 @@
  {/if}
 </table>
 
-<br>
 <p class="plugbottom">
   <input type=submit name="cert_edit_finish" value="{t}Finish{/t}">
   &nbsp;