From ad1563263a6f2a689fb08f3d810193eb57ebf482 Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 25 Jul 2011 19:28:51 +0200 Subject: [PATCH] More adjustments to match the design-sketch. --- wcfsetup/install/files/acp/style/testing.css | 73 ++++++++++++++----- .../files/acp/templates/acpSessionLog.tpl | 10 +-- .../files/acp/templates/acpSessionLogList.tpl | 10 +-- .../install/files/acp/templates/cacheList.tpl | 14 ++-- .../files/acp/templates/cronjobAdd.tpl | 20 ++--- .../files/acp/templates/cronjobList.tpl | 20 ++--- .../files/acp/templates/cronjobLogList.tpl | 14 ++-- .../install/files/acp/templates/option.tpl | 2 +- .../files/acp/templates/optionImport.tpl | 2 +- .../acp/templates/packageAutoUpdateList.tpl | 26 +++---- .../files/acp/templates/packageList.tpl | 18 ++--- .../acp/templates/packageStartInstall.tpl | 33 +++++---- .../files/acp/templates/packageUpdate.tpl | 13 ++-- .../acp/templates/packageUpdateSearch.tpl | 12 +-- .../files/acp/templates/packageView.tpl | 18 ++--- .../files/acp/templates/updateServerAdd.tpl | 16 ++-- .../files/acp/templates/updateServerList.tpl | 18 ++--- .../install/files/acp/templates/userAdd.tpl | 39 +++++----- .../install/files/acp/templates/userList.tpl | 25 ++++--- .../install/files/acp/templates/userMail.tpl | 22 +++--- .../files/acp/templates/userSearch.tpl | 36 ++++----- 21 files changed, 244 insertions(+), 197 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index 0c65d2daee..24bc396a82 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -54,6 +54,10 @@ section#content a:hover { top: -9000px; } +hr { + display: none; +} + /* -- -- -- -- -- Header -- -- -- -- -- */ @@ -252,7 +256,7 @@ section#content { background-color: #fff; display: table-cell; - padding: 21px; + padding: 25px; width: 100%; } @@ -299,7 +303,7 @@ nav.sidebarMenu > div h1 { font-size: 130%; font-weight: bold; margin-top: 5px; - padding: 7px 15px 7px 35px; + padding: 7px 25px 7px 35px; position: relative; } @@ -309,7 +313,7 @@ nav.sidebarMenu > div h1.activeMenuItem { nav.sidebarMenu > div ul li { font-size: 110%; - padding: 5px 15px 7px 35px; + padding: 5px 25px 7px 35px; } nav.sidebarMenu > div ul li.activeMenuItem { @@ -449,7 +453,6 @@ div.ui-widget-overlay { /* Main Heading */ .mainHeading { - height: 48px; margin-bottom: 15px; position: relative; } @@ -458,6 +461,7 @@ div.ui-widget-overlay { position: absolute; top: 0; left: 0; + width: 48px; height: 48px; } @@ -470,6 +474,7 @@ div.ui-widget-overlay { .mainHeading > hgroup h1 { border-bottom: 1px solid #999; color: #999; + text-shadow: 0 1px 0 #fff; font-size: 140%; font-weight: bold; padding-bottom: 10px; @@ -484,6 +489,7 @@ div.ui-widget-overlay { .subHeading { border-bottom: 1px solid #999; font-size: 120%; + text-shadow: 0 1px 0 #fff; margin: 14px 0 14px; padding: 15px; } @@ -500,6 +506,7 @@ fieldset { } fieldset legend { + color: #999; padding: 0 7px 0; } @@ -641,13 +648,19 @@ th:last-child { border-right-width: 0; } +th { + font-size: 85%; +} + th a { + color: #999; display: block; text-decoration: none; } th a:hover { - color: #00c !important; + color: #333 !important; + text-shadow: 0 1px 0 #fff; text-decoration: none !important; } @@ -718,17 +731,17 @@ tr.container-2 td { /* -- -- -- -- -- Large Buttons -- -- -- -- -- */ -div.largeButtons { +nav.largeButtons { text-align: right; } -div.largeButtons ul li { +nav.largeButtons ul li { display: inline; } input[type='reset'], input[type='submit'], -div.largeButtons ul li a { +nav.largeButtons ul li a { background-color: #fefefe; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fefefe), to(#eee)); background-image: -moz-linear-gradient(0% 0% 270deg, #fefefe, #eee); @@ -744,7 +757,7 @@ div.largeButtons ul li a { input[type='reset']:hover, input[type='submit']:hover, -div.largeButtons ul li a:hover { +nav.largeButtons ul li a:hover { background-color: #fefefe; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#eee), to(#fefefe)); background-image: -moz-linear-gradient(0% 0% 270deg, #eee, #fefefe); @@ -755,11 +768,11 @@ div.largeButtons ul li a:hover { text-decoration: none; } -div.largeButtons ul li a img { +nav.largeButtons ul li a img { vertical-align: middle; } -div.formSubmit { +.formSubmit { text-align: center; } @@ -814,18 +827,42 @@ div#ajaxExceptionStacktrace { padding: 3px; } -p.success { - background-color: #b5e61d; - border: 1px solid #22b14c; - border-radius: 5px; + + +/* -- -- -- -- -- System Notifications -- -- -- -- -- */ + +p.info, +p.error, +p.success, +p.warning { + border-radius: 7px; margin-bottom: 14px; - padding: 7px; + padding: 7px 14px; } -hr { - display: none; +p.info { + background-color: #def; + border: 1px solid #06f; +} + +p.success { + background-color: #efe; + border: 1px solid #090; +} + +p.error { + background-color: #fee; + border: 1px solid #c00; +} + +p.warning { + background-color: #ffd; + border: 1px solid #660; } + + + #actionProxyLoading { background-color: #faebd7; border: 1px solid #f80; diff --git a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl index f437813edb..78b833ffde 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl @@ -1,12 +1,12 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.sessionLog.access.view{/lang}

