From bf7f8fb59e8c8779a7ac155349a8f5c388b4966b Mon Sep 17 00:00:00 2001 From: Luzifr Date: Wed, 3 Aug 2011 12:09:20 +0200 Subject: [PATCH] Small bug-fixes and some testing. --- wcfsetup/install/files/acp/style/testing.css | 30 +++++-- .../files/acp/templates/acpSessionLog.tpl | 4 +- .../files/acp/templates/acpSessionLogList.tpl | 4 +- .../install/files/acp/templates/header.tpl | 87 ++++++++++--------- 4 files changed, 69 insertions(+), 56 deletions(-) diff --git a/wcfsetup/install/files/acp/style/testing.css b/wcfsetup/install/files/acp/style/testing.css index 9ba8e483b5..0bb1947b88 100644 --- a/wcfsetup/install/files/acp/style/testing.css +++ b/wcfsetup/install/files/acp/style/testing.css @@ -287,6 +287,7 @@ nav.sidebarMenu > div { position: relative; color: #69c; text-shadow: 0 1px 0 #fff; + overflow: hidden; } nav.sidebarMenu > div a { @@ -345,12 +346,7 @@ footer { padding: 0 23px; position: relative; text-align: center; - - -webkit-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); - -moz-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); - -ms-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); - -o-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); - box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); + position: relative; } footer:after { @@ -366,6 +362,12 @@ footer > div { border-bottom-right-radius: 3px; clear: both; padding: 3px 7px; + + -webkit-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); + -ms-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); + -o-box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); + box-shadow: 0 -1px 5px rgba(0, 0, 0, .1); } footer > div:after { @@ -555,7 +557,6 @@ textarea { border-style: solid; border-color: #999 #ccc #eee; border-radius: 3px; - background-color: #fafafa; -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, .1); @@ -608,7 +609,6 @@ textarea:focus { .largeButtons ul li a { font-size: 90%; - color: #666 !important; } input[type='reset'], @@ -621,9 +621,16 @@ input[type='submit'], background-image: -o-linear-gradient(#fefefe, #eee); background-image: linear-gradient(#fefefe, #eee); + -webkit-transition: all .3s linear; + -moz-transition: all .3s linear; + -ms-transition: all .3s linear; + -o-transition: all .3s linear; + transition: all .3s linear; + border: 1px solid #ccc; border-radius: 30px; color: #666; + font-weight: bold; display: inline-block; padding: 5px 13px; text-shadow: 0 1px 0 #fff; @@ -730,7 +737,6 @@ input[type='submit']:hover, - /* -- -- -- -- -- Border -- -- -- -- -- */ .border { @@ -750,6 +756,12 @@ input[type='submit']:hover, background-repeat: repeat-x; border-radius: 7px; + + -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .1); + -ms-box-shadow: 0 0 5px rgba(0, 0, 0, .1); + -o-box-shadow: 0 0 5px rgba(0, 0, 0, .1); + box-shadow: 0 0 5px rgba(0, 0, 0, .1); } .boxTitle > hgroup { diff --git a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl index 3fb2e66690..e88c7606af 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLog.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLog.tpl @@ -14,7 +14,7 @@ {if $sessionAccessLogs|count} -
+

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

@@ -34,7 +34,7 @@ {foreach from=$sessionAccessLogs item=sessionAccessLog} - +

{@$sessionAccessLog->sessionAccessLogID}

ipAddress != $sessionLog->ipAddress} style="color: red"{/if}>

{$sessionAccessLog->ipAddress}

{@$sessionAccessLog->time|time}

diff --git a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl index 73fbe6a500..a86d5c2001 100644 --- a/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl +++ b/wcfsetup/install/files/acp/templates/acpSessionLogList.tpl @@ -16,7 +16,7 @@ {if $sessionLogs|count}
-

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

+

{lang}wcf.acp.sessionLog.view.count{/lang} {#$items}

@@ -36,7 +36,7 @@ {foreach from=$sessionLogs item=sessionLog} - + diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index db9ac773cd..7a90fd362a 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -77,52 +77,53 @@ @@ -130,7 +131,7 @@
-- 2.20.1

{@$sessionLog->sessionLogID}

{if $__wcf->user->userID == $sessionLog->userID}{/if} {$sessionLog->username}

{if $__wcf->user->userID == $sessionLog->userID}{/if} {$sessionLog->username}

{$sessionLog->ipAddress}
{$sessionLog->hostname}

{$sessionLog->userAgent}

{@$sessionLog->time|time}