mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
peoples online. moved inline styles from html to common.css
This commit is contained in:
parent
671592372d
commit
98b6673ce5
|
@ -1,16 +1,16 @@
|
||||||
{include file='header.tpl' menu='people'}
|
{include file='header.tpl' menu='people'}
|
||||||
|
|
||||||
|
|
||||||
<h2>{$aLang.user_list_online_last}</h2>
|
<h2>{$aLang.user_list_online_last}</h2>
|
||||||
|
|
||||||
{if $aUsersLast}
|
{if $aUsersLast}
|
||||||
<table class="table table-people">
|
<table class="table table-people">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{$aLang.user}</td>
|
<td class="user-login">{$aLang.user}</td>
|
||||||
<td align="center" width="170">{$aLang.user_date_last}</td>
|
<td class="user-date-last">{$aLang.user_date_last}</td>
|
||||||
<td align="center" width="80">{$aLang.user_skill}</td>
|
<td class="user-skill">{$aLang.user_skill}</td>
|
||||||
<td align="center" width="80">{$aLang.user_rating}</td>
|
<td class="user-rating">{$aLang.user_rating}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
@ -18,18 +18,18 @@
|
||||||
{foreach from=$aUsersLast item=oUser}
|
{foreach from=$aUsersLast item=oUser}
|
||||||
{assign var="oSession" value=$oUser->getSession()}
|
{assign var="oSession" value=$oUser->getSession()}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
|
<td class="user-login"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
|
||||||
<td align="center" class="date">{date_format date=$oSession->getDateLast()}</td>
|
<td class="user-date-last date">{date_format date=$oSession->getDateLast()}</td>
|
||||||
<td align="center" class="strength">{$oUser->getSkill()}</td>
|
<td class="user-skill strength">{$oUser->getSkill()}</td>
|
||||||
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td>
|
<td class="user-rating rating"><strong>{$oUser->getRating()}</strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
{else}
|
{else}
|
||||||
{$aLang.user_empty}
|
{$aLang.user_empty}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
{include file='paging.tpl' aPaging="$aPaging"}
|
{include file='paging.tpl' aPaging="$aPaging"}
|
||||||
{include file='footer.tpl'}
|
{include file='footer.tpl'}
|
|
@ -93,9 +93,10 @@ table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; }
|
||||||
|
|
||||||
table.table-people { }
|
table.table-people { }
|
||||||
table.table-people td { padding: 5px 10px; vertical-align: middle; }
|
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-skill { width: 60px; }
|
||||||
table.table-people td.user-rating { width: 80px; }
|
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 .avatar { vertical-align: middle; margin-right: 7px; }
|
||||||
table.table-people .username { font-weight: bold; color: #999; }
|
table.table-people .username { font-weight: bold; color: #999; }
|
||||||
table.table-people .strength { font-weight: bold; color: #70AAE0; }
|
table.table-people .strength { font-weight: bold; color: #70AAE0; }
|
||||||
|
|
Loading…
Reference in a new issue