-
-
+
+

{lang}wcf.acp.sessionLog.access.view{/lang}

+
+
{pages print=true assign=pagesLinks link="index.php?page=ACPSessionLog&sessionLogID=$sessionLogID&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder&packageID="|concat:SID_ARG_2ND_NOT_ENCODED} diff --git a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl index 06ce005277..1a28523614 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl @@ -1,12 +1,12 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.sessionLog.view{/lang}

-
-
+
+

{lang}wcf.acp.sessionLog.view{/lang}

+
+
{pages print=true assign=pagesLinks link="index.php?page=ACPSessionLogList&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder&packageID="|concat:SID_ARG_2ND_NOT_ENCODED} diff --git a/wcfsetup/install/files/acp/templates/cacheList.tpl b/wcfsetup/install/files/acp/templates/cacheList.tpl index bf0342c6f3..b251e34d78 100644 --- a/wcfsetup/install/files/acp/templates/cacheList.tpl +++ b/wcfsetup/install/files/acp/templates/cacheList.tpl @@ -1,11 +1,11 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.cache.list{/lang}

-
-
+
+

{lang}wcf.acp.cache.list{/lang}

+
+ {if $cleared}

{lang}wcf.acp.cache.clear.success{/lang}

@@ -37,12 +37,12 @@
-
+
+
{foreach from=$caches key=cache item=files} diff --git a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl index b09961ba6b..1bb07683d7 100644 --- a/wcfsetup/install/files/acp/templates/cronjobAdd.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobAdd.tpl @@ -1,12 +1,12 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.cronjob.{$action}{/lang}

-

{lang}wcf.acp.cronjob.subtitle{/lang}

-
-
+
+

{lang}wcf.acp.cronjob.{$action}{/lang}

+

{lang}wcf.acp.cronjob.subtitle{/lang}

+
+ {if $errorField}

{lang}wcf.global.form.error{/lang}

@@ -19,13 +19,14 @@

{lang}wcf.acp.cronjob.intro{/lang}

