restart
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<script src="{{ mix('/bootstrap.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script src="{{ mix('/admin-lte.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script src="{{ mix('/boilerplate.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script>$.ajaxSetup({headers:{'X-CSRF-TOKEN':'{{ csrf_token() }}'}});</script>
|
||||
@stack('js')
|
||||
</body>
|
||||
</html>
|
||||
@@ -28,14 +28,16 @@
|
||||
@if(config('boilerplate.locale.switch', false))
|
||||
<div class="dropdown-wrapper">
|
||||
<div class="form-group">
|
||||
<select class="form-control form-control-sm" onchange="if (this.value) window.location.href=this.value">
|
||||
{!! Form::open(['route' => 'boilerplate.lang.switch', 'method' => 'post', 'autocomplete'=> 'off']) !!}
|
||||
<select class="form-control form-control-sm" name="lang" onchange="this.form.submit()">
|
||||
@foreach(collect(config('boilerplate.locale.languages'))->map(function($e){return $e['label'];})->toArray() as $lang => $label)
|
||||
<option value="{{ route('boilerplate.lang.switch', $lang) }}" {{ $lang === App::getLocale() ? 'selected' : '' }}>{{ $label }}</option>
|
||||
<option value="{{ $lang }}" {{ $lang === App::getLocale() ? 'selected' : '' }}>{{ $label }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
@endcomponent
|
||||
@endsection
|
||||
@endsection
|
||||
@@ -21,13 +21,20 @@
|
||||
</div>
|
||||
@endif
|
||||
@if($type === 'password')
|
||||
{!! Form::password($name, array_merge(['class' => 'form-control'.$errors->first($name,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
{!! Form::password($name, array_merge(['class' => 'form-control'.$errors->first($nameDot,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
@elseif($type === 'file')
|
||||
{!! Form::file($name, array_merge(['class' => 'form-control-file'.$errors->first($name,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
{!! Form::file($name, array_merge(['class' => 'form-control-file'.$errors->first($nameDot,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
@elseif($type === 'select')
|
||||
{!! Form::select($name, $options ?? [], old($name, $value ?? ''), array_merge(['class' => 'form-control'.$errors->first($name,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
{!! Form::select($name, $options ?? [], old($name, $value ?? ''), array_merge(['class' => 'form-control'.$errors->first($nameDot,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
@else
|
||||
{!! Form::{$type ?? 'text'}($name, old($name, $value ?? ''), array_merge(['class' => 'form-control'.$errors->first($name,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
@if($clearable ?? false)
|
||||
<div class="input-clearable">
|
||||
<span class="fa fa-times fa-xs"{!! old($name, $value ?? '') !== '' ? ' style="display:block"' : '' !!}></span>
|
||||
@endif
|
||||
{!! Form::{$type ?? 'text'}($name, old($name, $value ?? ''), array_merge(['class' => 'form-control'.$errors->first($nameDot,' is-invalid').(isset($class) ? ' '.$class : '')], $attributes)) !!}
|
||||
@if($clearable ?? false)
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@if($append || $appendText)
|
||||
<div class="input-group-append">
|
||||
@@ -44,7 +51,7 @@
|
||||
@if($help ?? false)
|
||||
<small class="form-text text-muted">@lang($help)</small>
|
||||
@endif
|
||||
@error($name)
|
||||
@error($nameDot)
|
||||
<div class="error-bubble"><div>{{ $message }}</div></div>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
@isset($label)
|
||||
<label for="{{ $id }}">{!! __($label) !!}</label>
|
||||
@endisset
|
||||
<select id="{{ $id }}" name="{{ $name }}" class="form-control{{ $errors->first($name,' is-invalid') }}{{ isset($class) ? ' '.$class : '' }}"{!! !empty($attributes) ? ' '.$attributes : '' !!} style="visibility:hidden;height:1rem" autocomplete="off">
|
||||
<select id="{{ $id }}" name="{{ $name }}" class="form-control{{ $errors->first($nameDot,' is-invalid') }}{{ isset($class) ? ' '.$class : '' }}"{!! !empty($attributes) ? ' '.$attributes : '' !!} style="visibility:hidden;height:1rem" autocomplete="off">
|
||||
@if(!isset($multiple))
|
||||
<option></option>
|
||||
@endif
|
||||
@@ -20,7 +20,7 @@
|
||||
@if($help ?? false)
|
||||
<small class="form-text text-muted">@lang($help)</small>
|
||||
@endif
|
||||
@error($name)
|
||||
@error($nameDot)
|
||||
<div class="error-bubble"><div>{{ $message }}</div></div>
|
||||
@enderror
|
||||
</div>
|
||||
@@ -28,21 +28,36 @@
|
||||
@component('boilerplate::minify')
|
||||
<script>
|
||||
whenAssetIsLoaded('select2', () => {
|
||||
let parent = $('#{{ $id }}').parent();
|
||||
$('#{{ $id }}').select2({
|
||||
window.{{ 'S2_'.\Str::camel($id) }} = $('#{{ $id }}').select2({
|
||||
placeholder: '{{ $placeholder ?? '—' }}',
|
||||
allowClear: {{ $allowClear }},
|
||||
language: "{{ App::getLocale() }}",
|
||||
direction: "@lang('boilerplate::layout.direction')",
|
||||
minimumInputLength: {{ $minimumInputLength ?? 0 }},
|
||||
minimumInputLength: {{ $minimumInputLength ?? intval(isset($model)) }},
|
||||
minimumResultsForSearch: {{ $minimumResultsForSearch ?? 10 }},
|
||||
width: '100%',
|
||||
dropdownAutoWidth: true,
|
||||
dropdownParent: parent,
|
||||
dropdownParent: $('#{{ $id }}').parent(),
|
||||
tags: {{ $tags ?? 0 }},
|
||||
escapeMarkup: function(markup) { return markup },
|
||||
@isset($ajax)
|
||||
ajax: {
|
||||
delay: 200,
|
||||
url: '{{ $ajax }}',
|
||||
data: function (param) {
|
||||
return {
|
||||
q: param.term,
|
||||
length: {{ $maxLength ?? 10 }},
|
||||
@isset($model)
|
||||
m: "{{ $model }}",
|
||||
@endisset
|
||||
@if(!empty($ajaxParams))
|
||||
@foreach ($ajaxParams as $k => $v)
|
||||
{{ $k }}: "{{ $v }}",
|
||||
@endforeach
|
||||
@endif
|
||||
}
|
||||
},
|
||||
method: 'post'
|
||||
}
|
||||
@endisset
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
@isset($label)
|
||||
<label for="{{ $id }}">{!! __($label) !!}</label>
|
||||
@endisset
|
||||
<textarea id="{{ $id }}" name="{{ $name }}"{!! !empty($attributes) ? ' '.$attributes : '' !!} style="visibility:hidden">{!! old($name, $value ?? $slot ?? '') !!}</textarea>
|
||||
<textarea id="{{ $id }}" name="{{ $name }}"{!! !empty($attributes) ? ' '.$attributes : '' !!} style="visibility:hidden{{ $minHeight ?? false ? ';min-height:'.$minHeight.'px' : '' }}">{!! old($name, $value ?? $slot ?? '') !!}</textarea>
|
||||
@if($help ?? false)
|
||||
<small class="form-text text-muted">@lang($help)</small>
|
||||
@endif
|
||||
@error($name)
|
||||
@error($nameDot)
|
||||
<div class="error-bubble"><div>{{ $message }}</div></div>
|
||||
@enderror
|
||||
</div>
|
||||
@@ -17,9 +17,11 @@
|
||||
@component('boilerplate::minify')
|
||||
<script>
|
||||
whenAssetIsLoaded('{!! mix('/plugins/tinymce/tinymce.min.js', '/assets/vendor/boilerplate') !!}', () => {
|
||||
tinymce.init({
|
||||
window.{{ 'MCE_'.\Str::camel($id) }} = tinymce.init({
|
||||
selector: '#{{ $id }}',
|
||||
toolbar_sticky: {{ ($sticky ?? false) ? 'true' : 'false' }},
|
||||
{{ $minHeight ?? false ? 'min_height:'.$minHeight.',' : '' }}
|
||||
{{ $maxHeight ?? false ? 'max_height:'.$maxHeight.',' : '' }}
|
||||
@if(setting('darkmode', false) && config('boilerplate.theme.darkmode'))
|
||||
skin : "boilerplate-dark",
|
||||
content_css: 'boilerplate-dark',
|
||||
@@ -27,7 +29,7 @@
|
||||
skin : "oxide",
|
||||
content_css: null,
|
||||
@endif
|
||||
@if(App::getLocale() !== 'en')
|
||||
@if(App::getLocale() !== 'en')
|
||||
language: '{{ App::getLocale() }}'
|
||||
@endif
|
||||
});
|
||||
|
||||
@@ -1,34 +1,30 @@
|
||||
<div class="content-header pt-2 pb-1">
|
||||
<div class="container-fluid">
|
||||
<div class="row mb-2 align-items-end">
|
||||
<div class="col-sm-6">
|
||||
<h1 class="m-0">
|
||||
{{ $title }}
|
||||
@if(isset($subtitle))
|
||||
<small class="font-weight-light ml-1 text-md">{{ $subtitle }}</small>
|
||||
@endif
|
||||
</h1>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb float-sm-right text-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('boilerplate.dashboard') }}">
|
||||
{{ __('boilerplate::layout.home') }}
|
||||
</a>
|
||||
</li>
|
||||
@if(isset($breadcrumb))
|
||||
@foreach($breadcrumb as $label => $route)
|
||||
@if(is_numeric($label))
|
||||
<li class="breadcrumb-item active">{{ $route }}</li>
|
||||
@elseif(is_array($route))
|
||||
<li class="breadcrumb-item"><a href="{{ route($route[0], $route[1]) }}">{{ $label }}</a></li>
|
||||
@else
|
||||
<li class="breadcrumb-item"><a href="{{ route($route) }}">{{ $label }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
</ol>
|
||||
</div>
|
||||
<div class="d-flex align-items-end flex-wrap justify-content-between pb-2">
|
||||
<h1 class="m-0 pr-3">
|
||||
{{ $title }}
|
||||
@if(isset($subtitle))
|
||||
<small class="font-weight-light ml-1 text-md">{{ $subtitle }}</small>
|
||||
@endif
|
||||
</h1>
|
||||
<ol class="breadcrumb text-sm">
|
||||
<li class="breadcrumb-item">
|
||||
<a href="{{ route('boilerplate.dashboard') }}">
|
||||
{{ __('boilerplate::layout.home') }}
|
||||
</a>
|
||||
</li>
|
||||
@if(isset($breadcrumb))
|
||||
@foreach($breadcrumb as $label => $route)
|
||||
@if(is_numeric($label))
|
||||
<li class="breadcrumb-item active">{{ $route }}</li>
|
||||
@elseif(is_array($route))
|
||||
<li class="breadcrumb-item"><a href="{{ route($route[0], $route[1]) }}">{{ $label }}</a></li>
|
||||
@else
|
||||
<li class="breadcrumb-item"><a href="{{ route($route) }}">{{ $label }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
<footer class="main-footer text-sm">
|
||||
<strong>
|
||||
© {{ date('Y') }}
|
||||
@if(config('boilerplate.theme.footer.vendorlink'))
|
||||
<a href="{{ config('boilerplate.theme.footer.vendorlink') }}">
|
||||
{!! config('boilerplate.theme.footer.vendorname') !!}
|
||||
</a>.
|
||||
@else
|
||||
{!! config('boilerplate.theme.footer.vendorname') !!}.
|
||||
@endif
|
||||
</strong>
|
||||
{{ __('boilerplate::layout.rightsres') }}
|
||||
<div class="float-right d-none d-sm-inline">
|
||||
<div class="d-flex justify-content-between flex-wrap">
|
||||
<div>
|
||||
<strong>
|
||||
© {{ date('Y') }}
|
||||
@if(config('boilerplate.theme.footer.vendorlink'))
|
||||
<a href="{{ config('boilerplate.theme.footer.vendorlink') }}">
|
||||
{!! config('boilerplate.theme.footer.vendorname') !!}
|
||||
</a>.
|
||||
@else
|
||||
{!! config('boilerplate.theme.footer.vendorname') !!}.
|
||||
@endif
|
||||
</strong>
|
||||
{{ __('boilerplate::layout.rightsres') }}
|
||||
</div>
|
||||
<a href="https://github.com/sebastienheyd/boilerplate">
|
||||
Boilerplate
|
||||
Boilerplate | {{ \Composer\InstalledVersions::getPrettyVersion('sebastienheyd/boilerplate') }}
|
||||
</a>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -6,59 +6,20 @@
|
||||
<i class="fas fa-fw fa-bars"></i>
|
||||
</a>
|
||||
</li>
|
||||
@foreach(app('boilerplate.navbar.items')->getItems('left') as $view){!! $view !!}@endforeach
|
||||
</ul>
|
||||
@foreach(app('boilerplate.navbar.items')->getItems('left') as $view)
|
||||
{!! $view !!}
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="navbar-right ml-auto d-flex">
|
||||
@foreach(app('boilerplate.navbar.items')->getItems('right') as $view)
|
||||
{!! $view !!}
|
||||
@endforeach
|
||||
<ul class="nav navbar-nav">
|
||||
@if(config('boilerplate.locale.switch', false))
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle px-2" data-toggle="dropdown" href="#" aria-expanded="false">
|
||||
{{ Config::get('boilerplate.locale.languages.'.App::getLocale().'.label') }}
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right" style="left: inherit; right: 0px;">
|
||||
@foreach(collect(config('boilerplate.locale.languages'))->map(function($e){return $e['label'];})->toArray() as $lang => $label)
|
||||
@if ($lang !== App::getLocale())
|
||||
<a href="{{ route('boilerplate.lang.switch', $lang) }}" class="dropdown-item">{{ $label }}</a>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</li>
|
||||
@endif
|
||||
@if(config('boilerplate.theme.navbar.user.visible'))
|
||||
<li class="nav-item">
|
||||
<a href="{{ route('boilerplate.user.profile') }}" class="nav-link d-flex align-items-center px-2">
|
||||
<img src="{{ Auth::user()->avatar_url }}" class="avatar-img img-circle bg-gray mr-0 mr-md-2 elevation-{{ config('boilerplate.theme.navbar.user.shadow') }}" alt="{{ Auth::user()->name }}" height="32">
|
||||
<span class="d-none d-md-block">{{ Auth::user()->name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@if(config('boilerplate.theme.darkmode', false))
|
||||
<li class="nav-item">
|
||||
<a class="nav-link px-2" data-widget="darkmode" href="#" role="button">
|
||||
@if(setting('darkmode', false))
|
||||
<i class="fas fa-fw fa-sun"></i>
|
||||
@else
|
||||
<i class="far fa-fw fa-moon"></i>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@if(config('boilerplate.theme.fullscreen', false))
|
||||
<li class="nav-item">
|
||||
<a class="nav-link px-2" data-widget="fullscreen" href="#" role="button">
|
||||
<i class="fas fa-fw fa-expand-arrows-alt"></i>
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
@includeWhen(config('boilerplate.theme.navbar.user.visible'), 'boilerplate::layout.header.user')
|
||||
@foreach(app('boilerplate.navbar.items')->getItems('right') as $view){!! $view !!}@endforeach
|
||||
@includeWhen((config('boilerplate.app.allowImpersonate') && Auth::user()->hasRole('admin')) || session()->has('impersonate'), 'boilerplate::layout.header.impersonate')
|
||||
@includeWhen(config('boilerplate.locale.switch', false), 'boilerplate::layout.header.language')
|
||||
@includeWhen(config('boilerplate.theme.darkmode', false), 'boilerplate::layout.header.darkmode')
|
||||
@includeWhen(config('boilerplate.theme.fullscreen', false), 'boilerplate::layout.header.fullscreen')
|
||||
<li class="nav-item">
|
||||
{!! Form::open(['route' => 'boilerplate.logout', 'method' => 'post', 'id' => 'logout-form']) !!}
|
||||
<button type="submit" class="btn nav-link d-flex align-items-center logout px-2" data-question="{{ __('boilerplate::layout.logoutconfirm') }}">
|
||||
<button type="submit" class="btn nav-link d-flex align-items-center logout px-2" data-question="{{ __('boilerplate::layout.logoutconfirm') }}" data-toggle="tooltip" title="@lang('boilerplate::layout.logout')">
|
||||
<span class="fa fa-fw fa-power-off hidden-xs pr-1"></span>
|
||||
</button>
|
||||
{!! Form::close() !!}
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
$.ajaxSetup({headers:{'X-CSRF-TOKEN':'{{ csrf_token() }}'}});
|
||||
bootbox.setLocale('{{ App::getLocale() }}');
|
||||
var bpRoutes={
|
||||
settings:"{{ route('boilerplate.settings',null,false) }}"
|
||||
settings:"{{ route('boilerplate.user.settings',null,false) }}"
|
||||
};
|
||||
var session={
|
||||
keepalive:"{{ route('boilerplate.keepalive', null, false) }}",
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
<aside class="main-sidebar sidebar-{{ config('boilerplate.theme.sidebar.type') }}-{{ config('boilerplate.theme.sidebar.links.bg') }} elevation-{{ config('boilerplate.theme.sidebar.shadow') }}">
|
||||
<a href="{{ route('boilerplate.dashboard') }}" class="brand-link {{ !empty(config('boilerplate.theme.sidebar.brand.bg')) ? 'bg-'.config('boilerplate.theme.sidebar.brand.bg') : ''}}">
|
||||
<a href="{{ route('boilerplate.dashboard') }}" class="brand-link d-flex {{ !empty(config('boilerplate.theme.sidebar.brand.bg')) ? 'bg-'.config('boilerplate.theme.sidebar.brand.bg') : ''}}">
|
||||
<span class="brand-logo bg-{{ config('boilerplate.theme.sidebar.brand.logo.bg') }} elevation-{{ config('boilerplate.theme.sidebar.brand.logo.shadow') }}">
|
||||
{!! config('boilerplate.theme.sidebar.brand.logo.icon') !!}
|
||||
</span>
|
||||
<span class="brand-text">{!! config('boilerplate.theme.sidebar.brand.logo.text') !!}</span>
|
||||
<span class="brand-text text-truncate pr-2" title="{!! strip_tags(config('boilerplate.theme.sidebar.brand.logo.text')) !!}">{!! config('boilerplate.theme.sidebar.brand.logo.text') !!}</span>
|
||||
</a>
|
||||
<div class="sidebar">
|
||||
@if(config('boilerplate.theme.sidebar.user.visible'))
|
||||
<div class="user-panel py-3 d-flex">
|
||||
<div class="user-panel d-flex align-items-center">
|
||||
<div class="image">
|
||||
<img src="{{ Auth::user()->avatar_url }}" class="avatar-img img-circle elevation-{{ config('boilerplate.theme.sidebar.user.shadow') }}" alt="{{ Auth::user()->name }}">
|
||||
</div>
|
||||
<div class="info">
|
||||
<a href="{{ route('boilerplate.user.profile') }}" class="d-block">{{ Auth::user()->name }}</a>
|
||||
<a href="{{ route('boilerplate.user.profile') }}" class="d-flex flex-wrap">
|
||||
<span class="mr-1">{{ Auth::user()->first_name }}</span>
|
||||
<span class="text-truncate text-uppercase font-weight-bolder">{{ Auth::user()->last_name }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<nav class="mt-3">
|
||||
<nav class="mt-2">
|
||||
{!! $menu !!}
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@component('boilerplate::card')
|
||||
@empty($percents)
|
||||
{{ __('boilerplate::logs.list.empty-logs') }}
|
||||
@else
|
||||
<div class="row">
|
||||
<div class="mb-3 ml-auto mr-auto col-md-6 col-lg-3">
|
||||
<canvas id="stats-doughnut-chart" height="300"></canvas>
|
||||
@@ -40,6 +43,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endempty
|
||||
@slot('footer')
|
||||
<div class="text-right text-muted small">
|
||||
{!! __('boilerplate::logs.vendor') !!}
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="11" class="text-center">
|
||||
<span class="badge badge-pill badge-default">{{ trans('log-viewer::general.empty-logs') }}</span>
|
||||
<span class="badge badge-pill badge-default">{{ __('boilerplate::logs.list.empty-logs') }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@@ -28,15 +28,21 @@
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
@component('boilerplate::card', ['title' => __('boilerplate::logs.show.levels'), 'color' => 'info'])
|
||||
@include('boilerplate::logs._partials.levels')
|
||||
@endcomponent
|
||||
@component('boilerplate::card', ['title' => __('boilerplate::logs.show.loginfo'), 'color' => 'warning'])
|
||||
@include('boilerplate::logs._partials.informations')
|
||||
@endcomponent
|
||||
<div class="col-12 col-xl-3">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6 col-lg-6 col-xl-12">
|
||||
@component('boilerplate::card', ['title' => __('boilerplate::logs.show.levels'), 'color' => 'info'])
|
||||
@include('boilerplate::logs._partials.levels')
|
||||
@endcomponent
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-6 col-xl-12">
|
||||
@component('boilerplate::card', ['title' => __('boilerplate::logs.show.loginfo'), 'color' => 'warning'])
|
||||
@include('boilerplate::logs._partials.informations')
|
||||
@endcomponent
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-9">
|
||||
<div class="col-12 col-xl-9">
|
||||
@component('boilerplate::card', ['title' => ucfirst(__('boilerplate::logs.show.file', ['date' => $date]))])
|
||||
<div class="table-responsive">
|
||||
<table id="entries" class="table table-sm">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@component('boilerplate::card', ['color' => 'warning', 'title' => 'CodeMirror'])
|
||||
Usage :
|
||||
<pre><x-boilerplate::codemirror name="code">.color { color: red; }</x-boilerplate::codemirror></pre>
|
||||
<x-boilerplate::codemirror name="code"><h1>CodeMirror demo</h1>
|
||||
@component('boilerplate::codemirror', ['name' => 'code'])<h1>CodeMirror demo</h1>
|
||||
<style>
|
||||
.color {
|
||||
color: red;
|
||||
@@ -12,7 +12,7 @@
|
||||
alert('demo');
|
||||
});
|
||||
</script>
|
||||
</x-boilerplate::codemirror>
|
||||
@endcomponent
|
||||
@slot('footer')
|
||||
<div class="small text-muted text-right">
|
||||
<a href="https://sebastienheyd.github.io/boilerplate/components/codemirror" target="_blank">component</a> /
|
||||
|
||||
@@ -7,38 +7,38 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 d-flex">
|
||||
<x-boilerplate::icheck name="c1" label="" class="mb-0" checked />
|
||||
<x-boilerplate::icheck name="c1" label="" class="mb-0" />
|
||||
<x-boilerplate::icheck name="c1" label="Primary checkbox" class="mb-0" disabled />
|
||||
@component('boilerplate::icheck', ['name' => 'c1', 'label' => '', 'class' => 'mb-0', 'checked' => true])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'c1', 'label' => '', 'class' => 'mb-0'])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'c1', 'label' => 'Primary checkbox', 'class' => 'mb-0', 'disabled' => true])@endcomponent
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex">
|
||||
<x-boilerplate::icheck name="r1" type="radio" label="" class="mb-0" checked />
|
||||
<x-boilerplate::icheck name="r1" type="radio" label="" class="mb-0" />
|
||||
<x-boilerplate::icheck name="r1" type="radio" label="Primary radio" class="mb-0" disabled />
|
||||
@component('boilerplate::icheck', ['name' => 'r1', 'type' => 'radio', 'label' => '', 'class' => 'mb-0', 'checked' => true])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'r1', 'type' => 'radio', 'label' => '', 'class' => 'mb-0'])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'r1', 'type' => 'radio', 'label' => 'Primary checkbox', 'class' => 'mb-0', 'disabled' => true])@endcomponent
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 d-flex">
|
||||
<x-boilerplate::icheck color="danger" name="c2" label="" class="mb-0" checked />
|
||||
<x-boilerplate::icheck color="danger" name="c2" label="" class="mb-0" />
|
||||
<x-boilerplate::icheck color="danger" name="c2" label="Danger checkbox" class="mb-0" disabled />
|
||||
@component('boilerplate::icheck', ['name' => 'c2', 'color' => 'danger', 'label' => '', 'class' => 'mb-0', 'checked' => true])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'c2', 'color' => 'danger', 'label' => '', 'class' => 'mb-0'])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'c2', 'color' => 'danger', 'label' => 'Primary checkbox', 'class' => 'mb-0', 'disabled' => true])@endcomponent
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex">
|
||||
<x-boilerplate::icheck color="danger" name="r2" type="radio" label="" class="mb-0" checked />
|
||||
<x-boilerplate::icheck color="danger" name="r2" type="radio" label="" class="mb-0" />
|
||||
<x-boilerplate::icheck color="danger" name="r2" type="radio" label="Danger radio" class="mb-0" disabled />
|
||||
@component('boilerplate::icheck', ['name' => 'r2', 'color' => 'danger', 'type' => 'radio', 'label' => '', 'class' => 'mb-0', 'checked' => true])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'r2', 'color' => 'danger', 'type' => 'radio', 'label' => '', 'class' => 'mb-0'])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'r2', 'color' => 'danger', 'type' => 'radio', 'label' => 'Primary checkbox', 'class' => 'mb-0', 'disabled' => true])@endcomponent
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 d-flex">
|
||||
<x-boilerplate::icheck color="success" name="c3" label="" class="mb-0" checked />
|
||||
<x-boilerplate::icheck color="success" name="c3" label="" class="mb-0" />
|
||||
<x-boilerplate::icheck color="success" name="c3" label="Danger checkbox" class="mb-0" disabled />
|
||||
@component('boilerplate::icheck', ['name' => 'c3', 'color' => 'success', 'label' => '', 'class' => 'mb-0', 'checked' => true])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'c3', 'color' => 'success', 'label' => '', 'class' => 'mb-0'])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'c3', 'color' => 'success', 'label' => 'Primary checkbox', 'class' => 'mb-0', 'disabled' => true])@endcomponent
|
||||
</div>
|
||||
<div class="col-sm-6 d-flex">
|
||||
<x-boilerplate::icheck color="success" name="r3" type="radio" label="" class="mb-0" checked />
|
||||
<x-boilerplate::icheck color="success" name="r3" type="radio" label="" class="mb-0" />
|
||||
<x-boilerplate::icheck color="success" name="r3" type="radio" label="Danger radio" class="mb-0" disabled />
|
||||
@component('boilerplate::icheck', ['name' => 'r3', 'color' => 'success', 'type' => 'radio', 'label' => '', 'class' => 'mb-0', 'checked' => true])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'r3', 'color' => 'success', 'type' => 'radio', 'label' => '', 'class' => 'mb-0'])@endcomponent
|
||||
@component('boilerplate::icheck', ['name' => 'r3', 'color' => 'success', 'type' => 'radio', 'label' => 'Primary checkbox', 'class' => 'mb-0', 'disabled' => true])@endcomponent
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
</div>
|
||||
</div>
|
||||
@component('boilerplate::card')
|
||||
<x-boilerplate::datatable name="roles" />
|
||||
@component('boilerplate::datatable', ['name' => 'roles']) @endcomponent
|
||||
@endcomponent
|
||||
@endsection
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@component('boilerplate::card')
|
||||
<x-boilerplate::datatable name="users"/>
|
||||
@component('boilerplate::datatable', ['name' => 'users']) @endcomponent
|
||||
@endcomponent
|
||||
@endsection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user