fix roles
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@component('boilerplate::card', ['color' => 'warning', 'title' => 'CodeMirror'])
|
||||
Usage :
|
||||
<pre><x-boilerplate::codemirror name="code"><php echo "My code"; ?></x-boilerplate::codemirror></pre>
|
||||
<pre><x-boilerplate::codemirror name="code">.color { color: red; }</x-boilerplate::codemirror></pre>
|
||||
<x-boilerplate::codemirror name="code"><h1>CodeMirror demo</h1>
|
||||
<style>
|
||||
.color {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@include('boilerplate::load.datatables')
|
||||
|
||||
@push('js')
|
||||
@component('boilerplate::minify')
|
||||
<script>
|
||||
$(function() {
|
||||
$('#dt').dataTable({
|
||||
@@ -12,18 +13,12 @@
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endcomponent
|
||||
@endpush
|
||||
|
||||
@component('boilerplate::card', ['color' => 'orange', 'title' => 'Datatables'])
|
||||
Usage :
|
||||
<pre class="mb-3">
|
||||
@include('boilerplate::load.datatables')
|
||||
@push('js')
|
||||
<script>
|
||||
$('#dt').dataTable();
|
||||
</script>
|
||||
@endpush</pre>
|
||||
|
||||
Usage :
|
||||
<pre class="mb-3"><x-boilerplate::datatable name="users" /></pre>
|
||||
<table class="table table-sm table-striped table-hover" id="dt">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -58,6 +53,7 @@
|
||||
|
||||
@slot('footer')
|
||||
<div class="small text-muted text-right">
|
||||
<a href="https://sebastienheyd.github.io/boilerplate/components/datatable" target="_blank">component</a> /
|
||||
<a href="https://sebastienheyd.github.io/boilerplate/plugins/datatables" target="_blank">plugin</a> /
|
||||
<a href="https://datatables.net/manual/index">datatables</a>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@include('boilerplate::load.fullcalendar')
|
||||
|
||||
@push('js')
|
||||
@component('boilerplate::minify')
|
||||
<script>
|
||||
$('#calendar').fullCalendar({
|
||||
headerToolbar: {
|
||||
@@ -15,6 +16,7 @@
|
||||
events: 'https://fullcalendar.io/demo-events.json?overload-day'
|
||||
})
|
||||
</script>
|
||||
@endcomponent
|
||||
@endpush
|
||||
|
||||
@component('boilerplate::card', ['color' => 'success', 'title' => 'FullCalendar'])
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
<pre><x-boilerplate::select2 name="example" label="Example" :options="['Opt 1', 'Opt 2']" /></pre>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
@component('boilerplate::components.form.selects.select2', ['label' => 'Minimal', 'name' => 'select2_dminimal', 'selected' => 1, 'options' => $options, 'allow-clear' => 'true', 'minimum-results-for-search' => 5])@endcomponent
|
||||
@component('boilerplate::components.select2', ['label' => 'Minimal', 'name' => 'select2_dminimal', 'selected' => 1, 'options' => $options, 'allow-clear' => 'true', 'minimum-results-for-search' => 5])@endcomponent
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
@component('boilerplate::components.form.selects.select2', ['label' => 'Multiple', 'name' => 'select2_multiple', 'selected' => [1,3], 'options' => $options, 'multiple' => true])@endcomponent
|
||||
@component('boilerplate::components.select2', ['label' => 'Multiple', 'name' => 'select2_multiple', 'selected' => [1,3], 'options' => $options, 'multiple' => true])@endcomponent
|
||||
</div>
|
||||
</div>
|
||||
@slot('footer')
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<pre><x-boilerplate::tinymce name="tinymce">
|
||||
<h2>TinyMCE demo</h2><p>Lorem ipsum dolor sit amet.</p>
|
||||
</x-boilerplate::tinymce></pre>
|
||||
@component('boilerplate::tinymce', ['name' => 'tinymce'])
|
||||
@component('boilerplate::tinymce', ['name' => 'tinymce', 'sticky' => true])
|
||||
<h2>TinyMCE demo</h2><p>Lorem ipsum dolor sit amet.</p>
|
||||
@endcomponent()
|
||||
@slot('footer')
|
||||
|
||||
Reference in New Issue
Block a user