display: table-row;
}
-nav.mainMenu li {
+nav.mainMenu ul li {
font-size: 123%;
font-weight: normal;
color: #69c;
transition: all .2s linear;
}
-nav.mainMenu li:hover {
+nav.mainMenu ul li:hover {
color: #fff;
}
-nav.mainMenu li.activeMenuItem {
+nav.mainMenu ul li.activeMenuItem {
font-weight: bold;
color: #369;
text-shadow: 0 1px 0 #fff;
/* Main Heading */
.mainHeading {
- margin: 15px 0;
+ margin: 0 0 15px;
position: relative;
}
fieldset {
border: 1px solid #ccc;
border-radius: 7px;
- margin: 7px 0 7px;
+ background-color: rgba(230, 230, 230, .1);
+ margin: 15px 0;
padding: 15px;
}
padding: 0 7px 0;
}
+fieldset legend ~ p {
+ margin-bottom: 14px;
+}
+
fieldset p.description {
color: #369;
font-size: 90%;
-/* -- -- -- -- -- Forms -- -- -- -- -- */
-
-/* Globals */
+/* -- -- -- -- -- Tabbed Content -- -- -- -- -- */
-label {
- color: #69c;
+dl {
+ clear: both;
+ margin-bottom: 7px;
}
-/* Structure (deprecated?) */
+dl small {
+ color: #999;
+ font-size: 85%;
+ margin: 3px 0 7px;
+ display: inline-block;
+}
-div.formElement {
- clear: both;
- margin-bottom: 14px;
+dl.disabled dt {
+ color: #777;
}
-div.formFieldLabel {
+dl dt {
float: left;
- padding-top: 5px;
text-align: right;
width: 230px;
+ margin-top: 5px; /* not so nice */
}
-div.formField {
+dl dd {
margin-left: 250px;
}
-div.formFieldDesc {
- margin: 3px 0 7px 250px;
+
+
+/* -- -- -- -- -- Forms -- -- -- -- -- */
+
+/* Globals */
+
+label {
+ color: #69c;
}
-div.formFieldDesc p {
- color: #999 !important;
- font-size: 85%;
+/* Structure (deprecated?) */
+
+div.formElement {
+ clear: both;
+ margin-bottom: 14px;
}
div.formGroupLabel label {
width: 100%;
}
+input.tiny {
+ width: 100px;
+}
+
+input.small {
+ width: 10%;
+}
+
+input.medium {
+ width: 50%;
+}
+
+input.long {
+ width: 95%;
+}
+
/* -- -- -- -- -- Large Buttons -- -- -- -- -- */
}
-/* -- -- -- -- -- ToDo: Fieldset -- -- -- -- -- */
-
-fieldset {
- background-color: rgba(230, 230, 230, .1);
-}
-
-fieldset legend ~ p {
- margin-bottom: 14px;
-}
-
-
-
-/* -- -- -- -- -- Tabbed Content -- -- -- -- -- */
-
-dl {
- clear: both;
- margin-bottom: 7px;
-}
-
-dl small {
- color: #999;
- font-size: 85%;
- margin: 3px 0 7px 250px;
- display: inline-block;
-}
-
-dl.disabled dt {
- color: #777;
-}
-
-dl dt {
- float: left;
- text-align: right;
- width: 230px;
- margin-top: 5px; /* not so nice */
-}
-
-dl dd {
- margin-left: 250px;
-}
-
{/if}
<dl class="{$option->optionName}Input">
<dt><label for="{$option->optionName}">{lang}{@$langPrefix}{$option->optionName}{/lang}</label></dt>
- <dd>{@$optionData[html]}</dd>
- {if $error}
- <p class="innerError">
- {if $error == 'empty'}
- {lang}wcf.global.error.empty{/lang}
- {else}
- {lang}wcf.user.option.error.{$error}{/lang}
- {/if}
- </p>
- {/if}
- <small>{lang}{@$langPrefix}{$option->optionName}.description{/lang}</small>
+ <dd>{@$optionData[html]}
+ {if $error}
+ <small class="innerError">
+ {if $error == 'empty'}
+ {lang}wcf.global.error.empty{/lang}
+ {else}
+ {lang}wcf.user.option.error.{$error}{/lang}
+ {/if}
+ </small>
+ {/if}
+ <small>{lang}{@$langPrefix}{$option->optionName}.description{/lang}</small>
+ </dd>
</dl>
{/foreach}
\ No newline at end of file
<ul><li><a href="index.php?page=UpdateServerList{@SID_ARG_2ND}" title="{lang}wcf.acp.menu.link.package.server.view{/lang}"><img src="{@RELATIVE_WCF_DIR}icon/updateServerM.png" alt="" /> <span>{lang}wcf.acp.menu.link.package.server.view{/lang}</span></a></li></ul>
</nav>
</div>
+
<form method="post" action="index.php?form=UpdateServer{@$action|ucfirst}{if $packageUpdateServerID|isset}&packageUpdateServerID={@$packageUpdateServerID}{/if}">
<div class="border content">
<div class="container-1">
<fieldset>
<legend>{lang}wcf.acp.updateServer.data{/lang}</legend>
- <div id="serverURLDiv" class="formElement{if $errorField == 'serverURL'} formError{/if}">
- <div class="formFieldLabel">
- <label for="serverURL">{lang}wcf.acp.updateServer.serverURL{/lang}</label>
- </div>
- <div class="formField">
- <input type="text" id="serverURL" name="serverURL" value="{$serverURL}" class="inputText" />
+ <dl id="serverURLDiv"{if $errorField == 'serverURL'} class="formError"{/if}>
+ <dt><label for="serverURL">{lang}wcf.acp.updateServer.serverURL{/lang}</label></dt>
+ <dd>
+ <input type="text" id="serverURL" name="serverURL" value="{$serverURL}" class="long" />
{if $errorField == 'serverURL'}
- <p class="innerError">
+ <small class="innerError">
{if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if}
{if $errorType == 'notValid'}{lang}wcf.acp.updateServer.serverURL.error.notValid{/lang}{/if}
- </p>
+ </small>
{/if}
- </div>
- <div id="serverURLHelpMessage" class="formFieldDesc hidden">
- <p>{lang}wcf.acp.updateServer.serverURL.description{/lang}</p>
- </div>
- </div>
- <script type="text/javascript">//<![CDATA[
- inlineHelp.register('serverURL');
- //]]></script>
-
- <div id="loginUsernameDiv" class="formElement">
- <div class="formFieldLabel">
- <label for="loginUsername">{lang}wcf.acp.updateServer.loginUsername{/lang}</label>
- </div>
- <div class="formField">
- <input type="text" id="loginUsername" name="loginUsername" value="{$loginUsername}" class="inputText" />
- </div>
- <div id="loginUsernameHelpMessage" class="formFieldDesc hidden">
- <p>{lang}wcf.acp.updateServer.loginUsername.description{/lang}</p>
- </div>
- </div>
- <script type="text/javascript">//<![CDATA[
- inlineHelp.register('loginUsername');
- //]]></script>
-
- <div id="loginPasswordDiv" class="formElement">
- <div class="formFieldLabel">
- <label for="loginPassword">{lang}wcf.acp.updateServer.loginPassword{/lang}</label>
- </div>
- <div class="formField">
- <input type="password" id="loginPassword" name="loginPassword" value="{$loginPassword}" class="inputText" />
- </div>
- <div id="loginPasswordHelpMessage" class="formFieldDesc hidden">
- <p>{lang}wcf.acp.updateServer.loginPassword.description{/lang}</p>
- </div>
- </div>
- <script type="text/javascript">//<![CDATA[
- inlineHelp.register('loginPassword');
- //]]></script>
+ <small id="serverURLHelpMessage">{lang}wcf.acp.updateServer.serverURL.description{/lang}</small>
+ </dd>
+ </dl>
+ <dl id="loginUsernameDiv">
+ <dt><label for="loginUsername">{lang}wcf.acp.updateServer.loginUsername{/lang}</label></dt>
+ <dd>
+ <input type="text" id="loginUsername" name="loginUsername" value="{$loginUsername}" class="long" />
+ <small id="loginUsernameHelpMessage">{lang}wcf.acp.updateServer.loginUsername.description{/lang}</small>
+ </dd>
+ </dl>
+ <dl id="loginPasswordDiv">
+ <dt><label for="loginPassword">{lang}wcf.acp.updateServer.loginPassword{/lang}</label></dt>
+ <dd>
+ <input type="password" id="loginPassword" name="loginPassword" value="{$loginPassword}" class="long" />
+ <small id="loginPasswordHelpMessage" class="formFieldDesc hidden"><p>{lang}wcf.acp.updateServer.loginPassword.description{/lang}</p></small>
+ </dd>
+ </dl>
{if $additionalFields|isset}{@$additionalFields}{/if}
</fieldset>