2018-03-07

This commit is contained in:
Visman 2018-03-07 17:40:12 +07:00
parent b44b2db9ba
commit fd7188cdd0
8 changed files with 60 additions and 31 deletions
app
public/style/ForkBB

View file

@ -25,13 +25,13 @@ msgid "Newest user"
msgstr "Newest registered user:"
msgid "No of users"
msgstr "Total number of registered users:"
msgstr "Users:"
msgid "No of topics"
msgstr "Total number of topics:"
msgstr "Topics:"
msgid "No of posts"
msgstr "Total number of posts:"
msgstr "Posts:"
msgid "Online users"
msgstr "Online:"

View file

@ -25,13 +25,13 @@ msgid "Newest user"
msgstr "Новичок:"
msgid "No of users"
msgstr "Всего пользователей:"
msgstr "Пользователей:"
msgid "No of topics"
msgstr "Всего тем:"
msgstr "Тем:"
msgid "No of posts"
msgstr "Всего сообщений:"
msgstr "Сообщений:"
msgid "Online users"
msgstr "Активны:"

View file

@ -13,8 +13,8 @@
@endsection
@section ('linknewtopic')
@if ($p->model->canCreateTopic)
<div class="f-link-post">
<a class="f-btn" href="{!! $p->model->linkCreateTopic !!}">{!! __('Post topic') !!}</a>
<div class="f-actions-links">
<a class="f-btn f-btn-create-topic" href="{!! $p->model->linkCreateTopic !!}">{!! __('Post topic') !!}</a>
</div>
@endif
@endsection
@ -63,7 +63,7 @@
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->model->canCreateTopic || $p->model->pagination)
<div class="f-links-b clearfix">
<div class="f-nlinks-b clearfix">
@yield ('pagination')
@yield ('linknewtopic')
</div>
@ -155,7 +155,7 @@
</section>
<div class="f-nav-links">
@if ($p->model->canCreateTopic || $p->model->pagination)
<div class="f-links-a clearfix">
<div class="f-nlinks-a clearfix">
@yield ('linknewtopic')
@yield ('pagination')
</div>

View file

@ -2,14 +2,14 @@
<h2>{!! __('Stats info') !!}</h2>
<div class="clearfix">
@if ($p->stats)
<dl class="right">
<dl class="f-stboard">
<dt>{!! __('Board stats') !!}</dt>
<dd>{!! __('No of users') !!} <strong>{!! num($p->stats->userTotal) !!}</strong></dd>
<dd>{!! __('No of topics') !!} <strong>{!! num($p->stats->topicTotal) !!}</strong></dd>
<dd>{!! __('No of posts') !!} <strong>{!! num($p->stats->postTotal) !!}</strong></dd>
</dl>
@endif
<dl class="left">
<dl class="f-stusers">
<dt>{!! __('User info') !!}</dt>
@if ($p->stats)
@if (is_string($p->stats->userLast))

View file

@ -13,11 +13,11 @@
@endsection
@section ('linkpost')
@if ($p->model->canReply || $p->model->closed)
<div class="f-link-post">
<div class="f-actions-links">
@if ($p->model->closed)
{!! __('Topic closed') !!}
@else
<a class="f-btn" href="{!! $p->model->linkReply !!}">{!! __('Post reply') !!}</a>
<a class="f-btn f-btn-post-reply" href="{!! $p->model->linkReply !!}">{!! __('Post reply') !!}</a>
@endif
</div>
@endif
@ -47,7 +47,7 @@
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->model->canReply || $p->model->closed || $p->model->pagination)
<div class="f-links-b clearfix">
<div class="f-nlinks-b clearfix">
@yield ('pagination')
@yield ('linkpost')
</div>
@ -134,7 +134,7 @@
</section>
<div class="f-nav-links">
@if ($p->model->canReply || $p->model->closed || $p->model->pagination)
<div class="f-links-a clearfix">
<div class="f-nlinks-a clearfix">
@yield ('linkpost')
@yield ('pagination')
</div>

View file

@ -36,7 +36,7 @@
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->model->pagination)
<div class="f-links-b clearfix">
<div class="f-nlinks-b clearfix">
@yield ('pagination')
</div>
@endif
@ -96,7 +96,7 @@
</section>
<div class="f-nav-links">
@if ($p->model->pagination)
<div class="f-links-a clearfix">
<div class="f-nlinks-a clearfix">
@yield ('pagination')
</div>
@endif

View file

@ -36,7 +36,7 @@
<div class="f-nav-links">
@yield ('crumbs')
@if ($p->pagination)
<div class="f-links-b clearfix">
<div class="f-nlinks-b clearfix">
@yield ('pagination')
</div>
@endif
@ -99,7 +99,7 @@
</section>
@if ($p->pagination)
<div class="f-nav-links">
<div class="f-links clearfix">
<div class="f-nlinks clearfix">
@yield ('pagination')
</div>
</div>

View file

@ -673,17 +673,17 @@ select {
border: 0;
}
.f-links-b {
.f-nlinks-b {
margin-top: 0.625rem;
border-top: 0.0625rem dotted #AA7939;
}
.f-links-a {
.f-nlinks-a {
margin-bottom: 0.625rem;
border-bottom: 0.0625rem dotted #AA7939;
}
.f-link-post {
.f-actions-links {
float: right;
}
@ -691,18 +691,18 @@ select {
float: left;
}
.f-links-a .f-link-post,
.f-links-a .f-pages {
.f-nlinks-a .f-actions-links,
.f-nlinks-a .f-pages {
padding: 0 0.625rem 0.625rem 0.625rem;
}
.f-links-b .f-link-post,
.f-links-b .f-pages {
.f-nlinks-b .f-actions-links,
.f-nlinks-b .f-pages {
padding: 0.625rem 0.625rem 0 0.625rem;
}
.f-links .f-link-post,
.f-links .f-pages {
.f-nlinks .f-actions-links,
.f-nlinks .f-pages {
padding: 0 0.625rem;
}
@ -982,8 +982,17 @@ select {
display: none;
}
.f-stats .right {
text-align: right;
.f-stboard {
text-align: center;
border-bottom: 0.0625rem dotted #AA7939;
}
.f-stboard > dd {
display: inline-block;
}
.f-stboard > dd + dd {
margin-left: 0.625rem;
}
.f-onlinelist {
@ -996,6 +1005,26 @@ select {
font-weight: bold;
}
@media screen and (min-width: 45rem) {
.f-stboard {
text-align: right;
float: right;
border: 0;
}
.f-stboard > dd {
display: block;
}
.f-stboard > dd + dd {
margin-left: 0;
}
.f-stusers {
float: left;
}
}
/*********************/
/* Логин/Регистрация */
/*********************/