├── .gitattributes ├── resources ├── assets │ ├── img │ │ ├── bg.png │ │ ├── icons.png │ │ ├── user.png │ │ ├── favicon.ico │ │ ├── locked.png │ │ ├── success.png │ │ ├── progress.png │ │ └── loading-upload.gif │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ ├── fontawesome-webfont.woff2 │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ ├── glyphicons-halflings-regular.woff2 │ │ └── glyphicons-halflings-regulard41d.eot │ ├── css │ │ ├── patterns │ │ │ ├── shattered.png │ │ │ ├── header-profile.png │ │ │ ├── header-profile-skin-1.png │ │ │ └── header-profile-skin-3.png │ │ ├── plugins │ │ │ ├── iCheck │ │ │ │ ├── green.png │ │ │ │ ├── green@2x.png │ │ │ │ └── custom.css │ │ │ ├── blueimp │ │ │ │ └── img │ │ │ │ │ ├── error.png │ │ │ │ │ ├── loading.gif │ │ │ │ │ ├── play-pause.png │ │ │ │ │ ├── video-play.png │ │ │ │ │ ├── video-play.svg │ │ │ │ │ ├── error.svg │ │ │ │ │ └── play-pause.svg │ │ │ ├── images │ │ │ │ ├── sort_asc.png │ │ │ │ ├── sort_desc.png │ │ │ │ ├── spritemap.png │ │ │ │ ├── spritemap@2x.png │ │ │ │ └── sprite-skin-flat.png │ │ │ ├── chosen │ │ │ │ ├── chosen-sprite.png │ │ │ │ └── chosen-sprite@2x.png │ │ │ ├── footable │ │ │ │ └── fonts │ │ │ │ │ ├── footable.eot │ │ │ │ │ ├── footable.ttf │ │ │ │ │ ├── footable.woff │ │ │ │ │ └── footabled41d.eot │ │ │ ├── summernote │ │ │ │ └── font │ │ │ │ │ ├── summernote.eot │ │ │ │ │ ├── summernote.ttf │ │ │ │ │ └── summernote.woff │ │ │ ├── colorpicker │ │ │ │ ├── img │ │ │ │ │ └── bootstrap-colorpicker │ │ │ │ │ │ ├── hue.png │ │ │ │ │ │ ├── alpha.png │ │ │ │ │ │ ├── saturation.png │ │ │ │ │ │ ├── hue-horizontal.png │ │ │ │ │ │ └── alpha-horizontal.png │ │ │ │ └── css │ │ │ │ │ └── bootstrap-colorpicker.min.css │ │ │ ├── morris │ │ │ │ └── morris-0.4.3.min.css │ │ │ ├── webuploader │ │ │ │ └── webuploader.css │ │ │ ├── switchery │ │ │ │ └── switchery.css │ │ │ ├── fullcalendar │ │ │ │ └── fullcalendar.print.css │ │ │ ├── treeview │ │ │ │ └── bootstrap-treeview.css │ │ │ ├── ionRangeSlider │ │ │ │ ├── ion.rangeSlider.skinFlat.css │ │ │ │ └── ion.rangeSlider.css │ │ │ ├── markdown │ │ │ │ └── bootstrap-markdown.min.css │ │ │ ├── cropper │ │ │ │ └── cropper.min.css │ │ │ ├── nouslider │ │ │ │ └── jquery.nouislider.css │ │ │ ├── dropzone │ │ │ │ └── basic.css │ │ │ └── clockpicker │ │ │ │ └── clockpicker.css │ │ └── login.min.css │ └── js │ │ ├── plugins │ │ ├── fancybox │ │ │ ├── blank.gif │ │ │ ├── fancybox_loading.gif │ │ │ ├── fancybox_overlay.png │ │ │ ├── fancybox_sprite.png │ │ │ ├── fancybox_loading@2x.gif │ │ │ └── fancybox_sprite@2x.png │ │ ├── layer │ │ │ ├── layim │ │ │ │ └── loading.gif │ │ │ ├── skin │ │ │ │ ├── default │ │ │ │ │ ├── icon.png │ │ │ │ │ ├── icon-ext.png │ │ │ │ │ ├── loading-0.gif │ │ │ │ │ ├── loading-1.gif │ │ │ │ │ └── loading-2.gif │ │ │ │ ├── layer.ext.css │ │ │ │ └── moon │ │ │ │ │ └── style.css │ │ │ ├── laydate │ │ │ │ └── theme │ │ │ │ │ └── default │ │ │ │ │ └── font │ │ │ │ │ ├── iconfont.eot │ │ │ │ │ ├── iconfont.ttf │ │ │ │ │ ├── iconfont.woff │ │ │ │ │ └── iconfont.svg │ │ │ └── extend │ │ │ │ └── layer.ext.js │ │ ├── gritter │ │ │ ├── images │ │ │ │ ├── gritter.png │ │ │ │ ├── ie-spacer.gif │ │ │ │ └── gritter-light.png │ │ │ ├── jquery.gritter.css │ │ │ └── jquery.gritter.min.js │ │ ├── webuploader │ │ │ └── index.html │ │ ├── bootstrap-table │ │ │ ├── locale │ │ │ │ └── bootstrap-table-zh-CN.min.js │ │ │ └── bootstrap-table-mobile.min.js │ │ ├── markdown │ │ │ └── bootstrap-markdown.zh.js │ │ ├── validate │ │ │ └── messages_zh.min.js │ │ ├── prettyfile │ │ │ └── bootstrap-prettyfile.js │ │ ├── flot │ │ │ ├── jquery.flot.resize.js │ │ │ ├── jquery.flot.symbol.js │ │ │ └── jquery.flot.tooltip.min.js │ │ ├── summernote │ │ │ └── summernote-zh-CN.js │ │ ├── preetyTextDiff │ │ │ └── jquery.pretty-text-diff.min.js │ │ ├── peity │ │ │ └── jquery.peity.min.js │ │ ├── toastr │ │ │ └── toastr.min.js │ │ ├── metisMenu │ │ │ └── jquery.metisMenu.js │ │ └── slimscroll │ │ │ └── jquery.slimscroll.min.js │ │ ├── demo │ │ ├── peity-demo.min.js │ │ ├── sparkline-demo.min.js │ │ ├── form-validate-demo.min.js │ │ ├── rickshaw-demo.min.js │ │ ├── morris-demo.min.js │ │ ├── layer-demo.min.js │ │ ├── treeview-demo.min.js │ │ ├── bootstrap-table-demo.min.js │ │ └── form-advanced-demo.min.js │ │ ├── content.min.js │ │ ├── welcome.min.js │ │ └── textarea-extra.js └── views │ ├── index.blade.php │ ├── permission │ ├── create.blade.php │ ├── update.blade.php │ └── index.blade.php │ ├── auth │ ├── log.blade.php │ └── login.blade.php │ ├── role │ ├── create.blade.php │ ├── update.blade.php │ ├── index.blade.php │ └── menu.blade.php │ ├── layout_window.blade.php │ ├── user │ ├── create.blade.php │ └── update.blade.php │ └── menu │ └── index.blade.php ├── .gitignore ├── src ├── Guard.php ├── Models │ ├── Role.php │ ├── Permission.php │ ├── Menus.php │ ├── Connection.php │ ├── AdminUser.php │ └── AuthLog.php ├── Controllers │ ├── Controller.php │ ├── AuthLogController.php │ ├── HomeController.php │ ├── DemoController.php │ └── AuthController.php ├── Middleware │ ├── RoleMiddleware.php │ ├── PermissionMiddleware.php │ ├── RoleOrPermissionMiddleware.php │ ├── Authenticate.php │ ├── AuthLog.php │ └── MenuMiddleware.php ├── Commands │ ├── InstallCommand.php │ └── DBCommand.php └── tools.php ├── composer.json ├── config └── lazy-admin.config.php ├── LICENSE └── database ├── 2019_01_07_173148_create_tables.php └── 2019_01_07_025152_create_permission_tables.php /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=PHP 2 | *.css linguist-language=PHP 3 | *.html linguist-language=PHP -------------------------------------------------------------------------------- /resources/assets/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/bg.png -------------------------------------------------------------------------------- /resources/assets/img/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/icons.png -------------------------------------------------------------------------------- /resources/assets/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/user.png -------------------------------------------------------------------------------- /resources/assets/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/favicon.ico -------------------------------------------------------------------------------- /resources/assets/img/locked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/locked.png -------------------------------------------------------------------------------- /resources/assets/img/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/success.png -------------------------------------------------------------------------------- /resources/assets/img/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/progress.png -------------------------------------------------------------------------------- /resources/assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /resources/assets/img/loading-upload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/img/loading-upload.gif -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | phpunit.phar 2 | /vendor 3 | composer.phar 4 | composer.lock 5 | *.project 6 | .idea/ 7 | .php_cs.cache 8 | .vscode/ 9 | *DS_Store -------------------------------------------------------------------------------- /resources/assets/css/patterns/shattered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/css/patterns/shattered.png -------------------------------------------------------------------------------- /resources/assets/css/plugins/iCheck/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/css/plugins/iCheck/green.png -------------------------------------------------------------------------------- /resources/assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /resources/assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /resources/assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /resources/assets/js/plugins/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lazywe/lazy-admin/HEAD/resources/assets/js/plugins/fancybox/blank.gif -------------------------------------------------------------------------------- /src/Guard.php: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /resources/assets/css/plugins/blueimp/img/error.svg: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /resources/assets/js/plugins/webuploader/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |You don't have permission to access /theme/hplus/js/plugins/webuploader/ 7 | on this server.
8 |您单击了 "+o.text+"
")}}),$("#treeview12").treeview({data:t})}); 2 | -------------------------------------------------------------------------------- /resources/assets/css/plugins/markdown/bootstrap-markdown.min.css: -------------------------------------------------------------------------------- 1 | .md-editor{display:block;border:1px solid #ddd}.md-editor .md-footer,.md-editor>.md-header{display:block;padding:6px 4px;background:#f5f5f5}.md-editor>.md-header{margin:0}.md-editor>.md-preview{background:#fff;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;min-height:10px;overflow:auto}.md-editor>textarea{font-family:Menlo, Monaco, Consolas, "Courier New", monospace;font-size:14px;outline:0;margin:0;display:block;padding:15px;width:100%;border:0;border-top:1px dashed #ddd;border-bottom:1px dashed #ddd;border-radius:0;box-shadow:none;background:#fafafa}.md-editor>textarea:focus{box-shadow:none;background:#fff}.md-editor.active{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)}.md-editor .md-controls{float:right;padding:3px}.md-editor .md-controls .md-control{right:5px;color:#bebebe;padding:3px 3px 3px 10px}.md-editor .md-controls .md-control:hover{color:#333}.md-editor.md-fullscreen-mode{width:100%;height:100%;position:fixed;top:0;left:0;z-index:99999;padding:60px 30px 15px;background:#fff!important;border:0!important}.md-editor.md-fullscreen-mode .md-footer{display:none}.md-editor.md-fullscreen-mode .md-input,.md-editor.md-fullscreen-mode .md-preview{margin:0 auto!important;height:100%!important;font-size:20px!important;padding:20px!important;color:#999;line-height:1.6em!important;resize:none!important;box-shadow:none!important;background:#fff!important;border:0!important}.md-editor.md-fullscreen-mode .md-preview{color:#333;overflow:auto}.md-editor.md-fullscreen-mode .md-input:focus,.md-editor.md-fullscreen-mode .md-input:hover{color:#333;background:#fff!important}.md-editor.md-fullscreen-mode .md-header{background:0 0;text-align:center;position:fixed;width:100%;top:20px}.md-editor.md-fullscreen-mode .btn-group{float:none}.md-editor.md-fullscreen-mode .btn{border:0;background:0 0;color:#b3b3b3}.md-editor.md-fullscreen-mode .btn.active,.md-editor.md-fullscreen-mode .btn:active,.md-editor.md-fullscreen-mode .btn:focus,.md-editor.md-fullscreen-mode .btn:hover{box-shadow:none;color:#333}.md-editor.md-fullscreen-mode .md-fullscreen-controls{position:absolute;top:20px;right:20px;text-align:right;z-index:1002;display:block}.md-editor.md-fullscreen-mode .md-fullscreen-controls a{color:#b3b3b3;clear:right;margin:10px;width:30px;height:30px;text-align:center}.md-editor.md-fullscreen-mode .md-fullscreen-controls a:hover{color:#333;text-decoration:none}.md-editor.md-fullscreen-mode .md-editor{height:100%!important;position:relative}.md-editor .md-fullscreen-controls{display:none}.md-nooverflow{overflow:hidden;position:fixed;width:100%} 2 | -------------------------------------------------------------------------------- /resources/assets/js/plugins/flot/jquery.flot.resize.js: -------------------------------------------------------------------------------- 1 | /* Flot plugin for automatically redrawing plots as the placeholder resizes. 2 | 3 | Copyright (c) 2007-2013 IOLA and Ole Laursen. 4 | Licensed under the MIT license. 5 | 6 | It works by listening for changes on the placeholder div (through the jQuery 7 | resize event plugin) - if the size changes, it will redraw the plot. 8 | 9 | There are no options. If you need to disable the plugin for some plots, you 10 | can just fix the size of their placeholders. 11 | 12 | */ 13 | 14 | /* Inline dependency: 15 | * jQuery resize event - v1.1 - 3/14/2010 16 | * http://benalman.com/projects/jquery-resize-plugin/ 17 | * 18 | * Copyright (c) 2010 "Cowboy" Ben Alman 19 | * Dual licensed under the MIT and GPL licenses. 20 | * http://benalman.com/about/license/ 21 | */ 22 | 23 | (function($,h,c){var a=$([]),e=$.resize=$.extend($.resize,{}),i,k="setTimeout",j="resize",d=j+"-special-event",b="delay",f="throttleWindow";e[b]=250;e[f]=true;$.event.special[j]={setup:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.add(l);$.data(this,d,{w:l.width(),h:l.height()});if(a.length===1){g()}},teardown:function(){if(!e[f]&&this[k]){return false}var l=$(this);a=a.not(l);l.removeData(d);if(!a.length){clearTimeout(i)}},add:function(l){if(!e[f]&&this[k]){return false}var n;function m(s,o,p){var q=$(this),r=$.data(this,d);r.w=o!==c?o:q.width();r.h=p!==c?p:q.height();n.apply(this,arguments)}if($.isFunction(l)){n=l;return m}else{n=l.handler;l.handler=m}}};function g(){i=h[k](function(){a.each(function(){var n=$(this),m=n.width(),l=n.height(),o=$.data(this,d);if(m!==o.w||l!==o.h){n.trigger(j,[o.w=m,o.h=l])}});g()},e[b])}})(jQuery,this); 24 | 25 | (function ($) { 26 | var options = { }; // no options 27 | 28 | function init(plot) { 29 | function onResize() { 30 | var placeholder = plot.getPlaceholder(); 31 | 32 | // somebody might have hidden us and we can't plot 33 | // when we don't have the dimensions 34 | if (placeholder.width() == 0 || placeholder.height() == 0) 35 | return; 36 | 37 | plot.resize(); 38 | plot.setupGrid(); 39 | plot.draw(); 40 | } 41 | 42 | function bindEvents(plot, eventHolder) { 43 | plot.getPlaceholder().resize(onResize); 44 | } 45 | 46 | function shutdown(plot, eventHolder) { 47 | plot.getPlaceholder().unbind("resize", onResize); 48 | } 49 | 50 | plot.hooks.bindEvents.push(bindEvents); 51 | plot.hooks.shutdown.push(shutdown); 52 | } 53 | 54 | $.plot.plugins.push({ 55 | init: init, 56 | options: options, 57 | name: 'resize', 58 | version: '1.0' 59 | }); 60 | })(jQuery); 61 | -------------------------------------------------------------------------------- /resources/assets/js/plugins/summernote/summernote-zh-CN.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | $.extend($.summernote.lang, { 3 | 'zh-CN': { 4 | font: { 5 | bold: '粗体', 6 | italic: '斜体', 7 | underline: '下划线', 8 | strikethrough: '删除线', 9 | clear: '清除格式', 10 | height: '行高', 11 | name: '字体', 12 | size: '字号' 13 | }, 14 | image: { 15 | image: '图片', 16 | insert: '插入图片', 17 | resizeFull: '调整至 100%', 18 | resizeHalf: '调整至 50%', 19 | resizeQuarter: '调整至 25%', 20 | floatLeft: '左浮动', 21 | floatRight: '右浮动', 22 | floatNone: '不浮动', 23 | dragImageHere: '将图片拖至此处', 24 | selectFromFiles: '从本地上传', 25 | url: '图片地址' 26 | }, 27 | link: { 28 | link: '链接', 29 | insert: '插入链接', 30 | unlink: '去除链接', 31 | edit: '编辑链接', 32 | textToDisplay: '显示文本', 33 | url: '链接地址', 34 | openInNewWindow: '在新窗口打开' 35 | }, 36 | video: { 37 | video: '视频', 38 | videoLink: '视频链接', 39 | insert: '插入视频', 40 | url: '视频地址', 41 | providers: '(优酷, Instagram, DailyMotion, Youtube等)' 42 | }, 43 | table: { 44 | table: '表格' 45 | }, 46 | hr: { 47 | insert: '水平线' 48 | }, 49 | style: { 50 | style: '样式', 51 | normal: '普通', 52 | blockquote: '引用', 53 | pre: '代码', 54 | h1: '标题 1', 55 | h2: '标题 2', 56 | h3: '标题 3', 57 | h4: '标题 4', 58 | h5: '标题 5', 59 | h6: '标题 6' 60 | }, 61 | lists: { 62 | unordered: '无序列表', 63 | ordered: '有序列表' 64 | }, 65 | options: { 66 | help: '帮助', 67 | fullscreen: '全屏', 68 | codeview: '源代码' 69 | }, 70 | paragraph: { 71 | paragraph: '段落', 72 | outdent: '减少缩进', 73 | indent: '增加缩进', 74 | left: '左对齐', 75 | center: '居中对齐', 76 | right: '右对齐', 77 | justify: '两端对齐' 78 | }, 79 | color: { 80 | recent: '最近使用', 81 | more: '更多', 82 | background: '背景', 83 | foreground: '前景', 84 | transparent: '透明', 85 | setTransparent: '透明', 86 | reset: '重置', 87 | resetToDefault: '默认' 88 | }, 89 | shortcut: { 90 | shortcuts: '快捷键', 91 | close: '关闭', 92 | textFormatting: '文本格式', 93 | action: '动作', 94 | paragraphFormatting: '段落格式', 95 | documentStyle: '文档样式' 96 | }, 97 | history: { 98 | undo: '撤销', 99 | redo: '重做' 100 | } 101 | } 102 | }); 103 | })(jQuery); -------------------------------------------------------------------------------- /resources/assets/js/plugins/flot/jquery.flot.symbol.js: -------------------------------------------------------------------------------- 1 | /* Flot plugin that adds some extra symbols for plotting points. 2 | 3 | Copyright (c) 2007-2014 IOLA and Ole Laursen. 4 | Licensed under the MIT license. 5 | 6 | The symbols are accessed as strings through the standard symbol options: 7 | 8 | series: { 9 | points: { 10 | symbol: "square" // or "diamond", "triangle", "cross" 11 | } 12 | } 13 | 14 | */ 15 | 16 | (function ($) { 17 | function processRawData(plot, series, datapoints) { 18 | // we normalize the area of each symbol so it is approximately the 19 | // same as a circle of the given radius 20 | 21 | var handlers = { 22 | square: function (ctx, x, y, radius, shadow) { 23 | // pi * r^2 = (2s)^2 => s = r * sqrt(pi)/2 24 | var size = radius * Math.sqrt(Math.PI) / 2; 25 | ctx.rect(x - size, y - size, size + size, size + size); 26 | }, 27 | diamond: function (ctx, x, y, radius, shadow) { 28 | // pi * r^2 = 2s^2 => s = r * sqrt(pi/2) 29 | var size = radius * Math.sqrt(Math.PI / 2); 30 | ctx.moveTo(x - size, y); 31 | ctx.lineTo(x, y - size); 32 | ctx.lineTo(x + size, y); 33 | ctx.lineTo(x, y + size); 34 | ctx.lineTo(x - size, y); 35 | }, 36 | triangle: function (ctx, x, y, radius, shadow) { 37 | // pi * r^2 = 1/2 * s^2 * sin (pi / 3) => s = r * sqrt(2 * pi / sin(pi / 3)) 38 | var size = radius * Math.sqrt(2 * Math.PI / Math.sin(Math.PI / 3)); 39 | var height = size * Math.sin(Math.PI / 3); 40 | ctx.moveTo(x - size/2, y + height/2); 41 | ctx.lineTo(x + size/2, y + height/2); 42 | if (!shadow) { 43 | ctx.lineTo(x, y - height/2); 44 | ctx.lineTo(x - size/2, y + height/2); 45 | } 46 | }, 47 | cross: function (ctx, x, y, radius, shadow) { 48 | // pi * r^2 = (2s)^2 => s = r * sqrt(pi)/2 49 | var size = radius * Math.sqrt(Math.PI) / 2; 50 | ctx.moveTo(x - size, y - size); 51 | ctx.lineTo(x + size, y + size); 52 | ctx.moveTo(x - size, y + size); 53 | ctx.lineTo(x + size, y - size); 54 | } 55 | }; 56 | 57 | var s = series.points.symbol; 58 | if (handlers[s]) 59 | series.points.symbol = handlers[s]; 60 | } 61 | 62 | function init(plot) { 63 | plot.hooks.processDatapoints.push(processRawData); 64 | } 65 | 66 | $.plot.plugins.push({ 67 | init: init, 68 | name: 'symbols', 69 | version: '1.0' 70 | }); 71 | })(jQuery); 72 | -------------------------------------------------------------------------------- /resources/views/auth/log.blade.php: -------------------------------------------------------------------------------- 1 | 2 | @extends('lazy-view::layout') 3 | 4 | @section('content') 5 || ID | 17 |用户 | 18 |method | 19 |菜单地址 | 20 |参数 | 21 |创建时间 | 22 |修改时间 | 23 |
|---|---|---|---|---|---|---|
| {{ $v['id'] }} | 29 |30 | @if(!empty($v->user->name)) 31 | {{ $v->user->name??'-'}}【{{$v->user_id}}】 32 | @else 33 | - 34 | @endif 35 | | 36 |{{ $v['method'] }} | 37 |38 | @if(!empty($v['uri'])) 39 | {{ $v['uri'] }} 40 | @else 41 | - 42 | @endif 43 | | 44 |
45 | {{$v['params']?json_encode($v['params'], JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT):'-'}}
46 | |
47 | {{ $v['created_at'] }} | 48 |{{ $v['updated_at'] }} | 49 |
| ID | 24 |名称 | 25 |标识 | 26 |创建时间 | 27 |修改时间 | 28 |操作 | 29 |
|---|---|---|---|---|---|
| {{ $v->id }} | 35 |{{ $v->title }} | 36 |{{ $v->name }} | 37 |{{ $v->created_at }} | 38 |{{ $v->updated_at }} | 39 |40 | @lazy_can('admin-permission-update') 41 | 42 | 修改 43 | 44 | @end_lazy_can 45 | @lazy_can('admin-permission-delete') 46 | 47 | 删除 48 | 49 | @end_lazy_can 50 | | 51 |
| ID | 24 |名称 | 25 |标识 | 26 |创建时间 | 27 |修改时间 | 28 |操作 | 29 |
|---|---|---|---|---|---|
| {{ $v->id }} | 35 |{{ $v->title }} | 36 |{{ $v->name }} | 37 |{{ $v->created_at }} | 38 |{{ $v->updated_at }} | 39 |
40 | @lazy_can('admin-role-update')
41 |
42 | 修改角色
43 |
44 | 45 | @end_lazy_can 46 | 47 | @lazy_can('admin-role-menu') 48 | 49 | 角色菜单 50 | 51 | 52 | @end_lazy_can 53 | 54 | @if($v->id !=1 ) 55 | @lazy_can('admin-role-delete') 56 | 57 | 删除角色 58 | 59 | @end_lazy_can 60 | @endif 61 | |
62 |
| 序号 | 29 |菜单名称 | 30 |菜单地址 | 31 |icon | 32 |创建时间 | 33 |修改时间 | 34 |操作 | 35 |
|---|---|---|---|---|---|---|
| {{ $v['order'] }} | 41 |42 | {!!str_repeat("|---", $v['level'])!!}{{ $v['title'] }} 43 | | 44 |45 | @if(!empty($v['uri'])) 46 | {{ $v['uri'] }} 47 | @else 48 | - 49 | @endif 50 | | 51 |52 | @if(!empty($v['icon'])) 53 | 54 | @else 55 | - 56 | @endif 57 | | 58 |{{ $v['created_at'] }} | 59 |{{ $v['updated_at'] }} | 60 |61 | 62 | @lazy_can('admin-menu-update') 63 | 64 | 修改 65 | 66 | @end_lazy_can 67 | 68 | @lazy_can('admin-menu-delete') 69 | 70 | 删除 71 | 72 | @end_lazy_can 73 | | 74 |