├── .gitignore ├── LICENSE ├── README.md ├── README_CN.md ├── composer.json ├── composer.lock └── src ├── File.php ├── Menu.php ├── Theme.php ├── ThemeServiceProvider.php └── Themes └── VueAdmin ├── ExampleController.php ├── VueAdmin.php ├── public ├── css │ ├── app.css │ └── pace.css ├── fonts │ └── vendor │ │ ├── element-ui │ │ └── lib │ │ │ └── theme-chalk │ │ │ ├── element-icons.ttf │ │ │ └── element-icons.woff │ │ └── font-awesome │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 ├── icons │ └── svg │ │ ├── 404.svg │ │ ├── bug.svg │ │ ├── cart.svg │ │ ├── chart.svg │ │ ├── clipboard.svg │ │ ├── component.svg │ │ ├── coupon.svg │ │ ├── dashboard.svg │ │ ├── documentation.svg │ │ ├── drag.svg │ │ ├── edit.svg │ │ ├── education.svg │ │ ├── email.svg │ │ ├── example.svg │ │ ├── excel.svg │ │ ├── exit-fullscreen.svg │ │ ├── eye-open.svg │ │ ├── eye.svg │ │ ├── form.svg │ │ ├── from.svg │ │ ├── fullscreen.svg │ │ ├── gift.svg │ │ ├── goods.svg │ │ ├── guide.svg │ │ ├── hourglass.svg │ │ ├── icon.svg │ │ ├── international.svg │ │ ├── language.svg │ │ ├── link.svg │ │ ├── list.svg │ │ ├── lock.svg │ │ ├── message.svg │ │ ├── money.svg │ │ ├── nested.svg │ │ ├── password.svg │ │ ├── pdf.svg │ │ ├── people.svg │ │ ├── peoples.svg │ │ ├── pic_roll.svg │ │ ├── pics.svg │ │ ├── qq.svg │ │ ├── refund.svg │ │ ├── search.svg │ │ ├── setting.svg │ │ ├── shopping.svg │ │ ├── shouce.svg │ │ ├── size.svg │ │ ├── skill.svg │ │ ├── star.svg │ │ ├── tab.svg │ │ ├── table.svg │ │ ├── theme.svg │ │ ├── timer.svg │ │ ├── tree-table.svg │ │ ├── tree.svg │ │ ├── tubiao.svg │ │ ├── user.svg │ │ ├── wechat.svg │ │ └── zip.svg ├── js │ ├── app.js │ ├── manifest.js │ ├── pace.js │ └── vendor.js └── tinymce │ ├── langs │ └── zh_CN.js │ ├── plugins │ └── css │ │ └── prism.css │ └── skins │ └── lightgray │ ├── content.inline.min.css │ ├── content.min.css │ ├── content.mobile.min.css │ ├── fonts │ ├── tinymce-mobile.woff │ ├── tinymce-small.eot │ ├── tinymce-small.svg │ ├── tinymce-small.ttf │ ├── tinymce-small.woff │ ├── tinymce.eot │ ├── tinymce.svg │ ├── tinymce.ttf │ └── tinymce.woff │ ├── img │ ├── anchor.gif │ ├── loader.gif │ ├── object.gif │ └── trans.gif │ ├── skin.min.css │ └── skin.mobile.min.css └── views ├── base.blade.php ├── example ├── basic │ ├── b-image.blade.php │ ├── b-list.blade.php │ ├── confirm.blade.php │ ├── el-button.blade.php │ ├── helper.blade.php │ ├── notify.blade.php │ └── paginate.blade.php ├── chart │ ├── chart-bar.blade.php │ ├── chart-line.blade.php │ ├── chart-rose.blade.php │ └── chart-table.blade.php ├── dashboard.blade.php ├── editor │ ├── code-base.blade.php │ ├── code-html.blade.php │ ├── code-json.blade.php │ ├── code-php.blade.php │ ├── markdown │ │ ├── md-editor.blade.php │ │ └── md-renderer.blade.php │ └── text-editor.blade.php ├── form │ ├── fm-checkbox.blade.php │ ├── fm-date.blade.php │ ├── fm-form.blade.php │ ├── fm-input.blade.php │ ├── fm-radio.blade.php │ ├── fm-select.blade.php │ ├── fm-switch.blade.php │ ├── fm-time.blade.php │ └── fm-upload.blade.php ├── layout │ ├── b-card.blade.php │ ├── b-collapse.blade.php │ ├── b-jumbotron.blade.php │ ├── b-nav.blade.php │ ├── el-carousel.blade.php │ ├── el-steps.blade.php │ ├── el-tabs.blade.php │ ├── headers.blade.php │ └── modal.blade.php ├── media │ └── b-embed.blade.php ├── quick-tour.blade.php └── widget │ ├── b-badge.blade.php │ ├── b-popover.blade.php │ ├── b-progress.blade.php │ ├── b-tooltip.blade.php │ ├── drag.blade.php │ └── el-tag.blade.php ├── layouts └── main │ ├── main.blade.php │ ├── menu.blade.php │ └── no-menu.blade.php └── links └── default.blade.php /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /vendor 3 | /.idea 4 | /.vscode 5 | /.vagrant 6 | npm-debug.log 7 | yarn-error.log 8 | .env 9 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 WeiQi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ycgambo/laravel-vue-templates", 3 | "type": "library", 4 | "description": "A Laravel admin template to use Vue tags in blades", 5 | "keywords": [ 6 | "laravel", 7 | "blade", 8 | "vue", 9 | "admin" 10 | ], 11 | "license": "MIT", 12 | "authors": [ 13 | { 14 | "name": "ycgambo", 15 | "email": "ycgambo@gmail.com" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=7.0.0", 20 | "laravel/framework": "^5.3" 21 | }, 22 | "extra": { 23 | "laravel": { 24 | "providers": [ 25 | "Yb\\LVT\\ThemeServiceProvider" 26 | ] 27 | } 28 | }, 29 | "autoload": { 30 | "psr-4": { 31 | "Yb\\LVT\\": "src/" 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /src/File.php: -------------------------------------------------------------------------------- 1 | files()->name($name)->in($path) as $file) { 24 | $directory = self::getNestedDirectory($file, $path); 25 | 26 | $files[$directory.basename($file->getRealPath())] = $file->getRealPath(); 27 | } 28 | 29 | if ($sort) { 30 | ksort($files, $sort); 31 | } 32 | 33 | return $files; 34 | } 35 | 36 | public static function getNestedDirectory(\SplFileInfo $file, $path) 37 | { 38 | $directory = $file->getPath(); 39 | 40 | if ($nested = trim(str_replace($path, '', $directory), DIRECTORY_SEPARATOR)) { 41 | $nested = str_replace(DIRECTORY_SEPARATOR, '.', $nested).'.'; 42 | } 43 | 44 | return $nested; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/Menu.php: -------------------------------------------------------------------------------- 1 | path = $path; 30 | } 31 | 32 | /** 33 | * @param $path ['id'] 34 | * @return Menu 35 | */ 36 | public static function in($path) 37 | { 38 | return new static($path); 39 | } 40 | 41 | /** 42 | * set the prefix of menu url 43 | * @param $url_prefix 44 | * @return $this 45 | */ 46 | public function prefix($url_prefix) 47 | { 48 | $this->url_prefix = rtrim($url_prefix, '/'); 49 | return $this; 50 | } 51 | 52 | /** 53 | * add custom ids 54 | * @param $ids ['id'] 55 | * @return $this 56 | */ 57 | public function adds($ids) 58 | { 59 | $this->adds = array_values($ids); 60 | return $this; 61 | } 62 | 63 | /** 64 | * igore menu item in ids 65 | * @param $ids ['id'] 66 | * @return $this 67 | */ 68 | public function ignores($ids) 69 | { 70 | $this->ignores = array_values($ids); 71 | return $this; 72 | } 73 | 74 | /** 75 | * set the name of menus 76 | * @param array $names ['id' => 'name'] 77 | * @return $this 78 | */ 79 | public function names(array $names) 80 | { 81 | $this->names = $names; 82 | return $this; 83 | } 84 | 85 | /** 86 | * set the icon of menus 87 | * @param array $icons ['id' => 'icon'] 88 | * @return $this 89 | */ 90 | public function icons(array $icons) 91 | { 92 | $this->icons = $icons; 93 | return $this; 94 | } 95 | 96 | /** 97 | * set the url of menus 98 | * @param array $urls ['id' => 'url'] 99 | * @return $this 100 | */ 101 | public function urls(array $urls) 102 | { 103 | $this->urls = $urls; 104 | return $this; 105 | } 106 | 107 | /** 108 | * get generated menus 109 | * @param array $sort ['id'] 110 | * @return array 111 | */ 112 | public function get($sort = []) 113 | { 114 | // index files and register urls 115 | foreach (array_keys(File::index($this->path, '*.blade.php')) as $key) { 116 | $key = basename($key, '.blade.php'); 117 | 118 | if (in_array($key, $this->ignores) || isset($this->urls[$key])) continue; 119 | 120 | $route = str_replace('.', '/', $key); 121 | $this->urls[$key] = "{$this->url_prefix}/$route"; 122 | } 123 | $this->urls += array_fill_keys($this->adds, '#'); 124 | 125 | // sort menus 126 | $menus = []; 127 | foreach ($sort as $ordered_key) { 128 | if (Arr::has($this->urls, $ordered_key)) { 129 | Arr::set($menus, $ordered_key, false); 130 | } 131 | } 132 | foreach ($this->urls as $unordered_key => $url) { 133 | Arr::set($menus, $unordered_key, $unordered_key); 134 | } 135 | 136 | return $this->buildMenus($menus); 137 | } 138 | 139 | protected function buildMenus($menus) 140 | { 141 | $formated = []; 142 | foreach ($menus as $menu => $id) { 143 | if (in_array($menu, $this->ignores) || empty($id)) continue; 144 | 145 | if (is_array($id)) { 146 | $formated[] = ['id' => $menu, 'name' => $this->names[$menu] ?? $menu, 'icon' => $this->icons[$menu] ?? 'fa-link', 'sub' => $this->buildMenus($id)]; 147 | } else { 148 | $formated[] = ['id' => $id, 'name' => $this->names[$id] ?? $menu, 'icon' => $this->icons[$id] ?? 'fa-link', 'url' => $this->urls[$id]]; 149 | } 150 | } 151 | return $formated; 152 | } 153 | } 154 | -------------------------------------------------------------------------------- /src/Theme.php: -------------------------------------------------------------------------------- 1 | namespace = $namespace; 26 | $this->from = $from; 27 | $this->alias = $alias; 28 | } 29 | 30 | public static function create($namespace, $alias, $from = 'main') 31 | { 32 | return new static($namespace, $alias, $from); 33 | } 34 | 35 | public function with($key, $value = null) 36 | { 37 | $this->with[$key] = $value; 38 | return $this; 39 | } 40 | 41 | public function inject($blade) 42 | { 43 | $this->inject = $blade; 44 | return $this; 45 | } 46 | 47 | /** 48 | * replace the default pagination links render template 49 | * @return $this 50 | */ 51 | public function paginate() 52 | { 53 | AbstractPaginator::defaultSimpleView("$this->namespace::links.default"); 54 | AbstractPaginator::defaultView("$this->namespace::links.default"); 55 | return $this; 56 | } 57 | 58 | public function boot() 59 | { 60 | $viewName = "$this->namespace::layouts.$this->from.main"; 61 | 62 | View::addNamespace($this->namespace, $this->viewPath()); 63 | 64 | if (empty($this->inject)) { 65 | $this->component($viewName, $this->alias); 66 | } else { 67 | $this->component($viewName, "_{$this->alias}"); 68 | $this->component($this->inject, $this->alias); 69 | } 70 | 71 | // 加载当前view的时候再创建绑定,防止同一个主题使用多次时变量被覆盖 72 | View::creator($viewName, function ($view) { 73 | $view->with('__theme', $this); 74 | foreach ($this->with as $key => $value) { 75 | $view->with($key, $value); 76 | } 77 | }); 78 | 79 | return $this; 80 | } 81 | 82 | /** 83 | * compability for laravel framework version < 5.6 84 | * @param $path 85 | * @param null $alias 86 | */ 87 | public function component($path, $alias = null) 88 | { 89 | Blade::directive($alias, function ($expression) use ($path) { 90 | return $expression 91 | ? "startComponent('{$path}', {$expression}); ?>" 92 | : "startComponent('{$path}'); ?>"; 93 | }); 94 | 95 | Blade::directive('end'.$alias, function ($expression) { 96 | return 'renderComponent(); ?>'; 97 | }); 98 | } 99 | 100 | public function viewPath() 101 | { 102 | // return the directory path to find view files 103 | } 104 | 105 | public function view($path) 106 | { 107 | // return the path of a specific view file 108 | } 109 | 110 | public function mix($path) 111 | { 112 | // return the path of a specific js/css... file 113 | } 114 | } -------------------------------------------------------------------------------- /src/ThemeServiceProvider.php: -------------------------------------------------------------------------------- 1 | app->runningInConsole()) { 22 | $this->publishResources(); 23 | return; 24 | } 25 | 26 | if (!config('app.debug')) { 27 | return; 28 | } 29 | 30 | $this->registerExampleRoutes(); 31 | $this->registerExampleViews(); 32 | } 33 | 34 | protected function publishResources() 35 | { 36 | $this->publishes([ 37 | __DIR__.'/Themes/VueAdmin/public' => public_path(VueAdmin::RESOURCE_DIR) 38 | ], 'public'); 39 | 40 | // copy examples for reference 41 | $this->publishes([ 42 | $this->exampleBladePath() => resource_path(VueAdmin::RESOURCE_DIR) 43 | ]); 44 | } 45 | 46 | protected function registerExampleRoutes() 47 | { 48 | Route::prefix('lvt/VueAdmin/example') 49 | ->namespace('Yb\LVT\VueAdmin') 50 | ->group(function ($router) { 51 | $router->redirect('/', '/lvt/VueAdmin/example/dashboard'); 52 | $router->any('/submit', 'ExampleController@checkSubmit'); 53 | $router->post('/upload', 'ExampleController@fileUpload'); 54 | $router->post('/img_upload', 'ExampleController@imgUpload'); 55 | $router->post('/fm_upload', 'ExampleController@fmUpload'); 56 | 57 | foreach (array_keys(File::index($this->exampleBladePath(), '*.blade.php')) as $key) { 58 | $key = basename($key, '.blade.php'); 59 | $route = str_replace('.', '/', $key); 60 | $router->view($route, "lvt::example.$key"); 61 | } 62 | }); 63 | } 64 | 65 | protected function registerExampleViews() 66 | { 67 | VueAdmin::create('lvt', 'lvt_example') 68 | ->inject('lvt::base') 69 | ->with('menus', $this->getExampleMenus()) 70 | ->paginate() 71 | ->boot(); 72 | } 73 | 74 | protected function getExampleMenus() 75 | { 76 | $sort = [ 77 | 'dashboard', 78 | 'quick-tour', 79 | 'basic.helper', 80 | 'basic.notify', 81 | 'basic.confirm', 82 | 'basic.paginate', 83 | 'basic.el-button', 84 | 'basic.b-image', 85 | 'basic.b-list', 86 | 'layout.el-tabs', 87 | 'layout.el-steps', 88 | 'layout.b-collapse', 89 | 'layout.b-nav', 90 | 'layout.b-jumbotron', 91 | 'widget.el-tag', 92 | 'widget.b-badge', 93 | 'widget.progress', 94 | 'form.fm-form', 95 | 'form.fm-input', 96 | 'form.fm-date', 97 | 'form.fm-time', 98 | 'form.fm-select', 99 | 'form.fm-checkbox', 100 | 'form.fm-radio', 101 | 'form.fm-switch', 102 | 'form.el-upload', 103 | 'editor.text-editor', 104 | 'editor.markdown.md-editor', 105 | 'chart.chart-table', 106 | 'media.b-embed', 107 | ]; 108 | $icons = [ 109 | 'dashboard' => 'fa-tachometer', 110 | 'quick-tour' => 'fa-plane', 111 | 'chart' => 'fa-line-chart', 112 | 'form' => 'fa-check-square-o', 113 | 'notification' => 'fa-bell-o', 114 | 'media' => 'fa-video-camera', 115 | 'layout' => 'fa-object-group', 116 | 'basic' => 'fa-cubes', 117 | 'editor' => 'fa-pencil-square-o', 118 | 'theme' => 'fa-tree', 119 | 'widget' => 'fa-plug', 120 | ]; 121 | $ignores = [ 122 | 'layout.modal' 123 | ]; 124 | return Menu::in($this->exampleBladePath()) 125 | ->prefix('/lvt/VueAdmin/example/') 126 | ->icons($icons) 127 | ->ignores($ignores) 128 | ->get($sort); 129 | } 130 | 131 | protected function exampleBladePath() 132 | { 133 | return realpath(__DIR__ . '/Themes/VueAdmin/views/example'); 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/ExampleController.php: -------------------------------------------------------------------------------- 1 | all()); 13 | } 14 | 15 | public function imgUpload(Request $request) 16 | { 17 | return [ 18 | 'location' => $uploaded_file = '/images/img.jpg' 19 | ]; 20 | } 21 | 22 | public function fmUpload(Request $request) 23 | { 24 | return [ 25 | 'url' => $uploaded_file = '/images/img.jpg' 26 | ]; 27 | } 28 | 29 | public function fileUpload(Request $request) 30 | { 31 | dd($request->all()); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/VueAdmin.php: -------------------------------------------------------------------------------- 1 | namespace::$path"; 22 | } 23 | 24 | public function mix($path) 25 | { 26 | return self::RESOURCE_DIR . $path; 27 | } 28 | } -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/css/app.css: -------------------------------------------------------------------------------- 1 | body,html{height:100%}body{margin:0;padding:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}#lvt-app{height:100%}#loading{position:absolute;z-index:9999;top:0;left:0;right:0;bottom:0;margin:auto;width:46px;height:46px}.lds-dual-ring{display:inline-block}.lds-dual-ring:after{content:" ";display:block;width:46px;height:46px;margin:1px;border-radius:50%;border:5px solid #dfc;border-color:#dfc transparent;-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/css/pace.css: -------------------------------------------------------------------------------- 1 | .pace.pace-inactive{display:none}.pace{-webkit-pointer-events:none;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:fixed;margin:auto;top:0;left:0;right:0;bottom:0}.pace,.pace .pace-progress{z-index:2000;height:60px;width:100px}.pace .pace-progress{position:absolute;-webkit-transform:translateZ(0)!important;transform:translateZ(0)!important}.pace .pace-progress:before{content:attr(data-progress-text);text-align:center;color:#fff;background:#29d;border-radius:50%;font-family:Helvetica Neue,sans-serif;font-size:14px;font-weight:100;line-height:1;padding:20% 0 7px;width:50%;height:40%;margin:10px 0 0 30px;display:block;z-index:999;position:absolute}.pace .pace-activity{font-size:15px;line-height:1;z-index:2000;-webkit-animation:pace-theme-center-atom-spin 2s linear infinite;animation:pace-theme-center-atom-spin 2s linear infinite;border-radius:50%;border:5px solid #29d;content:" ";display:block;position:absolute;top:0;left:0;height:60px;width:100px}.pace .pace-activity:after{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.pace .pace-activity:after,.pace .pace-activity:before{border-radius:50%;border:5px solid #29d;content:" ";display:block;position:absolute;top:-5px;left:-5px;height:60px;width:100px}.pace .pace-activity:before{-webkit-transform:rotate(120deg);transform:rotate(120deg)}@-webkit-keyframes pace-theme-center-atom-spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@keyframes pace-theme-center-atom-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}} -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/fonts/vendor/element-ui/lib/theme-chalk/element-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/fonts/vendor/element-ui/lib/theme-chalk/element-icons.ttf -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/fonts/vendor/element-ui/lib/theme-chalk/element-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/fonts/vendor/element-ui/lib/theme-chalk/element-icons.woff -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ycgambo/laravel-vue-templates/be683f1cf3f390da903fb1d3d73aa27fd20e3141/src/Themes/VueAdmin/public/fonts/vendor/font-awesome/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/404.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/bug.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/cart.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/chart.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/clipboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/component.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/coupon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/dashboard.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/documentation.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/drag.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/edit.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/education.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/email.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/example.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/excel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/exit-fullscreen.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/eye-open.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/eye.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/form.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/from.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/fullscreen.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/gift.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/goods.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/guide.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/hourglass.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/icon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/international.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/language.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/link.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/list.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/lock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/message.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/money.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/nested.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/password.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/pdf.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/people.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/peoples.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/pic_roll.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/pics.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/qq.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/refund.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/search.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/setting.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/shopping.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/shouce.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/size.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/skill.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/star.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/tab.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/table.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/theme.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/timer.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/tree-table.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/tree.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/tubiao.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/user.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/wechat.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/icons/svg/zip.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Themes/VueAdmin/public/js/manifest.js: -------------------------------------------------------------------------------- 1 | !function(r){var n=window.webpackJsonp;window.webpackJsonp=function(e,u,c){for(var f,i,p,a=0,l=[];a 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 | 7 | 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(); 

fasdfasffsadfdasgasfasaasdfasfgasg


dfafasfdasdfsadf

37 | DOC; 38 | ; !!}
39 |
40 | 41 | Source Code 42 | 43 | @php echo e( <<<'TXTDOC' 44 | {!! <<<'DOC' 45 |

testijjfoaodfajofaoasfdasfasdfasfasfsafadgasdasdfs


adf

           
           
<?php exit(); 

fasdfasffsadfdasgasfasaasdfasfgasg


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 | 7 | 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 | 48 | Profile 49 | Signout 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 |

Breadcrumb

58 | 59 | 60 | 61 | 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 | 13 | 14 | 15 | @endsection 16 | 17 | @section('header-rl') 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | @foreach($users as $user) 28 | 29 | 30 | 31 | @endforeach 32 | 33 |
#
{{$user}}
34 | 35 | {{ $users->links() }} 36 | 37 | 切换 38 |
39 |
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 | 11 |

Hello from modal!

12 |
13 | 14 | 15 | 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 | 38 | 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 |
19 |
20 |
21 | 22 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
38 | 39 | 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 | 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 | 8 | 9 | @endif 10 | 11 | --------------------------------------------------------------------------------