+
@@ -175,9 +176,10 @@ {if $additionalFields|isset}{@$additionalFields}{/if}
+
- + {@SID_INPUT_TAG} {if $cronjobID|isset}{/if}
diff --git a/wcfsetup/install/files/acp/templates/cronjobList.tpl b/wcfsetup/install/files/acp/templates/cronjobList.tpl index 86004e95f8..46ab5a69a4 100644 --- a/wcfsetup/install/files/acp/templates/cronjobList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobList.tpl @@ -1,12 +1,12 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.cronjob.list{/lang}

-

{lang}wcf.acp.cronjob.subtitle{/lang}

-
+
+

{lang}wcf.acp.cronjob.list{/lang}

+

{lang}wcf.acp.cronjob.subtitle{/lang}

+
-
+
{pages print=true assign=pagesLinks link="index.php?page=CronjobList&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder&packageID="|concat:SID_ARG_2ND_NOT_ENCODED} {if $__wcf->session->getPermission('admin.system.cronjobs.canAddCronjob')} - + {/if}
@@ -131,9 +131,9 @@ {@$pagesLinks} {if $__wcf->session->getPermission('admin.system.cronjobs.canAddCronjob')} - + {/if}
{/if} diff --git a/wcfsetup/install/files/acp/templates/cronjobLogList.tpl b/wcfsetup/install/files/acp/templates/cronjobLogList.tpl index 2328099faa..9c780857c3 100644 --- a/wcfsetup/install/files/acp/templates/cronjobLogList.tpl +++ b/wcfsetup/install/files/acp/templates/cronjobLogList.tpl @@ -1,13 +1,13 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.cronjob.log{/lang}

-

{lang}wcf.acp.cronjob.subtitle{/lang}

-
-
+
+

{lang}wcf.acp.cronjob.log{/lang}

+

{lang}wcf.acp.cronjob.subtitle{/lang}

+
+
{pages print=true assign=pagesLinks link="index.php?page=CronjobLogList&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder&packageID="|concat:SID_ARG_2ND_NOT_ENCODED} @@ -68,7 +68,7 @@ {hascontentelse}
-

{lang}wcf.acp.cronjob.log.noEntries{/lang}

+

{lang}wcf.acp.cronjob.log.noEntries{/lang}

{/hascontent} diff --git a/wcfsetup/install/files/acp/templates/option.tpl b/wcfsetup/install/files/acp/templates/option.tpl index e0ecbcb242..db7645357e 100644 --- a/wcfsetup/install/files/acp/templates/option.tpl +++ b/wcfsetup/install/files/acp/templates/option.tpl @@ -65,8 +65,8 @@
- + {@SID_INPUT_TAG}
diff --git a/wcfsetup/install/files/acp/templates/optionImport.tpl b/wcfsetup/install/files/acp/templates/optionImport.tpl index 973aed2728..7ed40a7bdf 100644 --- a/wcfsetup/install/files/acp/templates/optionImport.tpl +++ b/wcfsetup/install/files/acp/templates/optionImport.tpl @@ -49,8 +49,8 @@
- + {@SID_INPUT_TAG}
diff --git a/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl b/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl index 5cb8751ae0..84ed005a9b 100644 --- a/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl +++ b/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl @@ -22,30 +22,30 @@
-
+
-
-

{lang}wcf.acp.packageUpdate{/lang}

- {if $availableUpdates|count}

{/if} -
-
- +
+

{lang}wcf.acp.packageUpdate{/lang}

+ {if $availableUpdates|count}

{/if} +
+ + {if !$availableUpdates|count}
-

{lang}wcf.acp.packageUpdate.noneAvailable{/lang}

+

{lang}wcf.acp.packageUpdate.noneAvailable{/lang}

{else} {foreach from=$availableUpdates item=availableUpdate} -
+
-

+

-

+
@@ -92,12 +92,12 @@
-
+
{/foreach}
- + {@SID_INPUT_TAG}
{/if} diff --git a/wcfsetup/install/files/acp/templates/packageList.tpl b/wcfsetup/install/files/acp/templates/packageList.tpl index 487834913a..24c1c2994e 100644 --- a/wcfsetup/install/files/acp/templates/packageList.tpl +++ b/wcfsetup/install/files/acp/templates/packageList.tpl @@ -10,23 +10,23 @@ //]]> -
+
-
-

