Compare commits
No commits in common. 'dev' and 'master' have entirely different histories.
File diff suppressed because it is too large
Load Diff
@ -1,126 +0,0 @@
|
|||||||
/*!
|
|
||||||
* metismenu - v2.7.7
|
|
||||||
* A jQuery menu plugin
|
|
||||||
* https://github.com/onokumus/metismenu#readme
|
|
||||||
*
|
|
||||||
* Made by Osman Nuri Okumus <onokumus@gmail.com> (https://github.com/onokumus)
|
|
||||||
* Under MIT License
|
|
||||||
*/
|
|
||||||
.metismenu .arrow {
|
|
||||||
float: right;
|
|
||||||
line-height: 1.42857;
|
|
||||||
}
|
|
||||||
*[dir="rtl"] .metismenu .arrow {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Require Bootstrap 3.x
|
|
||||||
* https://github.com/twbs/bootstrap
|
|
||||||
*/
|
|
||||||
|
|
||||||
.metismenu .glyphicon.arrow:before {
|
|
||||||
content: "\e079";
|
|
||||||
}
|
|
||||||
.metismenu .active > a > .glyphicon.arrow:before {
|
|
||||||
content: "\e114";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Require Font-Awesome
|
|
||||||
* http://fortawesome.github.io/Font-Awesome/
|
|
||||||
*/
|
|
||||||
|
|
||||||
.metismenu .fa.arrow:before {
|
|
||||||
content: "\f104";
|
|
||||||
}
|
|
||||||
.metismenu .active > a > .fa.arrow:before {
|
|
||||||
content: "\f107";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Require Ionicons
|
|
||||||
* http://ionicons.com/
|
|
||||||
*/
|
|
||||||
|
|
||||||
.metismenu .ion.arrow:before {
|
|
||||||
content: "\f3d2"
|
|
||||||
}
|
|
||||||
.metismenu .active > a > .ion.arrow:before {
|
|
||||||
content: "\f3d0";
|
|
||||||
}
|
|
||||||
.metismenu .plus-times {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
*[dir="rtl"] .metismenu .plus-times {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.metismenu .fa.plus-times:before {
|
|
||||||
content: "\f067";
|
|
||||||
}
|
|
||||||
.metismenu .active > a > .fa.plus-times {
|
|
||||||
-webkit-transform: rotate(45deg);
|
|
||||||
transform: rotate(45deg);
|
|
||||||
}
|
|
||||||
.metismenu .plus-minus {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
*[dir="rtl"] .metismenu .plus-minus {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.metismenu .fa.plus-minus:before {
|
|
||||||
content: "\f067";
|
|
||||||
}
|
|
||||||
.metismenu .active > a > .fa.plus-minus:before {
|
|
||||||
content: "\f068";
|
|
||||||
}
|
|
||||||
.metismenu .collapse {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.metismenu .collapse.in {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.metismenu .collapsing {
|
|
||||||
position: relative;
|
|
||||||
height: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
transition-timing-function: ease;
|
|
||||||
transition-duration: .35s;
|
|
||||||
transition-property: height, visibility;
|
|
||||||
}
|
|
||||||
|
|
||||||
.metismenu .has-arrow {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.metismenu .has-arrow::after {
|
|
||||||
position: absolute;
|
|
||||||
content: '';
|
|
||||||
width: .5em;
|
|
||||||
height: .5em;
|
|
||||||
border-width: 1px 0 0 1px;
|
|
||||||
border-style: solid;
|
|
||||||
border-color: initial;
|
|
||||||
right: 1em;
|
|
||||||
-webkit-transform: rotate(-45deg) translate(0, -50%);
|
|
||||||
transform: rotate(-45deg) translate(0, -50%);
|
|
||||||
-webkit-transform-origin: top;
|
|
||||||
transform-origin: top;
|
|
||||||
top: 50%;
|
|
||||||
transition: all .3s ease-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
*[dir="rtl"] .metismenu .has-arrow::after {
|
|
||||||
right: auto;
|
|
||||||
left: 1em;
|
|
||||||
-webkit-transform: rotate(135deg) translate(0, -50%);
|
|
||||||
transform: rotate(135deg) translate(0, -50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.metismenu .active > .has-arrow::after,
|
|
||||||
.metismenu .has-arrow[aria-expanded="true"]::after {
|
|
||||||
-webkit-transform: rotate(-135deg) translate(0, -50%);
|
|
||||||
transform: rotate(-135deg) translate(0, -50%);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*# sourceMappingURL=metisMenu.css.map */
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 434 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
File diff suppressed because one or more lines are too long
@ -1,342 +0,0 @@
|
|||||||
/*!
|
|
||||||
* metismenu - v2.7.7
|
|
||||||
* A jQuery menu plugin
|
|
||||||
* https://github.com/onokumus/metismenu#readme
|
|
||||||
*
|
|
||||||
* Made by Osman Nuri Okumus <onokumus@gmail.com> (https://github.com/onokumus)
|
|
||||||
* Under MIT License
|
|
||||||
*/
|
|
||||||
(function (global, factory) {
|
|
||||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :
|
|
||||||
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
|
|
||||||
(global.metisMenu = factory(global.jQuery));
|
|
||||||
}(this, (function ($) { 'use strict';
|
|
||||||
|
|
||||||
$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
|
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) {
|
|
||||||
if (key in obj) {
|
|
||||||
Object.defineProperty(obj, key, {
|
|
||||||
value: value,
|
|
||||||
enumerable: true,
|
|
||||||
configurable: true,
|
|
||||||
writable: true
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
obj[key] = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return obj;
|
|
||||||
}
|
|
||||||
|
|
||||||
function _objectSpread(target) {
|
|
||||||
for (var i = 1; i < arguments.length; i++) {
|
|
||||||
var source = arguments[i] != null ? arguments[i] : {};
|
|
||||||
var ownKeys = Object.keys(source);
|
|
||||||
|
|
||||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
||||||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
|
||||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
|
|
||||||
ownKeys.forEach(function (key) {
|
|
||||||
_defineProperty(target, key, source[key]);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return target;
|
|
||||||
}
|
|
||||||
|
|
||||||
var Util = function ($$$1) {
|
|
||||||
// eslint-disable-line no-shadow
|
|
||||||
var TRANSITION_END = 'transitionend';
|
|
||||||
var Util = {
|
|
||||||
// eslint-disable-line no-shadow
|
|
||||||
TRANSITION_END: 'mmTransitionEnd',
|
|
||||||
triggerTransitionEnd: function triggerTransitionEnd(element) {
|
|
||||||
$$$1(element).trigger(TRANSITION_END);
|
|
||||||
},
|
|
||||||
supportsTransitionEnd: function supportsTransitionEnd() {
|
|
||||||
return Boolean(TRANSITION_END);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
function getSpecialTransitionEndEvent() {
|
|
||||||
return {
|
|
||||||
bindType: TRANSITION_END,
|
|
||||||
delegateType: TRANSITION_END,
|
|
||||||
handle: function handle(event) {
|
|
||||||
if ($$$1(event.target).is(this)) {
|
|
||||||
return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params
|
|
||||||
}
|
|
||||||
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
function transitionEndEmulator(duration) {
|
|
||||||
var _this = this;
|
|
||||||
|
|
||||||
var called = false;
|
|
||||||
$$$1(this).one(Util.TRANSITION_END, function () {
|
|
||||||
called = true;
|
|
||||||
});
|
|
||||||
setTimeout(function () {
|
|
||||||
if (!called) {
|
|
||||||
Util.triggerTransitionEnd(_this);
|
|
||||||
}
|
|
||||||
}, duration);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
function setTransitionEndSupport() {
|
|
||||||
$$$1.fn.mmEmulateTransitionEnd = transitionEndEmulator; // eslint-disable-line no-param-reassign
|
|
||||||
// eslint-disable-next-line no-param-reassign
|
|
||||||
|
|
||||||
$$$1.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent();
|
|
||||||
}
|
|
||||||
|
|
||||||
setTransitionEndSupport();
|
|
||||||
return Util;
|
|
||||||
}($);
|
|
||||||
|
|
||||||
var MetisMenu = function ($$$1) {
|
|
||||||
// eslint-disable-line no-shadow
|
|
||||||
var NAME = 'metisMenu';
|
|
||||||
var DATA_KEY = 'metisMenu';
|
|
||||||
var EVENT_KEY = "." + DATA_KEY;
|
|
||||||
var DATA_API_KEY = '.data-api';
|
|
||||||
var JQUERY_NO_CONFLICT = $$$1.fn[NAME];
|
|
||||||
var TRANSITION_DURATION = 350;
|
|
||||||
var Default = {
|
|
||||||
toggle: true,
|
|
||||||
preventDefault: true,
|
|
||||||
activeClass: 'active',
|
|
||||||
collapseClass: 'collapse',
|
|
||||||
collapseInClass: 'in',
|
|
||||||
collapsingClass: 'collapsing',
|
|
||||||
triggerElement: 'a',
|
|
||||||
parentTrigger: 'li',
|
|
||||||
subMenu: 'ul'
|
|
||||||
};
|
|
||||||
var Event = {
|
|
||||||
SHOW: "show" + EVENT_KEY,
|
|
||||||
SHOWN: "shown" + EVENT_KEY,
|
|
||||||
HIDE: "hide" + EVENT_KEY,
|
|
||||||
HIDDEN: "hidden" + EVENT_KEY,
|
|
||||||
CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY
|
|
||||||
};
|
|
||||||
|
|
||||||
var MetisMenu =
|
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
// eslint-disable-line no-shadow
|
|
||||||
function MetisMenu(element, config) {
|
|
||||||
this.element = element;
|
|
||||||
this.config = _objectSpread({}, Default, config);
|
|
||||||
this.transitioning = null;
|
|
||||||
this.init();
|
|
||||||
}
|
|
||||||
|
|
||||||
var _proto = MetisMenu.prototype;
|
|
||||||
|
|
||||||
_proto.init = function init() {
|
|
||||||
var self = this;
|
|
||||||
var conf = this.config;
|
|
||||||
$$$1(this.element).find(conf.parentTrigger + "." + conf.activeClass).has(conf.subMenu).children(conf.subMenu).attr('aria-expanded', true).addClass(conf.collapseClass + " " + conf.collapseInClass);
|
|
||||||
$$$1(this.element).find(conf.parentTrigger).not("." + conf.activeClass).has(conf.subMenu).children(conf.subMenu).attr('aria-expanded', false).addClass(conf.collapseClass);
|
|
||||||
$$$1(this.element).find(conf.parentTrigger).has(conf.subMenu).children(conf.triggerElement).on(Event.CLICK_DATA_API, function (e) {
|
|
||||||
// eslint-disable-line func-names
|
|
||||||
var eTar = $$$1(this);
|
|
||||||
var paRent = eTar.parent(conf.parentTrigger);
|
|
||||||
var sibLings = paRent.siblings(conf.parentTrigger).children(conf.triggerElement);
|
|
||||||
var List = paRent.children(conf.subMenu);
|
|
||||||
|
|
||||||
if (conf.preventDefault) {
|
|
||||||
e.preventDefault();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (eTar.attr('aria-disabled') === 'true') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (paRent.hasClass(conf.activeClass)) {
|
|
||||||
eTar.attr('aria-expanded', false);
|
|
||||||
self.hide(List);
|
|
||||||
} else {
|
|
||||||
self.show(List);
|
|
||||||
eTar.attr('aria-expanded', true);
|
|
||||||
|
|
||||||
if (conf.toggle) {
|
|
||||||
sibLings.attr('aria-expanded', false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (conf.onTransitionStart) {
|
|
||||||
conf.onTransitionStart(e);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
_proto.show = function show(element) {
|
|
||||||
var _this = this;
|
|
||||||
|
|
||||||
if (this.transitioning || $$$1(element).hasClass(this.config.collapsingClass)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var elem = $$$1(element);
|
|
||||||
var startEvent = $$$1.Event(Event.SHOW);
|
|
||||||
elem.trigger(startEvent);
|
|
||||||
|
|
||||||
if (startEvent.isDefaultPrevented()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
elem.parent(this.config.parentTrigger).addClass(this.config.activeClass);
|
|
||||||
|
|
||||||
if (this.config.toggle) {
|
|
||||||
this.hide(elem.parent(this.config.parentTrigger).siblings().children(this.config.subMenu + "." + this.config.collapseInClass).attr('aria-expanded', false));
|
|
||||||
}
|
|
||||||
|
|
||||||
elem.removeClass(this.config.collapseClass).addClass(this.config.collapsingClass).height(0);
|
|
||||||
this.setTransitioning(true);
|
|
||||||
|
|
||||||
var complete = function complete() {
|
|
||||||
// check if disposed
|
|
||||||
if (!_this.config || !_this.element) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
elem.removeClass(_this.config.collapsingClass).addClass(_this.config.collapseClass + " " + _this.config.collapseInClass).height('').attr('aria-expanded', true);
|
|
||||||
|
|
||||||
_this.setTransitioning(false);
|
|
||||||
|
|
||||||
elem.trigger(Event.SHOWN);
|
|
||||||
};
|
|
||||||
|
|
||||||
if (!Util.supportsTransitionEnd()) {
|
|
||||||
complete();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
elem.height(element[0].scrollHeight).one(Util.TRANSITION_END, complete).mmEmulateTransitionEnd(TRANSITION_DURATION);
|
|
||||||
};
|
|
||||||
|
|
||||||
_proto.hide = function hide(element) {
|
|
||||||
var _this2 = this;
|
|
||||||
|
|
||||||
if (this.transitioning || !$$$1(element).hasClass(this.config.collapseInClass)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var elem = $$$1(element);
|
|
||||||
var startEvent = $$$1.Event(Event.HIDE);
|
|
||||||
elem.trigger(startEvent);
|
|
||||||
|
|
||||||
if (startEvent.isDefaultPrevented()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
elem.parent(this.config.parentTrigger).removeClass(this.config.activeClass); // eslint-disable-next-line no-unused-expressions
|
|
||||||
|
|
||||||
elem.height(elem.height())[0].offsetHeight;
|
|
||||||
elem.addClass(this.config.collapsingClass).removeClass(this.config.collapseClass).removeClass(this.config.collapseInClass);
|
|
||||||
this.setTransitioning(true);
|
|
||||||
|
|
||||||
var complete = function complete() {
|
|
||||||
// check if disposed
|
|
||||||
if (!_this2.config || !_this2.element) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (_this2.transitioning && _this2.config.onTransitionEnd) {
|
|
||||||
_this2.config.onTransitionEnd();
|
|
||||||
}
|
|
||||||
|
|
||||||
_this2.setTransitioning(false);
|
|
||||||
|
|
||||||
elem.trigger(Event.HIDDEN);
|
|
||||||
elem.removeClass(_this2.config.collapsingClass).addClass(_this2.config.collapseClass).attr('aria-expanded', false);
|
|
||||||
};
|
|
||||||
|
|
||||||
if (!Util.supportsTransitionEnd()) {
|
|
||||||
complete();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (elem.height() === 0 || elem.css('display') === 'none') {
|
|
||||||
complete();
|
|
||||||
} else {
|
|
||||||
elem.height(0).one(Util.TRANSITION_END, complete).mmEmulateTransitionEnd(TRANSITION_DURATION);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
_proto.setTransitioning = function setTransitioning(isTransitioning) {
|
|
||||||
this.transitioning = isTransitioning;
|
|
||||||
};
|
|
||||||
|
|
||||||
_proto.dispose = function dispose() {
|
|
||||||
$$$1.removeData(this.element, DATA_KEY);
|
|
||||||
$$$1(this.element).find(this.config.parentTrigger).has(this.config.subMenu).children(this.config.triggerElement).off('click');
|
|
||||||
this.transitioning = null;
|
|
||||||
this.config = null;
|
|
||||||
this.element = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
MetisMenu.jQueryInterface = function jQueryInterface(config) {
|
|
||||||
// eslint-disable-next-line func-names
|
|
||||||
return this.each(function () {
|
|
||||||
var $this = $$$1(this);
|
|
||||||
var data = $this.data(DATA_KEY);
|
|
||||||
|
|
||||||
var conf = _objectSpread({}, Default, $this.data(), typeof config === 'object' && config ? config : {});
|
|
||||||
|
|
||||||
if (!data && /dispose/.test(config)) {
|
|
||||||
this.dispose();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!data) {
|
|
||||||
data = new MetisMenu(this, conf);
|
|
||||||
$this.data(DATA_KEY, data);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof config === 'string') {
|
|
||||||
if (data[config] === undefined) {
|
|
||||||
throw new Error("No method named \"" + config + "\"");
|
|
||||||
}
|
|
||||||
|
|
||||||
data[config]();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
return MetisMenu;
|
|
||||||
}();
|
|
||||||
/**
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
* jQuery
|
|
||||||
* ------------------------------------------------------------------------
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
$$$1.fn[NAME] = MetisMenu.jQueryInterface; // eslint-disable-line no-param-reassign
|
|
||||||
|
|
||||||
$$$1.fn[NAME].Constructor = MetisMenu; // eslint-disable-line no-param-reassign
|
|
||||||
|
|
||||||
$$$1.fn[NAME].noConflict = function () {
|
|
||||||
// eslint-disable-line no-param-reassign
|
|
||||||
$$$1.fn[NAME] = JQUERY_NO_CONFLICT; // eslint-disable-line no-param-reassign
|
|
||||||
|
|
||||||
return MetisMenu.jQueryInterface;
|
|
||||||
};
|
|
||||||
|
|
||||||
return MetisMenu;
|
|
||||||
}($);
|
|
||||||
|
|
||||||
return MetisMenu;
|
|
||||||
|
|
||||||
})));
|
|
||||||
//# sourceMappingURL=metisMenu.js.map
|
|
||||||
@ -1,50 +1,26 @@
|
|||||||
/* Components */
|
/*
|
||||||
import jQuery from 'jquery';
|
/!**
|
||||||
import 'metismenu';
|
* First we will load all of this project's JavaScript dependencies which
|
||||||
import vue from 'vue';
|
* includes Vue and other libraries. It is a great starting point when
|
||||||
import role from './components/admin/Role.vue';
|
* building robust, powerful web applications using Vue and Laravel.
|
||||||
|
*!/
|
||||||
/* CSS */
|
|
||||||
import '../sass/admin.scss';
|
|
||||||
|
|
||||||
window.$ = window.jQuery = jQuery;
|
import 'babel-polyfill';
|
||||||
|
import './bootstrap';
|
||||||
|
|
||||||
$().ready(function () {
|
window.Vue = require('vue');
|
||||||
$("#side-menu").metisMenu();
|
|
||||||
|
|
||||||
$(window).bind("load resize", function () {
|
|
||||||
let topOffset = 50;
|
|
||||||
let width = ((this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.height) - 1;
|
|
||||||
if (width < 768) {
|
|
||||||
$("div.navbar-collapse").addClass('collapse');
|
|
||||||
topOffset = 100;
|
|
||||||
} else {
|
|
||||||
$('div.navbar-collapse').removeClass('collapse');
|
|
||||||
}
|
|
||||||
|
|
||||||
let height = ((this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height) - 1;
|
/!**
|
||||||
height = height - topOffset;
|
* Next, we will create a fresh Vue application instance and attach it to
|
||||||
if (height < 1) height = 1;
|
* the page. Then, you may begin adding components to this application
|
||||||
if (height > topOffset) {
|
* or customize the JavaScript scaffolding to fit your unique needs.
|
||||||
$("#page-wrapper").css("min-height", (height) + "px");
|
*!/
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
let url = window.location;
|
import role from './components/admin/Role.vue';
|
||||||
let element = $('ul.nav a').filter(function () {
|
|
||||||
return this.href == url;
|
|
||||||
}).addClass('active').parent();
|
|
||||||
|
|
||||||
while (true) {
|
|
||||||
if (element.is('li')) {
|
|
||||||
element = element.parent().addClass('in').parent();
|
|
||||||
} else {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
const app = new vue({
|
const app = new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
components: {role}
|
components: {role}
|
||||||
});
|
});*/
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
// Mixins
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* Created by PhpStorm.
|
|
||||||
* User: DnBI
|
|
||||||
* Date: 2018/4/27
|
|
||||||
* Time: 15:56
|
|
||||||
*/
|
|
||||||
return [
|
|
||||||
'admin_title' => '测试'
|
|
||||||
];
|
|
||||||
@ -1,23 +1,18 @@
|
|||||||
@extends('layouts.admin')
|
<!doctype html>
|
||||||
|
<html lang="{{ app()->getLocale() }}">
|
||||||
@section('content')
|
<head>
|
||||||
<div class="container">
|
<meta charset="utf-8">
|
||||||
<div class="row">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<div class="col-md-8 col-md-offset-2">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<div class="panel panel-default">
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||||
<div class="panel-heading">Dashboard</div>
|
<link rel="stylesheet" href="{{ asset('css/admin.css') }}">
|
||||||
|
<title>Laravel Todo Application</title>
|
||||||
<div class="panel-body">
|
</head>
|
||||||
@if (session('status'))
|
<body>
|
||||||
<div class="alert alert-success">
|
<div class="container" id="app">
|
||||||
{{ session('status') }}
|
<tasks></tasks>
|
||||||
</div>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
You are logged in!
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
|
||||||
|
<script src="{{ asset('js/admin.js') }}"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
Loading…
Reference in new issue