Layout 2 has now 2 different search routes, the default search route is now /main for a better thumbnail view and index search is only working on the /index site itself may contain minor other css improvements/fixes
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 172 KiB |
5
public/njum/css/cstms.css
vendored
5
public/njum/css/cstms.css
vendored
@@ -1094,4 +1094,9 @@ ul.pagination {
|
||||
|
||||
img.comment_emoji {
|
||||
max-width: 4rem;
|
||||
}
|
||||
|
||||
div#list {
|
||||
padding: 0;
|
||||
padding-bottom: 2em;
|
||||
}
|
@@ -55,11 +55,19 @@
|
||||
@else
|
||||
@endif
|
||||
|
||||
@if (\Request::is('index'))
|
||||
<div class="search-index hidden-xs d-none d-md-block">
|
||||
<form method="get" action="/index" class="form-inline my-2 my-lg-0">
|
||||
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'form-control mr-sm-2 search-input text-light', 'placeholder' => 'Search w0bm.com']) !!}
|
||||
<button class="btn btn-dark" type="submit">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@else
|
||||
<div class="search-index hidden-xs d-none d-md-block">
|
||||
<form method="get" action="/main" class="form-inline my-2 my-lg-0">
|
||||
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'form-control mr-sm-2 search-input text-light', 'placeholder' => 'Search w0bm.com']) !!}
|
||||
<button class="btn btn-dark" type="submit">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
@endif
|
||||
</nav>
|
||||
|
Reference in New Issue
Block a user