{lang}wcf.acp.package.list{/lang}

-
-
+
+

{lang}wcf.acp.package.list{/lang}

+
+
{pages print=true assign=pagesLinks link="index.php?page=PackageList&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder&packageID="|concat:SID_ARG_2ND_NOT_ENCODED} {if $__wcf->session->getPermission('admin.system.package.canInstallPackage') || $additionalLargeButtons|isset} -
+
+ {/if}
@@ -93,12 +93,12 @@ {@$pagesLinks} {if $__wcf->session->getPermission('admin.system.package.canInstallPackage') || $additionalLargeButtons|isset} -
+
+ {/if}
diff --git a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl index 40795c9605..f077b20d76 100644 --- a/wcfsetup/install/files/acp/templates/packageStartInstall.tpl +++ b/wcfsetup/install/files/acp/templates/packageStartInstall.tpl @@ -1,33 +1,33 @@ {include file='header'} -{if $packageID == 0} -
+ +
+ {if $packageID == 0} -
-

{lang}wcf.acp.package.startInstall{/lang}

-
-
-{else} -
+
+

{lang}wcf.acp.package.startInstall{/lang}

+
+ {else} -
-

{lang}wcf.acp.package.startUpdate{/lang}

-
-
-{/if} +
+

{lang}wcf.acp.package.startUpdate{/lang}

+
+ {/if} + {if $errorField != ''}

{lang}wcf.global.form.error{/lang}

{/if}
-
+
+
+
@@ -91,8 +91,9 @@
- + + {@SID_INPUT_TAG} {if $packageID != 0}{/if} diff --git a/wcfsetup/install/files/acp/templates/packageUpdate.tpl b/wcfsetup/install/files/acp/templates/packageUpdate.tpl index 9e0d915e9b..8daa81deff 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdate.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdate.tpl @@ -1,11 +1,11 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.packageUpdate{/lang}

-
-
+
+

{lang}wcf.acp.packageUpdate{/lang}

