Small bug-fixes and some testing.
authorLuzifr <szekely@woltlab.com>
Wed, 3 Aug 2011 10:09:20 +0000 (12:09 +0200)
committerLuzifr <szekely@woltlab.com>
Wed, 3 Aug 2011 10:09:20 +0000 (12:09 +0200)
wcfsetup/install/files/acp/style/testing.css
wcfsetup/install/files/acp/templates/acpSessionLog.tpl
wcfsetup/install/files/acp/templates/acpSessionLogList.tpl
wcfsetup/install/files/acp/templates/header.tpl

index 9ba8e483b55beabb9e1af42550e58f9990157ccb..0bb1947b880795920124769b86af6b2b4909d02b 100644 (file)
@@ -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 {
index 3fb2e666901428be945d00c331b6ec2023e42fb1..e88c7606af70d281418f68c9e8dab175c3c8ecee 100644 (file)
@@ -14,7 +14,7 @@
 </div>
 
 {if $sessionAccessLogs|count}
-       <div class="border titleBarPanel">
+       <div class="border boxTitle">
                <hgroup>
                        <h1>{lang}wcf.acp.sessionLog.access.view.count{/lang}</h1>
                </hgroup>
@@ -34,7 +34,7 @@
                        </thead>
                        <tbody>
                        {foreach from=$sessionAccessLogs item=sessionAccessLog}
-                               <tr class="smallFont">
+                               <tr>
                                        <td class="columnSessionAccessLogID columnID"><p>{@$sessionAccessLog->sessionAccessLogID}</p></td>
                                        <td class="columnIpAddress columnText"{if $sessionAccessLog->ipAddress != $sessionLog->ipAddress} style="color: red"{/if}><p>{$sessionAccessLog->ipAddress}</p></td>
                                        <td class="columnTime columnText"><p>{@$sessionAccessLog->time|time}</p></td>
index 73fbe6a5007aa14b82bbd8bd0ebe2692eb97419a..a86d5c200106cf3280aae00e230f5d4ee5fba3c5 100644 (file)
@@ -16,7 +16,7 @@
 {if $sessionLogs|count}
        <div class="border boxTitle">
                <hgroup>
-                       <h1>{lang}wcf.acp.sessionLog.view.count{/lang}</h1>
+                       <h1>{lang}wcf.acp.sessionLog.view.count{/lang} <span class="badge" title="{lang}wcf.acp.sessionLog.view.count{/lang}">{#$items}</span></h1>
                </hgroup>
                <table>
                        <thead>
@@ -36,7 +36,7 @@
                        {foreach from=$sessionLogs item=sessionLog}
                                <tr class="{if $sessionLog->active} activeContainer{/if}">
                                        <td class="columnSessionLogID columnID"><p>{@$sessionLog->sessionLogID}</p></td>
-                                       <td class="columnUsername columnText"><p>{if $__wcf->user->userID == $sessionLog->userID}<img src="{@RELATIVE_WCF_DIR}icon/userS.png" alt="" />{/if} <a href="index.php?page=ACPSessionLog&amp;sessionLogID={@$sessionLog->sessionLogID}{@SID_ARG_2ND}">{$sessionLog->username}</a></p></td>
+                                       <td class="columnUsername columnText"><p>{if $__wcf->user->userID == $sessionLog->userID}<img src="{@RELATIVE_WCF_DIR}icon/user.svg" alt="" />{/if} <a href="index.php?page=ACPSessionLog&amp;sessionLogID={@$sessionLog->sessionLogID}{@SID_ARG_2ND}">{$sessionLog->username}</a></p></td>
                                        <td class="columnIpAddress columnText"><p><a href="index.php?page=ACPSessionLog&amp;sessionLogID={@$sessionLog->sessionLogID}{@SID_ARG_2ND}">{$sessionLog->ipAddress}</a><br /><a href="index.php?page=ACPSessionLog&amp;sessionLogID={@$sessionLog->sessionLogID}{@SID_ARG_2ND}">{$sessionLog->hostname}</a></p></td>
                                        <td class="columnUserAgent columnText smallFont"><p><a href="index.php?page=ACPSessionLog&amp;sessionLogID={@$sessionLog->sessionLogID}{@SID_ARG_2ND}">{$sessionLog->userAgent}</a></p></td>
                                        <td class="columnTime columnText"><p>{@$sessionLog->time|time}</p></td>
index db9ac773cd3060833c8498838eadcd778355733c..7a90fd362a7b83fed131ccd5b70586225a0d87ac 100644 (file)
        <a id="top"></a>
        <!-- HEADER -->
        <header class="pageHeader">
-               
-               <!-- top menu -->
-               <nav id="topMenu" class="topMenu">
-                       <div>
-                               <ul>
-                                       <li><a href="#" title="Hello World">Hello World!</a></li>
-                               </ul>
+               <div>
+                       <!-- top menu -->
+                       <nav id="topMenu" class="topMenu">
+                               <div>
+                                       <ul>
+                                               <li><a href="#" title="Hello World">Hello World!</a></li>
+                                       </ul>
+                               </div>
+                       </nav>
+                       <!-- /top menu -->
+                       
+                       <!-- logo -->
+                       <div id="logo" class="logo">
+                               <!-- clickable area -->
+                               <a href="index.php{@SID_ARG_1ST}">
+                                       <h1>WoltLab Community Framework 2.0 Pre-Alpha 1</h1>
+                                       <img src="{@RELATIVE_WCF_DIR}acp/images/wcfLogoWhite.svg" width="300" height="58" alt="Product-logo" title="WoltLab Community Framework 2.0 Pre-Alpha 1" />
+                               </a>
+                               <!-- /clickable area -->
+                               
+                               <!-- search area -->
+                               
+                               <!-- /search area -->
                        </div>
-               </nav>
-               <!-- /top menu -->
-               
-               <!-- logo -->
-               <div id="logo" class="logo">
-                       <!-- clickable area -->
-                       <a href="index.php{@SID_ARG_1ST}">
-                               <h1>WoltLab Community Framework 2.0 Pre-Alpha 1</h1>
-                               <img src="{@RELATIVE_WCF_DIR}acp/images/wcfLogoWhite.svg" width="300" height="58" alt="Product-logo" title="WoltLab Community Framework 2.0 Pre-Alpha 1" />
-                       </a>
-                       <!-- /clickable area -->
+                       <!-- /logo -->
                        
-                       <!-- search area -->
+                       <!-- main menu -->
+                       <nav id="mainMenu" class="mainMenu">
+                               {* work-around for unknown core-object during WCFSetup *}
+                               {if PACKAGE_ID}
+                                       <ul>
+                                               {foreach from=$__wcf->getACPMenu()->getMenuItems('') item=menuItem}
+                                                       <li data-menuItem="{$menuItem->menuItem}">{lang}{@$menuItem->menuItem}{/lang}</li>
+                                               {/foreach}
+                                       </ul>
+                               {/if}
+                       </nav>
+                       <!-- /main menu -->
                        
-                       <!-- /search area -->
-               </div>
-               <!-- /logo -->
-               
-               <!-- top nav -->
-               <nav id="mainMenu" class="mainMenu">
-                       {* work-around for unknown core-object during WCFSetup *}
-                       {if PACKAGE_ID}
+                       <!-- header navigation -->
+                       <nav class="headerNavigation">
                                <ul>
-                                       {foreach from=$__wcf->getACPMenu()->getMenuItems('') item=menuItem}
-                                               <li data-menuItem="{$menuItem->menuItem}">{lang}{@$menuItem->menuItem}{/lang}</li>
-                                       {/foreach}
+                                       <li id="toBottomLink" class="toBottomLink"><a href="#bottom" title="{lang}wcf.global.scrollDown{/lang}"><img src="{@RELATIVE_WCF_DIR}icon/downS.png" alt="{lang}wcf.global.scrollDown{/lang}" /> <span class="invisible">{lang}wcf.global.scrollDown{/lang}</span></a></li>
                                </ul>
-                       {/if}
-               </nav>
-               <!-- /top nav -->
-               
-               <!-- sub bar -->
-               <nav class="headerNavigation">
-                       <ul>
-                               <li id="toBottomLink" class="toBottomLink"><a href="#bottom" title="{lang}wcf.global.scrollDown{/lang}"><img src="{@RELATIVE_WCF_DIR}icon/downS.png" alt="{lang}wcf.global.scrollDown{/lang}" /> <span class="invisible">{lang}wcf.global.scrollDown{/lang}</span></a></li>
-                       </ul>
-               </nav>
-               <!-- /sub bar -->
+                       </nav>
+                       <!-- /header navigation -->
+               </div>
        </header>
        <!-- /HEADER -->
        
        <div id="main" class="main">
                <div>
                        <aside class="sidebar">
-                               <!-- sub nav -->
+                               <!-- sidebar menu -->
                                <nav id="sidebarMenu" class="sidebarMenu">
                                        {* work-around for unknown core-object during WCFSetup *}
                                        {if PACKAGE_ID}
                                                {/foreach}
                                        {/if}
                                </nav>
-                               <!-- /sub nav -->
+                               <!-- /sidebar menu -->
                        </aside>
                        
                        <section id="content">