From 68740962e3b430e14b0522b60b7a4c88e3e43be6 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Sat, 6 Aug 2011 03:04:14 +0200 Subject: [PATCH] Again more definition lists and CSS refinements --- wcfsetup/install/files/acp/style/testing.css | 27 +++- .../acp/templates/masterPasswordInit.tpl | 1 - .../install/files/acp/templates/option.tpl | 6 +- .../files/acp/templates/packageView.tpl | 1 + .../files/acp/templates/updateServerAdd.tpl | 2 + .../install/files/acp/templates/userAdd.tpl | 90 +++++------- .../files/acp/templates/userGroupAdd.tpl | 25 ++-- .../acp/templates/usersMassProcessing.tpl | 137 +++++++----------- 8 files changed, 129 insertions(+), 160 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index 029972f0d9..4aef80ab60 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -492,7 +492,7 @@ dl small { color: #999; font-size: 85%; margin: 3px 0 7px; - display: inline-block; + display: block; } dl.disabled dt { @@ -611,22 +611,25 @@ select { width: 100%; } -input.tiny { +.tiny { width: 100px; } -input.small { +.small { width: 10%; } -input.medium { +.medium { width: 50%; } -input.long { +.long { width: 95%; } +.auto { + width: auto; +} /* -- -- -- -- -- Large Buttons -- -- -- -- -- */ @@ -858,7 +861,15 @@ input[type='submit']:active, padding: 6px 7px; } -.menu a { +.menu ul { + text-align: center; +} + +.menu ul li { + display: inline; +} + +.menu ul li a { color: #eee !important; font-size: 85%; text-decoration: none; @@ -875,13 +886,13 @@ input[type='submit']:active, transition: color .1s linear; } -.menu a:hover { +.menu ul li a:hover { color: #fff !important; border: 1px solid rgba(0, 0, 0, .3); background-color: rgba(0, 0, 0, .2); } -.menu a:active, .menu a:focus, .menu a.active { +.menu ul li a:active, .menu ul li a:focus, .menu ul li a.active { border: 1px solid rgba(0, 0, 0, .5); -webkit-box-shadow: inset 0 2px 15px rgba(0, 0, 0, .5); diff --git a/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl b/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl index 8857381758..aa0f798b7e 100644 --- a/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl +++ b/wcfsetup/install/files/acp/templates/masterPasswordInit.tpl @@ -41,7 +41,6 @@ {/if} {lang}wcf.acp.masterPassword.init.description{/lang} - diff --git a/wcfsetup/install/files/acp/templates/option.tpl b/wcfsetup/install/files/acp/templates/option.tpl index 3eb21a3f83..41ca027bba 100644 --- a/wcfsetup/install/files/acp/templates/option.tpl +++ b/wcfsetup/install/files/acp/templates/option.tpl @@ -66,11 +66,11 @@
- - + + {@SID_INPUT_TAG}
-{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/packageView.tpl b/wcfsetup/install/files/acp/templates/packageView.tpl index 8bbb8bf434..bcdaa72fc6 100644 --- a/wcfsetup/install/files/acp/templates/packageView.tpl +++ b/wcfsetup/install/files/acp/templates/packageView.tpl @@ -165,6 +165,7 @@

{lang}wcf.acp.package.view.dependentPackages{/lang}

{lang}wcf.acp.package.view.dependentPackages.description{/lang}

+ diff --git a/wcfsetup/install/files/acp/templates/updateServerAdd.tpl b/wcfsetup/install/files/acp/templates/updateServerAdd.tpl index d6bf27f91c..3e244fdbbe 100644 --- a/wcfsetup/install/files/acp/templates/updateServerAdd.tpl +++ b/wcfsetup/install/files/acp/templates/updateServerAdd.tpl @@ -45,6 +45,7 @@ {lang}wcf.acp.updateServer.serverURL.description{/lang} +
@@ -52,6 +53,7 @@ {lang}wcf.acp.updateServer.loginUsername.description{/lang}
+
diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index c9505003f3..baacbc93dc 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -82,21 +82,19 @@
-
-
- -
-
- + +
+
+ {if $errorType.username|isset} -

+ {if $errorType.username == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} {if $errorType.username == 'notValid'}{lang}wcf.user.error.username.notValid{/lang}{/if} {if $errorType.username == 'notUnique'}{lang}wcf.user.error.username.notUnique{/lang}{/if} -

+ {/if} - - +
+
{if $availableGroups|count}
@@ -118,68 +116,60 @@ {if $action == 'add' || $__wcf->session->getPermission('admin.user.canEditMailAddress')}
{lang}wcf.user.email{/lang} -
-
- -
-
- + +
+
+ {if $errorType.email|isset} -

+ {if $errorType.email == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} {if $errorType.email == 'notValid'}{lang}wcf.user.error.email.notValid{/lang}{/if} {if $errorType.email == 'notUnique'}{lang}wcf.user.error.email.notUnique{/lang}{/if} -

+ {/if} -
-
+ + -
-
- -
-
- + +
+
+ {if $errorType.confirmEmail|isset} -

+ {if $errorType.confirmEmail == 'notEqual'}{lang}wcf.user.error.confirmEmail.notEqual{/lang}{/if} -

+ {/if} -
-
+ +
{/if} {if $action == 'add' || $__wcf->session->getPermission('admin.user.canEditPassword')}
{lang}wcf.user.password{/lang} -
-
- -
-
- + +
+
+ {if $errorType.password|isset} -

+ {if $errorType.password == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+ {/if} -
-
+ + -
-
- -
-
- + +
+
+ {if $errorType.confirmPassword|isset} -

+ {if $errorType.confirmPassword == 'notEqual'}{lang}wcf.user.error.confirmPassword.notEqual{/lang}{/if} -

+ {/if} -
-
+ +
{/if} diff --git a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl index d8423d8338..2c0a1f6149 100644 --- a/wcfsetup/install/files/acp/templates/userGroupAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupAdd.tpl @@ -42,25 +42,18 @@
{lang}wcf.acp.group.data{/lang} -
-
- -
-
- +
+
+
+ {if $errorType.groupName|isset} -

+ {if $errorType.groupName == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+ {/if} -
- -
- + {lang}wcf.acp.group.groupName.description{/lang} + + {if $additionalFields|isset}{@$additionalFields}{/if}
diff --git a/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl b/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl index 93e498367a..835f657d17 100644 --- a/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl +++ b/wcfsetup/install/files/acp/templates/usersMassProcessing.tpl @@ -90,30 +90,26 @@
{lang}wcf.acp.user.search.conditions.general{/lang} -
-
- -
-
- +
+
+
+ -
-
+ + {if $__wcf->session->getPermission('admin.user.canEditMailAddress')} -
-
- -
-
- -
-
+
+
+
+ +
+
{/if} {if $availableGroups|count} @@ -218,65 +214,46 @@ {lang}wcf.acp.user.sendMail.mail{/lang}
-
-
+
+
-
-
- + +
+ {if $errorField == 'subject'} -

+ {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+ {/if} -
- -
- + {lang}wcf.acp.user.sendMail.subject.description{/lang} + + -
-
- -
-
- +
+
+
+ {if $errorField == 'from'} -

+ {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+ {/if} -
- -
- - -
-
- -
-
+ {lang}wcf.acp.user.sendMail.from.description{/lang} + + + +
+
+
{if $errorField == 'text'} -

+ {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+ {/if} -
- -
- + {lang}wcf.acp.user.sendMail.text.description{/lang} + +
@@ -310,23 +287,19 @@
-
-
- -
-
+
+
+
-
-
+ + -
-
- -
-
- -
-
+
+
+
+ +
+
@@ -339,9 +312,9 @@
{htmlCheckboxes options=$availableGroups name=assignToGroupIDArray selected=$assignToGroupIDArray} {if $errorField == 'assignToGroupIDArray'} -

+ {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} -

+ {/if}
@@ -353,8 +326,8 @@
- - + + {@SID_INPUT_TAG}
-- 2.20.1