From 98b6673ce57d361cde65d9592dab812497535457 Mon Sep 17 00:00:00 2001 From: Stepan Tanasiychuk Date: Mon, 10 Oct 2011 00:54:27 +0300 Subject: [PATCH] peoples online. moved inline styles from html to common.css --- .../actions/ActionPeople/online.tpl | 24 +++++++++---------- templates/skin/new-jquery/css/common.css | 3 ++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/templates/skin/new-jquery/actions/ActionPeople/online.tpl b/templates/skin/new-jquery/actions/ActionPeople/online.tpl index c0f006d8..a9f00f50 100644 --- a/templates/skin/new-jquery/actions/ActionPeople/online.tpl +++ b/templates/skin/new-jquery/actions/ActionPeople/online.tpl @@ -1,16 +1,16 @@ {include file='header.tpl' menu='people'} - +

{$aLang.user_list_online_last}

{if $aUsersLast} - - - - + + + + @@ -18,18 +18,18 @@ {foreach from=$aUsersLast item=oUser} {assign var="oSession" value=$oUser->getSession()} - - - - + + + + - {/foreach} + {/foreach}
{$aLang.user}{$aLang.user_date_last}{$aLang.user_skill}{$aLang.user_rating}{$aLang.user_date_last}{$aLang.user_skill}{$aLang.user_rating}
{$oUser->getLogin()}{date_format date=$oSession->getDateLast()}{$oUser->getSkill()}{$oUser->getRating()}{date_format date=$oSession->getDateLast()}{$oUser->getSkill()}{$oUser->getRating()}
{else} {$aLang.user_empty} {/if} - -{include file='paging.tpl' aPaging="$aPaging"} + +{include file='paging.tpl' aPaging="$aPaging"} {include file='footer.tpl'} \ No newline at end of file diff --git a/templates/skin/new-jquery/css/common.css b/templates/skin/new-jquery/css/common.css index 78bbb7b2..fabfd64d 100644 --- a/templates/skin/new-jquery/css/common.css +++ b/templates/skin/new-jquery/css/common.css @@ -93,9 +93,10 @@ table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; } table.table-people { } table.table-people td { padding: 5px 10px; vertical-align: middle; } -table.table-people td.user-skill, table.table-people td.user-rating { text-align: center; } +table.table-people td.user-skill, table.table-people td.user-rating, table.table-people td.user-date-last { text-align: center; } table.table-people td.user-skill { width: 60px; } table.table-people td.user-rating { width: 80px; } +table.table-people td.user-date-last { width: 170px; } table.table-people .avatar { vertical-align: middle; margin-right: 7px; } table.table-people .username { font-weight: bold; color: #999; } table.table-people .strength { font-weight: bold; color: #70AAE0; }