code[class*="language-"],
58 | pre[class*="language-"] {
59 | background: #f5f2f0;
60 | }
61 |
62 | /* Inline code */
63 | :not(pre) > code[class*="language-"] {
64 | padding: .1em;
65 | border-radius: .3em;
66 | }
67 |
68 | .token.comment,
69 | .token.prolog,
70 | .token.doctype,
71 | .token.cdata {
72 | color: slategray;
73 | }
74 |
75 | .token.punctuation {
76 | color: #999;
77 | }
78 |
79 | .namespace {
80 | opacity: .7;
81 | }
82 |
83 | .token.property,
84 | .token.tag,
85 | .token.boolean,
86 | .token.number,
87 | .token.constant,
88 | .token.symbol,
89 | .token.deleted {
90 | color: #905;
91 | }
92 |
93 | .token.selector,
94 | .token.attr-name,
95 | .token.string,
96 | .token.char,
97 | .token.builtin,
98 | .token.inserted {
99 | color: #690;
100 | }
101 |
102 | .token.operator,
103 | .token.entity,
104 | .token.url,
105 | .language-css .token.string,
106 | .style .token.string {
107 | color: #a67f59;
108 | background: hsla(0, 0%, 100%, .5);
109 | }
110 |
111 | .token.atrule,
112 | .token.attr-value,
113 | .token.keyword {
114 | color: #07a;
115 | }
116 |
117 | .token.function {
118 | color: #DD4A68;
119 | }
120 |
121 | .token.regex,
122 | .token.important,
123 | .token.variable {
124 | color: #e90;
125 | }
126 |
127 | .token.important,
128 | .token.bold {
129 | font-weight: bold;
130 | }
131 | .token.italic {
132 | font-style: italic;
133 | }
134 |
135 | .token.entity {
136 | cursor: help;
137 | }
138 |
139 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/content.inline.min.css:
--------------------------------------------------------------------------------
1 | .word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,.mce-content-body.mce-content-readonly *[contentEditable=true]:hover{outline:none}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.mce-content-body table{-webkit-nbsp-mode:normal}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2}.mce-content-body{line-height:1.3}
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/content.min.css:
--------------------------------------------------------------------------------
1 | body{background-color:#FFFFFF;color:#000000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.3;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDDDDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px}.word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,.mce-content-body.mce-content-readonly *[contentEditable=true]:hover{outline:none}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.mce-content-body table{-webkit-nbsp-mode:normal}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2}
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/content.mobile.min.css:
--------------------------------------------------------------------------------
1 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{position:absolute;display:inline-block;background-color:green;opacity:.5}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-mobile.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-mobile.woff
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-small.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-small.eot
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-small.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-small.ttf
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-small.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce-small.woff
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce.eot
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce.ttf
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/fonts/tinymce.woff
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/anchor.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/anchor.gif
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/loader.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/loader.gif
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/object.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/object.gif
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/trans.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/tinymce/skins/lightgray/img/trans.gif
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/base.blade.php:
--------------------------------------------------------------------------------
1 | @_lvt_example
2 |
3 | @section('header')
4 | {{-- page css are not dynamic loaded, because there's no way to clean it up once loaded, and it will affect other pages --}}
5 | {{-- commonly used css --}}
6 | @endsection
7 |
8 | @section('title')
9 | @yield('title') {{-- expose title for subpages --}}
10 | @endsection
11 |
12 | @section('header-lr')
13 | @yield('header-lr') {{-- expose for subpages --}}
14 | @endsection
15 |
16 | @section('header-rl')
17 | @yield('header-rl') {{-- expose for subpages --}}
18 | @endsection
19 |
20 | @section('header-rr')
21 | @yield('header-rr') {{-- expose for subpages --}}
22 | @endsection
23 |
24 | {{ $slot }}
25 |
26 | @section('import')
27 | {{-- commonly used js --}}
28 | @endsection
29 |
30 | @section('js')
31 | {{-- these section will be dynamic loaded, and you can use __destructor to clean things up before load another page --}}
32 | @yield('js') {{-- expose for subpages --}}
33 | @endsection
34 |
35 | @end_lvt_example
36 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/basic/b-image.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 | The BootstrapVue
Image component is fully supported.'
5 |
6 |
7 | Fluid
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Source Code
16 | @php echo e( <<<'DOC'
17 |
18 |
19 | DOC
20 | )@endphp
21 |
22 |
23 | Thumbnail
24 |
25 |
26 |
27 |
28 |
29 |
30 | Source Code
31 | @php echo e( <<<'DOC'
32 |
33 |
34 |
35 | DOC
36 | )@endphp
37 |
38 |
39 | With v-bind
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 | Source Code
51 | @php echo e( <<<'DOC'
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 | DOC
60 | )@endphp
61 |
62 |
63 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/basic/b-list.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 | The BootstrapVue
List Group component is fully supported.
5 |
6 |
7 | List Group
8 |
9 |
10 | This is a default list group item
11 | This is a active list group item
12 | This is a primary list group item
13 | This is a secondary list group item
14 | This is a success list group item
15 | This is a danger list group item
16 | This is a warning list group item
17 | This is a info list group item
18 | This is a light list group item
19 | This is a dark list group item
20 |
21 |
22 |
23 | Source Code
24 | @php echo e( <<<'DOC'
25 |
26 | This is a default list group item
27 | This is a active list group item
28 | This is a primary list group item
29 | This is a secondary list group item
30 | This is a success list group item
31 | This is a danger list group item
32 | This is a warning list group item
33 | This is a info list group item
34 | This is a light list group item
35 | This is a dark list group item
36 |
37 | DOC
38 | )@endphp
39 |
40 |
41 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/basic/confirm.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Default
4 |
5 | Click Me
6 |
7 |
8 | Source Code
9 | @php echo e( <<<'DOC'
10 | Click Me
11 | DOC
12 | )@endphp
13 |
14 |
15 | Type
16 |
17 | Success
18 | Warning
19 | Error
20 |
21 |
22 | Source Code
23 | @php echo e( <<<'DOC'
24 | Success
25 | Warning
26 | Error
27 | DOC
28 | )@endphp
29 |
30 |
31 | Callback
32 |
33 | Pass
34 | Fail
35 |
36 |
37 | Source Code
38 | @php echo e( <<<'DOC'
39 | Pass
40 | Fail
41 | DOC
42 | )@endphp
43 |
44 |
45 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/basic/helper.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 | Load
5 |
6 |
7 | {!! <<<'DOC'
8 | A Javascript Load helper is registered to asynchronously load page.
9 |
10 | By providing the second param menu_id to manually refresh the active sidebar menu
11 | DOC;
12 | ; !!}
13 |
14 | {!! <<<'DOC'
15 | __load('/users')
16 | __load('/users?page=2', '/users')
17 | DOC;
18 | ; !!}
19 |
20 | @php echo e( <<<'DOC'
21 | Since the new page are loaded without page redirect, there are few things we may need to known.
22 |
23 | Vue don't compile `script` tag, you should write javascript in js section of a blade file.
24 |
25 | When a new page is requested, the `__destructor` of current page will be executed to clean things up,
26 | and then execute the scripts of new page.
27 |
28 | ```
29 | @section('js')
30 |
40 | @endsection('js')
41 | ```
42 |
43 | Page css is not allowed because it's hard to undo the effects once it's loaded asynchronously.
44 |
45 | You should load all the css files you may need on the base page and change page style by using javascript.
46 |
47 | DOC
48 | )@endphp
49 |
50 |
51 | Url
52 | {!! <<<'DOC'
53 | A Javascript [Url](https://www.npmjs.com/package/url) helper library is registered.
54 |
55 | Additionally, a `__url.param` function helps when dealing with param repalcement.
56 | DOC;
57 | ; !!}
58 |
59 | {!! <<<'DOC'
60 | __url.resolve('http://example.com/', '/one') // 'http://example.com/one'
61 | __url.resolve('http://example.com/one', '/two') // 'http://example.com/two'
62 | __url.resolve('/one/two/three', 'four') // '/one/two/four'
63 | __url.resolve('/one/two/five?page=1', '?page=2') // '/one/two/five?page=2'
64 | __url.param('/one/two/five?page=1&key=abc', 'page=2') // '/one/two/five?key=abc&page=2'
65 | DOC;
66 | ; !!}
67 |
68 |
69 | Store
70 | {!! <<<'DOC'
71 | A Javascript [Store](https://www.npmjs.com/package/store) helper library is registered.
72 | DOC;
73 | ; !!}
74 |
75 |
76 |
77 |
78 | {!! <<<'DOC'
79 | // Store current user
80 | __store.set('user', { name:'Marcus' })
81 |
82 | // Get current user
83 | __store.get('user')
84 |
85 | // Remove current user
86 | __store.remove('user')
87 |
88 | // Clear all keys
89 | __store.clearAll()
90 |
91 | // Loop over all stored values
92 | __store.each(function(value, key) {
93 | console.log(key, '==', value)
94 | })
95 |
96 | __store.set('foo', 'bar 1')
97 | __store.set('foo', 'bar 2')
98 | __store.getHistory('foo') == ['bar 1', 'bar 2']
99 | DOC;
100 | ; !!}
101 |
102 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/basic/notify.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Default
4 |
5 | Click Me
6 | Title
7 |
8 |
9 | Source Code
10 | @php echo e( <<<'DOC'
11 | Click Me
12 | Title
13 | DOC
14 | )@endphp
15 |
16 |
17 | Type
18 |
19 | Success
20 | Warning
21 | Error
22 |
23 |
24 | Source Code
25 | @php echo e( <<<'DOC'
26 | Success
27 | Warning
28 | Error
29 | DOC
30 | )@endphp
31 |
32 |
33 | Duration
34 |
35 | Duration
36 | Forever
37 |
38 |
39 | Source Code
40 | @php echo e( <<<'DOC'
41 | Duration
42 | Forever
43 | DOC
44 | )@endphp
45 |
46 |
47 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/basic/paginate.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | @php
4 | $path = \Illuminate\Support\Facades\Request::fullUrl();
5 | $page = request()->get('page', 1);
6 | $users = new \Illuminate\Pagination\LengthAwarePaginator(array_fill(0, 50, 1), 50, 5, $page,['path' => $path]);
7 | @endphp
8 |
9 | {!! <<<'DOC'
10 | A paginate method is provided to replace the default laravel bootstrap 4 pagination link style.
11 |
12 | ```php
13 | VueAdmin::create($namespace, 'example')->with('menus', $menus)->paginate()->boot();
14 | ```
15 |
16 | If you want to use the default bootstrap 4 pagination style simultaneously, use `links('pagination::bootstrap-4')`.
17 | DOC;
18 | ; !!}
19 |
20 | Default
21 |
22 | {{ $users->links() }}
23 |
24 |
25 | This line is generated by default paginater
26 |
27 | {{ $users->links('pagination::bootstrap-4') }}
28 |
29 |
30 | Source Code
31 | {!! <<<'DOC'
32 | {{ $users->links() }}
33 | {{ $users->links('pagination::bootstrap-4') }}
34 | DOC;
35 | ; !!} {!! <<<'DOC'
36 | > The `lvt` prefix is the namespace that VueAdmin registered
37 | DOC;
38 | ; !!}
39 |
40 |
41 | {!! <<<'DOC'
42 | When there's more than one pagination links, remember to change the pagination param name to avoid conflicts.
43 |
44 | ```php
45 | $paginator = App\Models\SomeModel::paginate(10, ['*'], 'another_page_param');
46 | $paginator->setPageName('another_page_param');
47 | ```
48 | DOC;
49 | ; !!}
50 |
51 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/chart/chart-bar.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | @php
4 | $data = [
5 | 'CMCC' => [220, 182, 191, 134, 150, 120, 110, 125, 145, 122, 165, 122],
6 | 'C0CC' => [220, 182, 125, 145, 122, 191, 34, 50, 120, 110, 165, 122],
7 | 'CUCC' => [220, 182, 125, 15, 122, 191, 134, 150, 120, 110, 165, 122],
8 | ];
9 | $refs = ["13:00", "13:05", "13:10", "13:15", "13:20", "13:25", "13:30", "13:35", "13:40", "13:45", "13:50", "13:55"];
10 | $legends = ["中文图例", "数据2", "数据3"];
11 | @endphp
12 |
13 | {!! <<<'DOC'
14 | $data = [
15 | 'CMCC' => [220, 182, 191, 134, 150, 120, 110, 125, 145, 122, 165, 122],
16 | 'C0CC' => [220, 182, 125, 145, 122, 191, 34, 50, 120, 110, 165, 122],
17 | 'CUCC' => [220, 182, 125, 15, 122, 191, 134, 150, 120, 110, 165, 122],
18 | ];
19 | $refs = ["13:00", "13:05", "13:10", "13:15", "13:20", "13:25", "13:30", "13:35", "13:40", "13:45", "13:50", "13:55"];
20 | $legends = ["中文图例", "数据2", "数据3"];
21 | DOC;
22 | ; !!}
23 |
24 |
25 | Basic
26 |
27 | @json($data)
28 |
29 |
30 | Source Code
31 | @php echo e( <<<'DOC'
32 | @json($data)
33 | DOC
34 | )@endphp
35 |
36 |
37 | Stack
38 |
39 | @json($data)
40 |
41 |
42 | Source Code
43 | @php echo e( <<<'DOC'
44 | @json($data)
45 | DOC
46 | )@endphp
47 |
48 |
49 | chart-bar Attributes
50 |
51 | [
52 | {"attribute": "refs", "description": "reference on x axis", "type": "string of json array", "options": "—", "default": "—"},
53 | {"attribute": "title", "description": "title of chart", "type": "string", "options": "—", "default": "—"},
54 | {"attribute": "width", "description": "width of chart", "type": "string", "options": "—", "default": "100%"},
55 | {"attribute": "height", "description": "height of chart", "type": "string", "options": "—", "default": "200px"},
56 | {"attribute": "x-name", "description": "name of x axis", "type": "string", "options": "—", "default": "—"},
57 | {"attribute": "y-name", "description": "name of y axis", "type": "string", "options": "—", "default": "—"},
58 | {"attribute": "legends", "description": "legends of chart", "type": "string of json array", "options": "—", "default": "—"},
59 | {"attribute": "stack", "description": "stack mode", "type": "boolean", "options": "—", "default": "false"}
60 | ]
61 |
62 |
63 |
64 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/chart/chart-line.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | @php
4 | $data = [
5 | 'CMCC' => [220, 182, 191, 134, 150, 120, 110, 125, 145, 122, 165, 122],
6 | 'C0CC' => [220, 182, 125, 145, 122, 191, 34, 50, 120, 110, 165, 122],
7 | 'CUCC' => [220, 182, 125, 15, 122, 191, 134, 150, 120, 110, 165, 122],
8 | ];
9 | $refs = ["13:00", "13:05", "13:10", "13:15", "13:20", "13:25", "13:30", "13:35", "13:40", "13:45", "13:50", "13:55"];
10 | $legends = ["中文图例", "数据2", "数据3"];
11 | @endphp
12 |
13 | {!! <<<'DOC'
14 | $data = [
15 | 'CMCC' => [220, 182, 191, 134, 150, 120, 110, 125, 145, 122, 165, 122],
16 | 'C0CC' => [220, 182, 125, 145, 122, 191, 34, 50, 120, 110, 165, 122],
17 | 'CUCC' => [220, 182, 125, 15, 122, 191, 134, 150, 120, 110, 165, 122],
18 | ];
19 | $refs = ["13:00", "13:05", "13:10", "13:15", "13:20", "13:25", "13:30", "13:35", "13:40", "13:45", "13:50", "13:55"];
20 | $legends = ["中文图例", "数据2", "数据3"];
21 | DOC;
22 | ; !!}
23 |
24 |
25 | Basic
26 |
27 | @json($data)
28 |
29 |
30 | source code
31 | @php echo e( <<<'DOC'
32 | @json($data)
33 | DOC
34 | )@endphp
35 |
36 |
37 | Smooth
38 |
39 | @json($data)
40 |
41 |
42 | Source Code
43 | @php echo e( <<<'DOC'
44 | @json($data)
45 | DOC
46 | )@endphp
47 |
48 |
49 | Step at Start
50 |
51 | @json($data)
52 |
53 |
54 | Source Code
55 | @php echo e( <<<'DOC'
56 | @json($data)
57 | DOC
58 | )@endphp
59 |
60 |
61 | Step at Middle
62 |
63 | @json($data)
64 |
65 |
66 | Source Code
67 | @php echo e( <<<'DOC'
68 | @json($data)
69 | DOC
70 | )@endphp
71 |
72 |
73 | Step at End
74 |
75 | @json($data)
76 |
77 |
78 | Source Code
79 | @php echo e( <<<'DOC'
80 | @json($data)
81 | DOC
82 | )@endphp
83 |
84 |
85 | chart-line Attributes
86 |
87 | [
88 | {"attribute": "refs", "description": "reference on x axis", "type": "string of json array", "options": "—", "default": "—"},
89 | {"attribute": "title", "description": "title of chart", "type": "string", "options": "—", "default": "—"},
90 | {"attribute": "width", "description": "width of chart", "type": "string", "options": "—", "default": "100%"},
91 | {"attribute": "height", "description": "height of chart", "type": "string", "options": "—", "default": "200px"},
92 | {"attribute": "x-name", "description": "name of x axis", "type": "string", "options": "—", "default": "—"},
93 | {"attribute": "y-name", "description": "name of y axis", "type": "string", "options": "—", "default": "—"},
94 | {"attribute": "legends", "description": "legends of chart", "type": "string of json array", "options": "—", "default": "—"},
95 | {"attribute": "smooth", "description": "smooth mode", "type": "boolean", "options": "—", "default": "false"},
96 | {"attribute": "step", "description": "step mode", "type": "string", "options": "start,middle,end", "default": "—"}
97 | ]
98 |
99 |
100 |
101 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/chart/chart-rose.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | @php
4 | $data = [
5 | ["value" => 10, "name" => "rose1"],
6 | ["value" => 5, "name" => "rose2"],
7 | ["value" => 15, "name" => "rose3"],
8 | ["value" => 25, "name" => "rose4"],
9 | ["value" => 20, "name" => "rose5"]
10 | ];
11 | @endphp
12 |
13 | {!! <<<'DOC'
14 | $data = [
15 | ["value" => 10, "name" => "rose1"],
16 | ["value" => 5, "name" => "rose2"],
17 | ["value" => 15, "name" => "rose3"],
18 | ["value" => 25, "name" => "rose4"],
19 | ["value" => 20, "name" => "rose5"]
20 | ];
21 | DOC;
22 | ; !!}
23 |
24 |
25 | Area
26 |
27 | @json($data)
28 |
29 |
30 | source code
31 | @php echo e( <<<'DOC'
32 | @json($data)
33 | DOC
34 | )@endphp
35 |
36 |
37 | Radius
38 |
39 | @json($data)
40 |
41 |
42 | source code
43 | @php echo e( <<<'DOC'
44 | @json($data)
45 | DOC
46 | )@endphp
47 |
48 |
49 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/chart/chart-table.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | @php
4 | $data = [
5 | [ "age" => 40, "first_name" => "Dickerson", "isActive" => true, "last_name" => "Macdonald" ],
6 | [ "age" => 21, "first_name" => "Larsen", "isActive" => false, "last_name" => "Shaw" ],
7 | [ "age" => 89, "first_name" => "Geneva", "isActive" => false, "last_name" => "Wilson" ],
8 | [ "age" => 38, "first_name" => "Jami", "isActive" => true, "last_name" => "Carney" ],
9 | ];
10 | @endphp
11 |
12 | {!! <<<'DOC'
13 | $data = [
14 | [ "age" => 40, "first_name" => "Dickerson", "isActive" => true, "last_name" => "Macdonald" ],
15 | [ "age" => 21, "first_name" => "Larsen", "isActive" => false, "last_name" => "Shaw" ],
16 | [ "age" => 89, "first_name" => "Geneva", "isActive" => false, "last_name" => "Wilson" ],
17 | [ "age" => 38, "first_name" => "Jami", "isActive" => true, "last_name" => "Carney" ],
18 | ];
19 | DOC;
20 | ; !!}
21 |
22 |
23 | Table
24 |
25 | @json($data)
26 |
27 |
28 | source code
29 | @php echo e( <<<'DOC'
30 | @json($data)
31 | DOC
32 | )@endphp
33 |
34 |
35 | ElementUI
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 | source code
46 | @php echo e( <<<'DOC'
47 |
48 |
49 |
50 |
51 |
52 |
53 | DOC
54 | )@endphp @php echo e( <<<'DOC'
55 | For Eloquent pagination, you may use `:data='@json($paginator->toArray()['data'])'` to bind data.
56 | DOC
57 | )@endphp
58 |
59 | @endlvt_example
60 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/dashboard.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 |
5 | Welcome, man
6 |
7 |
8 | A Laravel admin template to use Vue tags in blades
9 |
10 |
11 | Just pick a tag and put data in, we'll handle the render stuff.
12 |
14 | Page Source
15 |
16 | New Issue
17 |
18 |
19 |
20 |
21 | What's Included
22 |
23 | Quick Tour
24 |
25 |
26 |
27 |
28 |
29 |
30 | Vue
31 | jQuery
32 | Lodash
33 | Axios
34 |
35 |
36 |
37 |
38 |
39 | Bootstrap
40 | Font-awesome
41 | Popper
42 | Element UI
43 | BootstrapVue
44 |
45 |
46 |
47 |
48 |
49 | Echart
50 | Tinymce
51 | CodeMirror
52 | SimpleMDE
53 |
54 |
55 |
56 |
57 |
58 |
59 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/editor/code-base.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Default
4 | {!! <<<'DOC'
5 | [
6 | {
7 | _id: "post 1",
8 | "author": "Bob",
9 | "content": "...",
10 | "page_views": 5
11 | },
12 | {
13 | "_id": "post 2",
14 | "author": "Bob",
15 | "content": "...",
16 | "page_views": 9
17 | },
18 | {
19 | "_id": "post 3",
20 | "author": "Bob",
21 | "content": "...",
22 | "page_views": 8
23 | }
24 | ]
25 | DOC;
26 | ; !!}
27 |
28 | Dark
29 | {!! <<<'DOC'
30 | [
31 | {
32 | _id: "post 1",
33 | "author": "Bob",
34 | "content": "...",
35 | "page_views": 5
36 | },
37 | {
38 | "_id": "post 2",
39 | "author": "Bob",
40 | "content": "...",
41 | "page_views": 9
42 | },
43 | {
44 | "_id": "post 3",
45 | "author": "Bob",
46 | "content": "...",
47 | "page_views": 8
48 | }
49 | ]
50 | DOC;
51 | ; !!}
52 |
53 | Readonly
54 | {!! <<<'DOC'
55 | [
56 | {
57 | _id: "post 1",
58 | "author": "Bob",
59 | "content": "...",
60 | "page_views": 5
61 | },
62 | {
63 | "_id": "post 2",
64 | "author": "Bob",
65 | "content": "...",
66 | "page_views": 9
67 | },
68 | {
69 | "_id": "post 3",
70 | "author": "Bob",
71 | "content": "...",
72 | "page_views": 8
73 | }
74 | ]
75 | DOC;
76 | ; !!}
77 |
78 | Size
79 | {!! <<<'DOC'
80 | [
81 | {
82 | _id: "post 1",
83 | "author": "Bob",
84 | "content": "...",
85 | "page_views": 5
86 | },
87 | {
88 | "_id": "post 2",
89 | "author": "Bob",
90 | "content": "...",
91 | "page_views": 9
92 | },
93 | {
94 | "_id": "post 3",
95 | "author": "Bob",
96 | "content": "...",
97 | "page_views": 8
98 | }
99 | ]
100 | DOC;
101 | ; !!}
102 |
103 | Disable Infinity
104 | By giving a height and set infinity to false.
105 | Specifies the amount of lines that are rendered above and below the part of the document that's currently
106 | scrolled into view. This affects the amount of updates needed when scrolling, and the amount of work that such
107 | an update does. You should usually leave it at its default, 10. Can be set to Infinity to make sure the whole
108 | document is always rendered, and thus the browser's text search works on it. This will have bad effects on
109 | performance of big documents.
110 | Try search 'xxx' which lays in the end of these codes.
111 | {!! <<<'DOC'
112 | [
113 | {
114 | _id: "post 1",
115 | "author": "Bob",
116 | "content": "...",
117 | "page_views": 5
118 | },
119 | {
120 | "_id": "post 2",
121 | "author": "Bob",
122 | "content": "...",
123 | "page_views": 9
124 | },
125 | {
126 | "_id": "post 3",
127 | "author": "Bob",
128 | "content": "...",
129 | "page_views": 8
130 | }
131 | {
132 | _id: "post 1",
133 | "author": "Bob",
134 | "content": "...",
135 | "page_views": 5
136 | },
137 | {
138 | "_id": "post 2",
139 | "author": "Bob",
140 | "content": "...",
141 | "page_views": 9
142 | },
143 | {
144 | "_id": "post 3",
145 | "author": "Bob",
146 | "content": "...",
147 | "page_views": 8
148 | }
149 | {
150 | _id: "post 1",
151 | "author": "Bob",
152 | "content": "...",
153 | "page_views": 5
154 | },
155 | {
156 | "_id": "post 2",
157 | "author": "Bob",
158 | "content": "...",
159 | "page_views": 9
160 | },
161 | {
162 | "_id": "post 3",
163 | "author": "Bob",
164 | "content": "...",
165 | "page_views"xxxx: 8
166 | }
167 | ]
168 | DOC;
169 | ; !!}
170 |
171 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/editor/code-html.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Light
4 | @php echo e( <<<'DOC'
5 |
6 |
7 |
8 | Mixed HTML Example
9 |
17 |
18 |
19 | Mixed HTML Example
20 |
25 |
26 |
27 | DOC
28 | )@endphp
29 |
30 | Dark
31 | @php echo e( <<<'DOC'
32 |
33 |
34 |
35 | Mixed HTML Example
36 |
44 |
45 |
46 | Mixed HTML Example
47 |
52 |
53 |
54 | DOC
55 | )@endphp
56 |
57 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/editor/code-json.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Light
4 | {!! <<<'DOC'
5 | [
6 | {
7 | _id: "post 1",
8 | "author": "Bob",
9 | "content": "...",
10 | "page_views": 5
11 | },
12 | {
13 | "_id": "post 2",
14 | "author": "Bob",
15 | "content": "...",
16 | "page_views": 9
17 | },
18 | {
19 | "_id": "post 3",
20 | "author": "Bob",
21 | "content": "...",
22 | "page_views": 8
23 | }
24 | ]
25 | DOC;
26 | ; !!}
27 |
28 | Dark
29 | {!! <<<'DOC'
30 | [
31 | {
32 | _id: "post 1",
33 | "author": "Bob",
34 | "content": "...",
35 | "page_views": 5
36 | },
37 | {
38 | "_id": "post 2",
39 | "author": "Bob",
40 | "content": "...",
41 | "page_views": 9
42 | },
43 | {
44 | "_id": "post 3",
45 | "author": "Bob",
46 | "content": "...",
47 | "page_views": 8
48 | }
49 | ]
50 | DOC;
51 | ; !!}
52 |
53 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/editor/code-php.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Light
4 | {!! <<<'DOC'
5 | namespace App\Http\Controllers;
6 |
7 | use Illuminate\Http\Request;
8 | use Monolog\Logger;
9 | use Monolog\Handler\StreamHandler;
10 |
11 | class TestController extends Controller
12 | {
13 | public function test()
14 | {
15 | return view('example');
16 | }
17 |
18 | public function img_upload($request)
19 | {
20 | return json_encode(array('location' => 'la'));
21 | }
22 |
23 | public function upload(Request $request) {
24 | print_r($request->input());
25 | exit();
26 | }
27 | }
28 | DOC;
29 | ; !!}
30 |
31 | Dark
32 | {!! <<<'DOC'
33 | namespace App\Http\Controllers;
34 |
35 | use Illuminate\Http\Request;
36 | use Monolog\Logger;
37 | use Monolog\Handler\StreamHandler;
38 |
39 | class TestController extends Controller
40 | {
41 | public function test()
42 | {
43 | return view('example');
44 | }
45 |
46 | public function img_upload($request)
47 | {
48 | return json_encode(array('location' => 'la'));
49 | }
50 |
51 | public function upload(Request $request) {
52 | print_r($request->input());
53 | exit();
54 | }
55 | }
56 | DOC;
57 | ; !!}
58 |
59 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/editor/markdown/md-editor.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Default
4 |
5 |
6 |
7 |
8 | Source Code
9 |
10 | @php echo e( <<<'DOC'
11 |
12 | DOC
13 | )@endphp
14 |
15 |
16 |
17 | Height
18 |
19 |
20 |
21 |
22 | Source Code
23 |
24 | @php echo e( <<<'DOC'
25 |
26 | DOC
27 | )@endphp
28 |
29 |
30 |
31 | Contents
32 |
33 | {!! <<<'MDDOC'
34 | # hello, This is Markdown Live Preview
35 |
36 | ----
37 | ## what is Markdown?
38 | see [Wikipedia](http://en.wikipedia.org/wiki/Markdown)
39 |
40 | > Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz allowing people "to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)".
41 |
42 | ----
43 | ## usage
44 | 1. Write markdown text in this textarea.
45 | 2. Click 'HTML Preview' button.
46 |
47 | ----
48 | ## markdown quick reference
49 | # headers
50 |
51 | *emphasis*
52 |
53 | **strong**
54 |
55 | * list
56 |
57 | > block quote
58 |
59 | code (4 spaces indent)
60 |
61 | ```
62 | code (3 grave)
63 | ```
64 |
65 | `code (grave quoted)`
66 |
67 | [links](http://wikipedia.org)
68 |
69 | MDDOC;
70 | ; !!}
71 |
72 |
73 | Source Code
74 |
75 | @php echo e( <<<'DOC'
76 | {!! <<<'MDDOC'
77 | # hello, This is Markdown Live Preview
78 |
79 | ----
80 | ## what is Markdown?
81 | see [Wikipedia](http://en.wikipedia.org/wiki/Markdown)
82 |
83 | > Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz allowing people "to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)".
84 |
85 | ----
86 | ## usage
87 | 1. Write markdown text in this textarea.
88 | 2. Click 'HTML Preview' button.
89 |
90 | ----
91 | ## markdown quick reference
92 | # headers
93 |
94 | *emphasis*
95 |
96 | **strong**
97 |
98 | * list
99 |
100 | > block quote
101 |
102 | code (4 spaces indent)
103 |
104 | ```
105 | code (3 grave)
106 | ```
107 |
108 | `code (grave quoted)`
109 |
110 | [links](http://wikipedia.org)
111 |
112 | MDDOC;
113 | ; !!}
114 | DOC
115 | )@endphp
116 |
117 |
118 |
119 | AutoSave
120 | Type something and refresh the window to see what happens
121 |
122 |
123 |
124 |
125 | Source Code
126 |
127 | @php echo e( <<<'DOC'
128 |
129 | DOC
130 | )@endphp
131 |
132 |
133 |
134 | Check Submits
135 |
136 |
137 | {{ csrf_field() }}
138 | Check It Out
139 |
140 |
141 | @endlvt_example
142 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/editor/markdown/md-renderer.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | {!! <<<'DOC'
4 | # hello, This is Markdown Live Preview
5 |
6 | ----
7 | ## what is Markdown?
8 | see [Wikipedia](http://en.wikipedia.org/wiki/Markdown)
9 |
10 | > Markdown is a lightweight markup language, originally created by John Gruber and Aaron Swartz allowing people "to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML)".
11 |
12 | ----
13 | ## usage
14 | 1. Write markdown text in this textarea.
15 | 2. Click 'HTML Preview' button.
16 |
17 | ----
18 | ## markdown quick reference
19 | # headers
20 |
21 | *emphasis*
22 |
23 | **strong**
24 |
25 | * list
26 |
27 | > block quote
28 |
29 | code (4 spaces indent)
30 |
31 | ```
32 | code (3 grave)
33 | ```
34 |
35 | `code (grave quoted)`
36 |
37 | [links](http://wikipedia.org)
38 |
39 | DOC;
40 | ; !!}
41 |
42 | @endlvt_example
43 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/editor/text-editor.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Default
4 |
5 |
6 |
7 |
8 | Source Code
9 |
10 | @php echo e( <<<'TXTDOC'
11 |
12 | TXTDOC
13 | )@endphp
14 |
15 |
16 |
17 | Height
18 |
19 |
20 |
21 |
22 | Source Code
23 |
24 | @php echo e( <<<'DOC'
25 |
26 | DOC
27 | )@endphp
28 |
29 |
30 |
31 | AutoSave
32 | Restore lost work by selecting Restore last draft from the File menu
33 | Editors with the same autosave prop will both changes the same saved content
34 |
35 |
{!! <<<'DOC'
36 | testijjfoaodfajofaoasfdasfasdfasfasfsafadgasdasdfs
adf
<?php exit();
fasdfasffsadfdasgasf asaasdfasfgasg
dfafasfdasdfsadf
37 | DOC;
38 | ; !!}
39 |
40 |
41 | Source Code
42 |
43 | @php echo e( <<<'TXTDOC'
44 | {!! <<<'DOC'
45 | testijjfoaodfajofaoasfdasfasdfasfasfsafadgasdasdfs
adf
<?php exit();
fasdfasffsadfdasgasf asaasdfasfgasg
dfafasfdasdfsadf
46 | DOC;
47 | ; !!}
50 |
51 |
52 |
53 | Check Submits
54 |
55 |
56 | {{ csrf_field() }}
57 | Check It Out
58 |
59 |
60 | @endlvt_example
61 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/form/fm-checkbox.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Checkbox Basics
4 |
5 |
6 | Washington
7 | Chicago
8 |
9 |
10 | Button Style
11 |
12 |
13 | Washington
14 | Chicago
15 |
16 |
17 | Default Value
18 |
19 |
20 |
21 |
22 |
23 |
24 | Disable All
25 |
26 |
27 |
28 |
29 |
30 | Sizing
31 |
32 | Normal
33 | Medium
34 |
35 |
36 | Small
37 | Mini
38 |
39 |
40 | Minimum / Maximum
41 |
42 |
43 |
44 |
45 |
46 |
47 | el-checkbox Attributes
48 |
49 | [
50 | {"attribute":"label","description":"value of the Checkbox when used inside a checkbox-group","type":"string / number / boolean","options":"—","default":"—"},
51 | {"attribute":"true-label","description":"value of the Checkbox if it's checked","type":"string / number","options":"—","default":"—"},
52 | {"attribute":"false-label","description":"value of the Checkbox if it's not checked","type":"string / number","options":"—","default":"—"},
53 | {"attribute":"disabled","description":"whether the Checkbox is disabled","type":"boolean","options":"—","default":"false"},
54 | {"attribute":"border","description":"whether to add a border around Checkbox","type":"boolean","options":"—","default":"false"},
55 | {"attribute":"size","description":"size of the Checkbox, only works when border is true","type":"string","options":"medium / small / mini","default":"—"},
56 | {"attribute":"name","description":"native 'name' attribute","type":"string","options":"—","default":"—"},
57 | {"attribute":"checked","description":"if the Checkbox is checked","type":"boolean","options":"—","default":"false"},
58 | {"attribute":"indeterminate","description":"same as indeterminate in native checkbox","type":"boolean","options":"—","default":"false"}
59 | ]
60 |
61 |
62 | fm-checkbox Attributes
63 |
64 | [
65 | {"attribute":"value","description":"default value, comma separated","type":"string","options":"—","default":"—"},
66 | {"attribute":"size","description":"size of checkbox buttons or bordered checkboxes","type":"string","options":"medium / small / mini","default":"—"},
67 | {"attribute":"disabled","description":"whether the nesting checkboxes are disabled","type":"boolean","options":"—","default":"false"},
68 | {"attribute":"min","description":"minimum number of checkbox checked","type":"number","options":"—","default":"—"},
69 | {"attribute":"max","description":"maximum number of checkbox checked","type":"number","options":"—","default":"—"}
70 | ]
71 |
72 |
73 | Check Submits
74 |
75 | {{ csrf_field() }}
76 |
77 |
78 |
79 |
80 |
81 | Check It Out
82 |
83 |
84 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/form/fm-date.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Date
4 |
5 |
6 | Datetime
7 |
8 |
9 | Date Range
10 |
11 |
12 | Datetime Range
13 |
14 |
15 | Default Value
16 |
17 |
18 |
19 | Range Limit
20 |
21 |
22 |
23 |
24 | Disabled
25 |
26 |
27 | Sizing
28 |
29 |
30 |
31 |
32 | fm-date Attributes
33 |
34 | [
35 | {"attribute":"name","description":"same as name in native input","type":"string","options":"—","default":"—"},
36 | {"attribute":"value","description":"default value, ms based timestamp","type":"number","options":"—","default":"—"},
37 | {"attribute":"range","description":"selectable range, comma separated, ms based timestamp","type":"string","options":"—","default":"—"},
38 | {"attribute":"readonly","description":"whether DatePicker is read only","type":"boolean","options":"—","default":"false"},
39 | {"attribute":"disabled","description":"whether DatePicker is disabled","type":"boolean","options":"—","default":"false"},
40 | {"attribute":"size","description":"size of Input","type":"string","options":"large/small/mini","default":"—"},
41 | {"attribute":"editable","description":"whether the input is editable","type":"boolean","options":"—","default":"true"},
42 | {"attribute":"clearable","description":"Whether to show clear button","type":"boolean","options":"—","default":"true"},
43 | {"attribute":"placeholder","description":"placeholder","type":"string","options":"—","default":"—"},
44 | {"attribute":"type","description":"type of the picker","type":"string","options":"year/month/date/dates/datetime/ week/datetimerange/daterange","default":"date"},
45 | {"attribute":"format","description":"format of the displayed value in the input box","type":"string","options":"see date formats","default":"yyyy-MM-dd"}
46 | ]
47 |
48 |
49 | Check Submits
50 |
51 | {{ csrf_field() }}
52 |
53 |
54 | Check It Out
55 |
56 |
57 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/form/fm-input.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Input Basics
4 |
5 |
6 | Placeholder
7 |
8 |
9 | Tip
10 |
11 |
12 | Default Value
13 |
14 |
15 | Disabled
16 |
17 |
18 | Readonly
19 |
20 |
21 | Sizing
22 |
23 |
24 |
25 |
26 | Minimum / Maximum
27 | Minimum is buggy
28 |
29 |
30 | Textarea
31 |
32 |
33 |
34 | Numbers
35 |
36 |
37 |
38 |
39 |
40 |
41 | fm-input Attributes
42 |
43 | [
44 | {"attribute":"type","description":"type of input","type":"string","options":"text, textarea and other native input types","default":"text"},
45 | {"attribute":"value","description":"binding value","type":"string / number","options":"—","default":"—"},
46 | {"attribute":"max","description":"same as maxlength in native input","type":"number","options":"—","default":"—"},
47 | {"attribute":"min","description":"same as minlength in native input","type":"number","options":"—","default":"—"},
48 | {"attribute":"placeholder","description":"placeholder of Input","type":"string","options":"—","default":"—"},
49 | {"attribute":"clearable","description":"whether to show clear button","type":"boolean","options":"—","default":"false"},
50 | {"attribute":"disabled","description":"whether Input is disabled","type":"boolean","options":"—","default":"false"},
51 | {"attribute":"size","description":"size of Input, works when type is not 'textarea'","type":"string","options":"medium / small / mini","default":"—"},
52 | {"attribute":"rows","description":"number of rows of textarea, only works when type is 'textarea'","type":"number","options":"—","default":"2"},
53 | {"attribute":"name","description":"same as name in native input","type":"string","options":"—","default":"—"},
54 | {"attribute":"readonly","description":"same as readonly in native input","type":"boolean","options":"—","default":"false"},
55 | {"attribute":"max","description":"same as max in native input","type":"—","options":"—","default":"—"},
56 | {"attribute":"min","description":"same as min in native input","type":"—","options":"—","default":"—"},
57 | {"attribute":"resize","description":"control the resizability","type":"string","options":"none, both, horizontal, vertical","default":"—"},
58 | {"attribute":"tip","description":"tips of Input when hover","type":"string","options":"—","default":"—"}
59 | ]
60 |
61 |
62 | fm-number Attributes
63 |
64 | [
65 | {"attribute":"value","description":"binding value","type":"number","options":"—","default":"—"},
66 | {"attribute":"min","description":"the minimum allowed value","type":"number","options":"—","default":"-Infinity"},
67 | {"attribute":"max","description":"the maximum allowed value","type":"number","options":"—","default":"Infinity"},
68 | {"attribute":"step","description":"incremental step","type":"number","options":"—","default":"1"},
69 | {"attribute":"precision","description":"precision of input value","type":"number","options":"—","default":"—"},
70 | {"attribute":"size","description":"size of the component","type":"string","options":"large/small","default":"—"},
71 | {"attribute":"disabled","description":"whether the component is disabled","type":"boolean","options":"—","default":"false"},
72 | {"attribute":"controls","description":"whether to enable the control buttons","type":"boolean","options":"—","default":"true"},
73 | {"attribute":"controls-position","description":"position of the control buttons","type":"string","options":"right","default":"—"},
74 | {"attribute":"name","description":"same as name in native input","type":"string","options":"—","default":"—"}
75 | ]
76 |
77 |
78 | Todo
79 | Mixed input
80 |
81 | Check Submits
82 |
83 | {{ csrf_field() }}
84 |
85 |
86 | Check It Out
87 |
88 |
89 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/form/fm-radio.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Radio Basics
4 |
5 |
6 | Bordered
7 | Disabled
8 |
9 |
10 | Button Style
11 |
12 |
13 | Washington
14 | Chicago
15 |
16 |
17 | Default Value
18 |
19 |
20 |
21 |
22 |
23 |
24 | Disable All
25 |
26 |
27 |
28 |
29 |
30 | Sizing
31 | Notice the changed size. Bigger one takes effect.
32 |
33 | Normal
34 | Medium
35 |
36 |
37 | Small
38 | Mini
39 |
40 |
41 | Cross Group Effects
42 | These radios have same name.
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | el-radio Attributes
53 |
54 | [
55 | {"attribute":"label","description":"the value of Radio","type":"string / number / boolean","options":"—","default":"—"},
56 | {"attribute":"disabled","description":"whether Radio is disabled","type":"boolean","options":"—","default":"false"},
57 | {"attribute":"border","description":"whether to add a border around Radio","type":"boolean","options":"—","default":"false"},
58 | {"attribute":"size","description":"size of the Radio, only works when border is true","type":"string","options":"medium / small / mini","default":"—"},
59 | {"attribute":"name","description":"native 'name' attribute","type":"string","options":"—","default":"—"}
60 | ]
61 |
62 |
63 | fm-radio Attributes
64 |
65 | [
66 | {"attribute":"value","description":"default value","type":"string","options":"—","default":"—"},
67 | {"attribute":"size","description":"size of checkbox buttons or bordered checkboxes","type":"string","options":"medium / small / mini","default":"—"},
68 | {"attribute":"disabled","description":"whether the nesting checkboxes are disabled","type":"boolean","options":"—","default":"false"}
69 | ]
70 |
71 |
72 | Check Submits
73 |
74 | {{ csrf_field() }}
75 |
76 |
77 |
78 |
79 |
80 | Check It Out
81 |
82 |
83 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/form/fm-switch.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Switch Basics
4 |
5 |
6 | Default on
7 |
8 |
9 |
10 |
11 |
12 | Custom Width
13 |
14 |
15 | Disabled
16 |
17 |
18 | Custom Color
19 |
20 |
21 | Custom Text
22 |
23 |
24 | Set active value
25 | The default value uploaded is string "true" or "false"
26 |
27 |
28 | Check Submits
29 |
30 | {{ csrf_field() }}
31 |
32 |
33 | Check It Out
34 |
35 |
36 | fm-switch Attributes
37 |
38 | [
39 | {"attribute":"name","description":"input name of Switch","type":"string","options":"—","default":"—"},
40 | {"attribute":"disabled","description":"whether Switch is disabled","type":"boolean","options":"—","default":"false"},
41 | {"attribute":"on","description":"default on or not","type":"boolean","options":"—","default":"false"},
42 | {"attribute":"value","description":"default value, higher priority over `on` attribute","type":"boolean / string / number","options":"—","default":"false"},
43 | {"attribute":"width","description":"width of Switch","type":"number","options":"—","default":"40"},
44 | {"attribute":"active","description":"switch value when in on state","type":"boolean / string / number","options":"—","default":"true"},
45 | {"attribute":"inactive","description":"switch value when in off state","type":"boolean / string / number","options":"—","default":"false"},
46 | {"attribute":"active-text","description":"text displayed when in on state","type":"string","options":"—","default":"—"},
47 | {"attribute":"inactive-text","description":"text displayed when in off state","type":"string","options":"—","default":"—"},
48 | {"attribute":"active-color","description":"background color when in on state","type":"string","options":"—","default":"#409EFF"},
49 | {"attribute":"inactive-color","description":"background color when in off state","type":"string","options":"—","default":"#C0CCDA"}
50 | ]
51 |
52 |
53 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/form/fm-time.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Time Basics
4 |
5 |
6 | Time Range
7 |
8 |
9 | Range Limits
10 |
11 |
12 | Default Value
13 |
14 |
15 |
16 | Disabled
17 |
18 |
19 | Sizing
20 |
21 |
22 |
23 |
24 | fm-time Attributes
25 |
26 | [
27 | {"attribute":"name","description":"same as name in native input","type":"string","options":"—","default":"—"},
28 | {"attribute":"value","description":"default value, ms based timestamp","type":"number","options":"—","default":"—"},
29 | {"attribute":"is-range","description":"whether to pick a time range", "type":"boolean","options":"—","default":"false"},
30 | {"attribute":"range","description":"selectable range, comma separated, ms based timestamp","type":"string","options":"—","default":"—"},
31 | {"attribute":"readonly","description":"whether DatePicker is read only","type":"boolean","options":"—","default":"false"},
32 | {"attribute":"disabled","description":"whether DatePicker is disabled","type":"boolean","options":"—","default":"false"},
33 | {"attribute":"size","description":"size of Input","type":"string","options":"large/small/mini","default":"—"},
34 | {"attribute":"editable","description":"whether the input is editable","type":"boolean","options":"—","default":"true"},
35 | {"attribute":"clearable","description":"Whether to show clear button","type":"boolean","options":"—","default":"true"},
36 | {"attribute":"placeholder","description":"placeholder","type":"string","options":"—","default":"—"},
37 | {"attribute":"format","description":"format of the picker","type":"string","options":"hour HH, minute mm, second ss, AM/PM A","default":"HH:mm:ss"}
38 | ]
39 |
40 |
41 | Check Submits
42 |
43 | {{ csrf_field() }}
44 |
45 |
46 | Check It Out
47 |
48 |
49 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/form/fm-upload.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | @section('js')
4 |
18 | @endsection
19 |
20 | Default
21 |
22 |
23 | Accept
24 | detail
25 |
26 |
27 | List type
28 |
29 |
30 |
31 |
32 | Multiple
33 |
34 |
35 |
36 | Default Value
37 | Upload trigger will hide when file num limit is reached
38 |
39 |
40 | Custom Trigger
41 |
42 | Click to upload
43 |
44 |
45 | Custom Callback
46 |
47 |
48 | Source Code
49 | @php echo e( <<<'DOC'
50 |
51 | Click to upload
52 |
53 |
54 | @section('js')
55 |
69 | @endsection
70 | DOC
71 | )@endphp
72 |
73 | Check Submits
74 |
75 | {{ csrf_field() }}
76 |
77 | Check It Out
78 |
79 |
80 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/b-collapse.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 |
Toggle Collapse
5 |
6 |
7 | Collapse contents Here
8 | Toggle Inner Collapse
9 |
10 | Hello!
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | Toggle Both Collapse A and B
19 |
20 |
21 |
22 |
23 | I am collapsable content A!
24 |
25 |
26 |
27 |
28 | I am collapsable content B!
29 |
30 |
31 |
32 |
33 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/b-jumbotron.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 |
5 | Bootstrap Vue
6 |
7 |
8 | This is a simple hero unit, a simple jumbotron-style component for
9 | calling extra attention to featured content or information.
10 |
11 |
12 |
13 | It uses utility classes for typography and spacing to space content
14 | out within the larger container.
15 |
16 | Do Something
17 | Do Something Else
18 |
19 |
20 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/b-nav.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Nav
4 |
5 |
6 | Active
7 | Link
8 | Another Link
9 | Disabled
10 |
11 |
12 |
13 |
14 | NavBar
15 |
16 |
17 |
18 |
19 | NavBar
20 |
21 |
22 |
23 |
24 | Link
25 | Disabled
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | Search
34 |
35 |
36 |
37 | EN
38 | ES
39 | RU
40 | FA
41 |
42 |
43 |
44 |
45 |
46 | User
47 |
48 | Profile
49 | Signout
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 | Breadcrumb
58 |
59 | Admin
60 | Manage
61 | Library
62 |
63 |
64 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/el-carousel.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Basic
4 |
5 | 1
6 | 2
7 | 3
8 |
9 |
10 | Indicators
11 |
12 | 1
13 | 2
14 | 3
15 |
16 |
17 | Arrows
18 |
19 | 1
20 | 2
21 | 3
22 |
23 |
24 | Card mode
25 |
26 | 1
27 | 2
28 | 3
29 |
30 |
31 |
32 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/el-steps.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Steps
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | Icon
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | Description
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | Vertical
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/el-tabs.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | {{-- b-tabs is buggy when switch --}}
4 | {{----}}
5 | {{-- --}}
6 | {{-- I'm the first fading tab--}}
7 | {{-- --}}
8 | {{-- --}}
9 | {{-- I'm the second tab content--}}
10 | {{-- --}}
11 | {{-- --}}
12 | {{-- Disabled tab!--}}
13 | {{-- --}}
14 | {{-- --}}
15 |
16 | Default
17 |
18 | 用户管理
19 | 配置管理
20 | 角色管理
21 | 定时任务补偿
22 |
23 |
24 | Tab position
25 |
26 | 用户管理
27 | 配置管理
28 | 角色管理
29 | 定时任务补偿
30 |
31 |
32 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/headers.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | @php
4 | $path = \Illuminate\Support\Facades\Request::fullUrl();
5 | $page = request()->get('page', 1);
6 | $data = range($page*10, $page*10 + 10);
7 | $users = new \Illuminate\Pagination\LengthAwarePaginator($data, 100, 10, $page,['path' => $path]);
8 | @endphp
9 |
10 |
11 | @section('header-rr')
12 |
15 | @endsection
16 |
17 | @section('header-rl')
18 |
40 | @endsection
41 |
42 | @section('js')
43 |
50 | @endsection
51 |
52 | Show
53 |
54 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/layout/modal.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 | Hello from modal!
5 |
6 |
7 |
8 |
9 | Confirm
10 |
11 | Hello from modal!
12 |
13 |
14 |
15 |
16 | Fullscreen
17 |
18 | Hello from modal!
19 |
20 |
21 |
22 | Hello from modal!
23 |
24 |
25 |
26 | Hello from modal!
27 |
28 |
29 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/media/b-embed.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 |
9 |
10 |
11 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/quick-tour.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 | @php
5 | $rules = [
6 | 'name' => 'required|min:3',
7 | 'email' => 'required|email',
8 | ];
9 |
10 | $data = [
11 | 'CMCC' => [220, 182, 191, 134, 150, 120, 110, 125, 145, 122, 165, 122],
12 | 'C0CC' => [220, 182, 125, 145, 122, 191, 34, 50, 120, 110, 165, 122],
13 | 'CUCC' => [220, 182, 125, 15, 122, 191, 134, 150, 120, 110, 165, 122],
14 | ];
15 | $data['ref'] = ["13:00", "13:05", "13:10", "13:15", "13:20", "13:25", "13:30", "13:35", "13:40", "13:45", "13:50", "13:55"];
16 |
17 | $editor = <<<'DOC'
18 |
I AM HOT
19 | DOC;
20 | $json = <<<'DOC'
21 | [
22 | {
23 | _id: "post 1",
24 | "author": "Bob",
25 | "content": "...",
26 | "page_views": 5
27 | },
28 | {
29 | "_id": "post 2",
30 | "page_views": 9
31 | },
32 | ]
33 | DOC;
34 | @endphp
35 |
36 |
37 | Home
38 | Quick Tour
39 |
40 |
41 |
42 |
43 |
44 | Chart
45 |
46 |
47 | @json($data)
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | Form
56 |
57 |
58 |
59 | {{ csrf_field() }}
60 |
61 |
62 |
63 | Male
64 | Female
65 |
66 |
67 |
68 | Washington
69 | Chicago
70 |
71 |
72 | Code
73 | Eat
74 |
75 |
76 |
77 |
78 | {!! $editor !!}
79 |
80 |
81 | Check It Out
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 | Notifications
91 |
92 | Click Me
93 | Click Me
94 |
95 |
96 |
97 |
98 | Upload
99 |
100 |
101 |
103 |
104 | Drop file here or click to upload
105 |
106 | jpg/png files with a size less than 500kb
107 |
108 |
109 |
110 |
111 |
112 | Code
113 |
114 |
115 | {!! $json !!}
116 |
117 |
118 |
119 |
120 |
121 |
122 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/widget/b-badge.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 |
Example heading New
5 | Example heading New
6 | Example heading New
7 | Example heading New
8 | Example heading New
9 |
10 |
11 | Primary
12 | Secondary
13 | Success
14 | Danger
15 | Warning
16 | Info
17 | Light
18 | Dark
19 |
20 |
21 | Primary
22 | Secondary
23 | Success
24 | Danger
25 | Warning
26 | Info
27 | Light
28 | Dark
29 |
30 |
31 | Primary
32 | Secondary
33 | Success
34 | Danger
35 | Warning
36 | Info
37 | Light
38 | Dark
39 |
40 |
41 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/widget/b-popover.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 | Hover Me
5 |
6 |
7 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/widget/b-progress.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/widget/b-tooltip.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Hover Me
4 |
5 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/widget/drag.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 |
4 | Drag Me 1
5 | Drag Me 2
6 | Drag Me 3
7 |
8 |
9 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/example/widget/el-tag.blade.php:
--------------------------------------------------------------------------------
1 | @lvt_example
2 |
3 | Basic
4 | Tag One
5 | Tag Two
6 | Tag Three
7 | Tag Four
8 | Tag Five
9 |
10 | Size
11 | Medium
12 | Small
13 | Mini
14 |
15 | @endlvt_example
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/layouts/main/main.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | @yield('title')
11 |
12 |
13 | @yield('header')
14 |
15 |
16 |
17 |
18 |
21 |
22 |
31 |
32 | {{ $slot }}
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 | @if(isset($menus))
41 | @include($__theme->view('layouts.main.menu'), ['menus' => $menus])
42 | @else
43 | @include($__theme->view('layouts.main.no-menu'))
44 | @endif
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 | @yield('import')
54 | @yield('init')
55 | @yield('js')
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/layouts/main/menu.blade.php:
--------------------------------------------------------------------------------
1 | @foreach($menus as $menu)
2 | @if(empty($menu['sub']))
3 |
4 |
5 | @if(empty($sub) && !empty($menu['icon']))
6 |
7 | @endif
8 | {{$menu['name']}}
9 |
10 |
11 | @else
12 |
13 |
14 | @if(empty($sub) && !empty($menu['icon']))
15 |
16 | @endif
17 | {{$menu['name']}}
18 |
19 |
20 | @include($__theme->view('layouts.main.menu'), ['menus' => $menu['sub'], 'sub' => true])
21 |
22 | @endif
23 | @endforeach
24 |
25 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/layouts/main/no-menu.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 | Dashboard
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/src/Themes/VueAdmin/views/links/default.blade.php:
--------------------------------------------------------------------------------
1 | @if ($paginator->hasPages())
2 | { __load(__url.param('{{ $paginator->url(0) }}', '{{ $paginator->getPageName() }}='+p)) }"
4 | :current-page="{{ $paginator->currentPage() }}"
5 | :page-size="{{ $paginator->perPage() }}"
6 | layout="total, prev, pager, next, jumper"
7 | :total="{{ $paginator->total() }}">
8 |
9 | @endif
10 |
11 |
--------------------------------------------------------------------------------