App page route styles

This commit is contained in:
Cüneyt Şentürk 2020-02-24 13:10:02 +03:00
parent b462e66e33
commit 558b51d588
3 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@
<a href="{{ route('apps.free') }}" class="btn btn-sm btn-white header-button-top">{{ trans('modules.top_free') }}</a>
</div>
<div class="col-xs-12 col-sm-3 text-right">
{!! Form::open(['route' => ['apps.search'], 'role' => 'form', 'method' => 'GET', 'class' => 'm-0']) !!}
{!! Form::open(['route' => 'apps.search', 'role' => 'form', 'method' => 'GET', 'class' => 'm-0']) !!}
<input name="keyword" value="{{ isset($keyword) ? $keyword : '' }}" type="text" class="form-control form-control-sm d-inline-block w-auto" placeholder="Search Apps">
<span class="glyphicon glyphicon-search form-control-feedback"></span>
{!! Form::close() !!}

View File

@ -2,7 +2,7 @@
<div class="card">
<div class="card-header py-2">
<h4 class="ml--3 mb-0 float-left">
<a href="{{ route('apps.app.show', [$module->slug]) }}">{{ $module->name }}</a>
<a href="{{ route('apps.app.show', $module->slug) }}">{{ $module->name }}</a>
</h4>
@if (isset($installed[$module->slug]))
@php $color = 'bg-green'; @endphp
@ -16,7 +16,7 @@
@endif
</div>
<a href="{{ route('apps.app.show', [$module->slug]) }}">
<a href="{{ route('apps.app.show', $module->slug) }}">
@foreach ($module->files as $file)
@if (($file->media_type == 'image') && ($file->pivot->zone == 'thumbnail'))
<img src="{{ $file->path_string }}" alt="{{ $module->name }}" class="card-img-top border-radius-none">

View File

@ -2,13 +2,13 @@
<div class="card">
<div class="card-header py-2">
<div class="float-left ml--3">
<h4 class="mb-0"><a href="{{ route('apps.app.show', [$module->slug]) }}">{{ $module->name }}</a></h4>
<h4 class="mb-0"><a href="{{ route('apps.app.show', $module->slug) }}">{{ $module->name }}</a></h4>
</div>
<div class="float-right mr--3">
<span class="badge badge-pill badge-danger">{{ trans('modules.badge.pre_sale') }}</span>
</div>
</div>
<a href="{{ route('apps.app.show', [$module->slug]) }}">
<a href="{{ route('apps.app.show', [module->slug) }}">
@foreach ($module->files as $file)
@if (($file->media_type == 'image') && ($file->pivot->zone == 'thumbnail'))
<img src="{{ $file->path_string }}" alt="{{ $module->name }}" class="card-img-top card-border">