More definition lists
authorLuzifr <szekely@woltlab.com>
Thu, 4 Aug 2011 00:26:00 +0000 (02:26 +0200)
committerLuzifr <szekely@woltlab.com>
Thu, 4 Aug 2011 00:26:00 +0000 (02:26 +0200)
wcfsetup/install/files/acp/style/testing.css
wcfsetup/install/files/acp/templates/optionImport.tpl

index 6ecc6a297beb7ff55a8e92f25e7c3b4631000043..e20051fd9feedbd4c58b36c1f83833d0839d47f4 100644 (file)
@@ -740,7 +740,7 @@ input[type='submit'],
 input[type='submit']:hover,
 .largeButtons ul li.default a:hover {
        border: 1px solid #69c;
-       color: #036;
+       color: #369;
 }
 
 /* default buttons active */
@@ -748,7 +748,7 @@ input[type='submit']:focus,
 .largeButtons ul li.default a:focus,
 input[type='submit']:active,
 .largeButtons ul li.default a:active{
-       color: #369;
+       color: #036;
        text-decoration: none;
        
        background-color: #69c;
@@ -1041,7 +1041,6 @@ tbody tr .columnIcon img {
 
 
 
-
 /* -- -- -- -- -- ToDo: Page Navigation -- -- -- -- -- */
 
 .pageNavigation ul li {
@@ -1127,16 +1126,6 @@ dl {
        margin-bottom: 7px;
 }
 
-dt {
-       float: left;
-       text-align: right;
-       width: 230px;
-}
-
-dd {
-       margin-left: 250px;
-}
-
 dl small {
        color: #999;
        font-size: 85%;
@@ -1148,6 +1137,16 @@ dl.disabled dt {
        color: #777;
 }
 
+dl dt {
+       float: left;
+       text-align: right;
+       width: 230px;
+}
+
+dl dd {
+       margin-left: 250px;
+}
+
 
 
 
index f82f1cf0da20eee2684099c0b594633fb1e80b16..6e3c767716039ab5fc4c7e25e35e71f8e7552364 100644 (file)
                        <fieldset>
                                <legend>{lang}wcf.acp.option.import{/lang}</legend>
                        
-                               <div id="optionImportDiv" class="formElement{if $errorField == 'optionImport'} formError{/if}">
-                                       <div class="formFieldLabel">
-                                               <label for="optionImport">{lang}wcf.acp.option.import.upload{/lang}</label>
-                                       </div>
-                                       <div class="formField">
-                                               <input type="file" id="optionImport" name="optionImport" value="" />
-                                               {if $errorField == 'optionImport'}
-                                                       <p class="innerError">
-                                                               {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
-                                                               {if $errorType == 'importFailed'}{lang}wcf.acp.option.import.error.importFailed{/lang}{/if}
-                                                               {if $errorType == 'uploadFailed'}{lang}wcf.acp.option.import.error.uploadFailed{/lang}{/if}
-                                                       </p>
-                                               {/if}
-                                       </div>
-                                       <div id="optionImportHelpMessage" class="formFieldDesc hidden">
-                                               <p>{lang}wcf.acp.option.import.upload.description{/lang}</p>
-                                       </div>
-                               </div>
+                               <dl id="optionImportDiv"{if $errorField == 'optionImport'}  class="formError"{/if}>
+                                       <dt><label for="optionImport">{lang}wcf.acp.option.import.upload{/lang}</label></dt>
+                                       <dd><input type="file" id="optionImport" name="optionImport" value="" /></dd>
+                                       {if $errorField == 'optionImport'}
+                                               <small class="innerError">
+                                                       {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
+                                                       {if $errorType == 'importFailed'}{lang}wcf.acp.option.import.error.importFailed{/lang}{/if}
+                                                       {if $errorType == 'uploadFailed'}{lang}wcf.acp.option.import.error.uploadFailed{/lang}{/if}
+                                               </small>
+                                       {/if}
+                                       <small id="optionImportHelpMessage">{lang}wcf.acp.option.import.upload.description{/lang}</small>
+                               </dl>
                                <script type="text/javascript">//<![CDATA[
                                        inlineHelp.register('optionImport');
                                //]]></script>
                <fieldset>
                        <legend>{lang}wcf.acp.option.export{/lang}</legend>
                
-                       <div id="optionExportDiv" class="formElement">
-                               <div class="formField">
-                                       <a href="index.php?action=OptionExport{@SID_ARG_2ND}" id="optionExport">{lang}wcf.acp.option.export.download{/lang}</a>
-                               </div>
-                               <div id="optionExportHelpMessage" class="formFieldDesc hidden">
-                                       <p>{lang}wcf.acp.option.export.download.description{/lang}</p>
-                               </div>
-                       </div>
+                       <dl id="optionExportDiv">
+                               <dt><label><!-- ToDo: Download label --></label></dt>
+                               <dd><p><a href="index.php?action=OptionExport{@SID_ARG_2ND}" id="optionExport" class="largeButton">{lang}wcf.acp.option.export.download{/lang}</a></p></dd>
+                               <small>{lang}wcf.acp.option.export.download.description{/lang}</small>
+                       </dl>
                        <script type="text/javascript">//<![CDATA[
                                inlineHelp.register('optionExport');
                        //]]></script>