+
+ {if $errorField == 'updates'} {if $errorType === 'empty'} @@ -49,8 +49,8 @@
- {if !$errorField}{/if} {**} + {if !$errorField}{/if} {@SID_INPUT_TAG} @@ -61,5 +61,4 @@ {/if} - {include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl b/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl index 1a9991eb36..60c6ab7f42 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateSearch.tpl @@ -37,12 +37,12 @@ //]]> -
+
-
-

{lang}wcf.acp.packageUpdate.search{/lang}

-
-
+
+

{lang}wcf.acp.packageUpdate.search{/lang}

+
+ {if $errorField != ''}

{lang}wcf.acp.packageUpdate.noneAvailable{/lang}

@@ -126,8 +126,8 @@
- + {@SID_INPUT_TAG}
diff --git a/wcfsetup/install/files/acp/templates/packageView.tpl b/wcfsetup/install/files/acp/templates/packageView.tpl index 16eafd0936..1a56a7dce8 100644 --- a/wcfsetup/install/files/acp/templates/packageView.tpl +++ b/wcfsetup/install/files/acp/templates/packageView.tpl @@ -1,12 +1,12 @@ {include file='header'} -
+
-
-

{$package->getName()}

-

{$package->packageDescription}

-
-
+
+

{$package->getName()}

+

{$package->packageDescription}

+
+
{lang}wcf.acp.package.view.properties{/lang} @@ -81,7 +81,7 @@ {/foreach}
-
+
+
{if $requiredPackages|count > 0} @@ -231,4 +231,4 @@ {/if} -{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/updateServerAdd.tpl b/wcfsetup/install/files/acp/templates/updateServerAdd.tpl index 65e597263e..f5d6c0fe14 100644 --- a/wcfsetup/install/files/acp/templates/updateServerAdd.tpl +++ b/wcfsetup/install/files/acp/templates/updateServerAdd.tpl @@ -1,11 +1,11 @@ {include file='header'} -
+
-
-

{lang}wcf.acp.updateServer.{$action}{/lang}

-
-
+
+

{lang}wcf.acp.updateServer.{$action}{/lang}

+
+ {if $errorField}

{lang}wcf.global.form.error{/lang}

@@ -20,9 +20,9 @@ {/if}
@@ -88,8 +88,8 @@
- + {@SID_INPUT_TAG}
diff --git a/wcfsetup/install/files/acp/templates/updateServerList.tpl b/wcfsetup/install/files/acp/templates/updateServerList.tpl index 6bfebfeddf..fa9dec31cb 100644 --- a/wcfsetup/install/files/acp/templates/updateServerList.tpl +++ b/wcfsetup/install/files/acp/templates/updateServerList.tpl @@ -9,21 +9,21 @@ //]]> -
+
-
-

{lang}wcf.acp.updateServer.view{/lang}

-
-
+
+

{lang}wcf.acp.updateServer.view{/lang}

+
+ {if $deletedPackageUpdateServerID}

{lang}wcf.acp.updateServer.delete.success{/lang}

{/if} {if !$updateServers|count} @@ -88,9 +88,9 @@
- +
{/if} diff --git a/wcfsetup/install/files/acp/templates/userAdd.tpl b/wcfsetup/install/files/acp/templates/userAdd.tpl index 368b5f7d4a..646f7fa8aa 100644 --- a/wcfsetup/install/files/acp/templates/userAdd.tpl +++ b/wcfsetup/install/files/acp/templates/userAdd.tpl @@ -49,12 +49,12 @@ //]]> -
+
-
-

{lang}wcf.acp.user.{@$action}{/lang}

-
-
+
+

{lang}wcf.acp.user.{@$action}{/lang}

+
+ {if $errorField}

{lang}wcf.global.form.error{/lang}

@@ -69,14 +69,15 @@ {/if}
-
+
+
+
@@ -184,15 +185,17 @@ {if $additionalFields|isset}{@$additionalFields}{/if} {if $optionTree|count || $additionalTabs|isset} -
- -
+
@@ -126,10 +126,11 @@
+ {else}
-
{lang}wcf.acp.user.search.error.noMatches{/lang}
+
+

{lang}wcf.acp.user.search.error.noMatches{/lang}

+
{/if} diff --git a/wcfsetup/install/files/acp/templates/userMail.tpl b/wcfsetup/install/files/acp/templates/userMail.tpl index 25969b4f17..ebbd9e317a 100644 --- a/wcfsetup/install/files/acp/templates/userMail.tpl +++ b/wcfsetup/install/files/acp/templates/userMail.tpl @@ -1,9 +1,9 @@ {include file='header'} -
+
-
-

+
+

{if $action == 'all'} {lang}wcf.acp.user.sendMail.all{/lang} {elseif $action == 'group'} @@ -11,27 +11,27 @@ {else} {lang}wcf.acp.user.sendMail{/lang} {/if} -

-

-
+ + + {if $errorField}

{lang}wcf.global.form.error{/lang}

{/if}
-
+
+
+
- {if $action == ''}
{lang}wcf.acp.user.sendMail.markedUsers{/lang} @@ -143,12 +143,12 @@
- + {@SID_INPUT_TAG}
-{include file='footer'} \ No newline at end of file +{include file='footer'} diff --git a/wcfsetup/install/files/acp/templates/userSearch.tpl b/wcfsetup/install/files/acp/templates/userSearch.tpl index 23273f57b2..f50c11a063 100644 --- a/wcfsetup/install/files/acp/templates/userSearch.tpl +++ b/wcfsetup/install/files/acp/templates/userSearch.tpl @@ -13,12 +13,12 @@ //]]> -
+
-
-

{lang}wcf.acp.user.search{/lang}

-
-
+
+

{lang}wcf.acp.user.search{/lang}

+
+ {if $errorField == 'search'}

{lang}wcf.acp.user.search.error.noMatches{/lang}

@@ -31,7 +31,7 @@ {/if*}
-
+
+
@@ -121,13 +121,15 @@ {if $additionalFields|isset}{@$additionalFields}{/if} -
- -
+
@@ -135,7 +137,7 @@ {if $optionTree|count} @@ -145,7 +147,7 @@