Update style and templates
Hide checkboxes in html.
This commit is contained in:
parent
472c00a4dd
commit
d9400c44cd
5 changed files with 5 additions and 14 deletions
app/templates
public/style/ForkBB
|
@ -77,7 +77,7 @@
|
|||
<li id="topic-{{ $topic->id }}" class="f-row f-fredir">
|
||||
<div class="f-cell f-cmain">
|
||||
@if ($p->enableMod)
|
||||
<input id="checkbox-{{ $topic->id }}" class="f-fch" type="checkbox" name="ids[{{ $topic->id }}]" value="{{ $topic->id }}" form="id-form-mod">
|
||||
<input hidden id="checkbox-{{ $topic->id }}" class="f-fch" type="checkbox" name="ids[{{ $topic->id }}]" value="{{ $topic->id }}" form="id-form-mod">
|
||||
<label class="f-ficon" for="checkbox-{{ $topic->id }}" title="{{ __('Select for moderation') }}"></label>
|
||||
@else
|
||||
<div class="f-ficon"></div>
|
||||
|
@ -91,7 +91,7 @@
|
|||
<li id="topic-{{ $topic->id }}" class="f-row @if (false !== $topic->hasNew) f-fnew @endif @if (false !== $topic->hasUnread) f-funread @endif @if ($topic->sticky) f-fsticky @endif @if ($topic->closed) f-fclosed @endif @if ($topic->poll_type) f-fpoll @endif @if ($topic->dot) f-fposted @endif">
|
||||
<div class="f-cell f-cmain">
|
||||
@if ($p->enableMod)
|
||||
<input id="checkbox-{{ $topic->id }}" class="f-fch" type="checkbox" name="ids[{{ $topic->id }}]" value="{{ $topic->id }}" form="id-form-mod">
|
||||
<input hidden id="checkbox-{{ $topic->id }}" class="f-fch" type="checkbox" name="ids[{{ $topic->id }}]" value="{{ $topic->id }}" form="id-form-mod">
|
||||
<label class="f-ficon" for="checkbox-{{ $topic->id }}" title="{{ __('Select for moderation') }}"></label>
|
||||
@else
|
||||
<div class="f-ficon"></div>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div id="fork-a-menu">
|
||||
@if ($p->aNavigation)
|
||||
<nav id="fork-a-nav" class="f-menu">
|
||||
<input id="id-an-checkbox" class="f-menu-checkbox" type="checkbox">
|
||||
<input hidden id="id-an-checkbox" class="f-menu-checkbox" type="checkbox">
|
||||
<label id="id-an-label" class="f-menu-toggle" for="id-an-checkbox"></label>
|
||||
<ul class="f-menu-items">
|
||||
@foreach ($p->aNavigation as $key => $val)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
@if ($p->fNavigation)
|
||||
<nav id="fork-nav" class="f-menu @if ($p->fNavigation['search']) f-main-nav-search @endif">
|
||||
<div id="fork-navdir">
|
||||
<input id="id-mn-checkbox" class="f-menu-checkbox" type="checkbox">
|
||||
<input hidden id="id-mn-checkbox" class="f-menu-checkbox" type="checkbox">
|
||||
<label id="id-mn-label" class="f-menu-toggle" for="id-mn-checkbox"></label>
|
||||
<ul class="f-menu-items">
|
||||
@foreach ($p->fNavigation as $key => $val)
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
@else
|
||||
<article id="p{{ $post->id }}" class="f-post @if (1 == $post->user->gender) f-user-male @elseif (2 == $post->user->gender) f-user-female @endif @if ($post->user->online) f-user-online @endif @if (1 === $post->postNumber) f-post-first @endif">
|
||||
@if ($p->enableMod && $post->postNumber > 1)
|
||||
<input id="checkbox-{{ $post->id }}" class="f-post-checkbox" type="checkbox" name="ids[{{ $post->id }}]" value="{{ $post->id }}" form="id-form-mod">
|
||||
<input hidden id="checkbox-{{ $post->id }}" class="f-post-checkbox" type="checkbox" name="ids[{{ $post->id }}]" value="{{ $post->id }}" form="id-form-mod">
|
||||
@endif
|
||||
<header class="f-post-header">
|
||||
<h3 class="f-phead-h3">@if ($post->postNumber > 1){!! __('Re') !!} @endif{{ $p->model->name }}</h3>
|
||||
|
|
|
@ -372,10 +372,6 @@ body,
|
|||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
#fork .f-menu-checkbox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/****************/
|
||||
/* Главное меню */
|
||||
/****************/
|
||||
|
@ -2049,11 +2045,6 @@ body,
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
#fork .f-ftlist .f-fch,
|
||||
#fork .f-post-checkbox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#fork .f-ftlist label.f-ficon {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
|
Loading…
Add table
Reference in a new issue