From b9cfc4b9491c360ba01a7097a21e85ee90a9fd68 Mon Sep 17 00:00:00 2001 From: caskd Date: Wed, 31 Oct 2018 21:46:52 +0100 Subject: [PATCH] v1 Release Version of this theme --- public/themes/redxen/css/pterodactyl.css | 373 +++++++-- public/themes/redxen/css/terminal.css | 1 - public/themes/redxen/js/frontend/console.js | 16 +- public/themes/redxen/vendor/adminlte/app.js | 743 ++++++++++++++++++ .../themes/redxen/vendor/adminlte/app.min.js | 2 +- .../adminlte/colors/skin-blue-light.min.css | 1 - .../vendor/adminlte/colors/skin-blue.min.css | 1 - .../vendor/adminlte/colors/skin-red.min.css | 144 ++++ .../redxen/admin/servers/view/index.blade.php | 4 +- resources/themes/redxen/auth/login.blade.php | 4 +- .../redxen/auth/passwords/email.blade.php | 4 +- .../themes/redxen/layouts/admin.blade.php | 4 +- .../themes/redxen/layouts/error.blade.php | 4 +- .../themes/redxen/layouts/master.blade.php | 4 +- 14 files changed, 1228 insertions(+), 77 deletions(-) create mode 100644 public/themes/redxen/vendor/adminlte/app.js delete mode 100644 public/themes/redxen/vendor/adminlte/colors/skin-blue-light.min.css delete mode 100644 public/themes/redxen/vendor/adminlte/colors/skin-blue.min.css create mode 100644 public/themes/redxen/vendor/adminlte/colors/skin-red.min.css diff --git a/public/themes/redxen/css/pterodactyl.css b/public/themes/redxen/css/pterodactyl.css index a4e4c4c..4b003de 100644 --- a/public/themes/redxen/css/pterodactyl.css +++ b/public/themes/redxen/css/pterodactyl.css @@ -20,10 +20,164 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ - @import 'checkbox.css'; +@import 'checkbox.css'; + +.content-wrapper { + background-color: #101010 +} + +body, +.select2-container--default .select2-selection--single .select2-selection__rendered { + color: #eee; +} + +a:hover, +a:active, +a:focus { + color: #bd2222; +} + +.select2-container--default .select2-selection--multiple .select2-selection__choice, +.select2-container--default .select2-results__option--highlighted[aria-selected] { + background-color: #e22; + border-color: #d22; +} + +a { + color: #d11; +} + +.table-hover>tbody>tr:hover { + background-color: #444; +} + +table, +.select2-selection, +.select2-container--default.select2-container--focus .select2-selection--multiple, +.select2-container--default .select2-search--dropdown .select2-search__field { + border-color: #a00 !important; +} + +pre { + background-color: #121212; + color: #e22; + border: none; +} + +.input-group .input-group-addon, +.select2-container--default .select2-selection--single, +.select2-container--default .select2-results__option[aria-selected=true], +.select2-dropdown, +.select2-search--dropdown .select2-search__field, +.select2-container--default .select2-selection--multiple, +.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, +.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple, +.select2-selection__rendered, +.select2-results__option .select2-results__option--highlighted, +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + background: #333; + border-color: transparent; + color: #eee; +} + + +.nav-tabs-custom>.nav-tabs>li.active { + border-top-color: #d22; +} + +.nav-tabs-custom>.nav-tabs>li.active>a { + border-color: transparent; +} + +.nav-tabs-custom>.nav-tabs>li.active>a, +.nav-tabs-custom>.nav-tabs>li.active:hover>a { + background-color: #444; +} + +.nav-tabs-custom { + background: #222 +} + +.nav-tabs-custom>.nav-tabs>li>a { + background: #222; + color: #eee !important; +} + +.h1, +.h2, +.h3, +.h4, +.h5, +.h6, +h1, +h2, +h3, +h4, +h5, +h6 { + color: #F44336; +} + +.h1 .small, +.h1 small, +.h2 .small, +.h2 small, +.h3 .small, +.h3 small, +.h4 .small, +.h4 small, +.h5 .small, +.h5 small, +.h6 .small, +.h6 small, +h1 .small, +h1 small, +h2 .small, +h2 small, +h3 .small, +h3 small, +h4 .small, +h4 small, +h5 .small, +h5 small, +h6 .small, +h6 small { + color: #F44336; +} + +@media (max-width: 991px) { + .content-header>.breadcrumb { + background-color: #212121; + } +} + +.content-header>.breadcrumb>li>a, +.content-header>.breadcrumb>li { + color: #d22; +} + +.box-header.with-border { + border-bottom: 1px solid #222; +} + +.box { + background-color: #212121; + border-top: 3px solid #a02020; +} + +.box.box-primary { + border-top-color: #e22; +} + +.box-footer { + background-color: #212121; + border-top: none; +} .login-page { - background: #10529f; + background: #111; } #login-position-elements { @@ -39,7 +193,7 @@ color: rgba(255, 255, 255, 0.3); } -.login-copyright > a { +.login-copyright>a { color: rgba(255, 255, 255, 0.6); } @@ -57,17 +211,34 @@ padding: 20px; } -.pterodactyl-login-input > input { +.pterodactyl-login-input>input { background: rgba(0, 0, 0, 0.4); border: 1px solid #000; border-radius: 2px; color: #fff; } -.pterodactyl-login-input > .form-control-feedback { +.pterodactyl-login-input>.form-control-feedback { color: #fff; } +.form-control { + color: #eee; + background-color: rgba(10, 10, 10, .3); + border-color: #111; +} + +.btn, +.btn-default { + background-color: #222; + border-color: #111; + color: #eee; +} + +.form-control:focus { + border-color: #e22; +} + .pterodactyl-login-button--main { background: rgba(0, 0, 0, 0.4); border: 1px solid #000; @@ -77,21 +248,21 @@ .pterodactyl-login-button--main:hover { background: rgba(0, 0, 0, 0.7); - border: 1px solid #000; + border: 1px solid #d22; border-radius: 2px; color: #fff; } .pterodactyl-login-button--left { - background: rgba(255, 255, 255, 0.4); - border: 1px solid rgba(255, 255, 255, 0.6); + background: rgba(255, 0, 0, 0.6); + border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 2px; color: #fff; } .pterodactyl-login-button--left:hover { - background: rgba(255, 255, 255, 0.6); - border: 1px solid rgba(255, 255, 255, 0.8); + background: rgba(200, 0, 0, 0.6); + border: 1px solid rgba(200, 0, 0, 0.8); border-radius: 2px; color: #fff; } @@ -108,14 +279,14 @@ background: transparent; } -.user-panel > .info { +.user-panel>.info { position: relative; left: 0; } code { - background-color: #eef1f6; - color: #596981; + background-color: #a11; + color: #ddd; border-radius: 2px; padding-left: 4px; padding-right: 4px; @@ -125,6 +296,21 @@ code { display: inline-block; } +.table>thead>tr>th, +.table>tbody>tr>th, +.table>tfoot>tr>th, +.table>thead>tr>td, +.table>tbody>tr>td, +.table>tfoot>tr>td { + border-top: 1px solid #a00; +} + +.main-footer { + background: #121212; + color: #eee; + border-top: 1px solid #d11; +} + p { line-height: 1.6 !important; } @@ -133,7 +319,7 @@ p.small { margin-top: 3px !important; } -.control-sidebar-dark .control-sidebar-menu > li > a.active { +.control-sidebar-dark .control-sidebar-menu>li>a.active { background: #1e282c; } @@ -146,23 +332,24 @@ p.small { } .table .min-size { - width:1px; + width: 1px; white-space: nowrap; } @media (max-width:767px) { - .box-header > .box-tools { + .box-header>.box-tools { position: relative !important; padding: 0px 10px 10px; } } -.middle, .align-middle { +.middle, +.align-middle { vertical-align: middle !important; } -#fileOptionMenu.dropdown-menu > li > a { - padding:3px 6px; +#fileOptionMenu.dropdown-menu>li>a { + padding: 3px 6px; } .hasFileHover { @@ -184,9 +371,9 @@ td.has-progress { .progress.progress-table-bottom { margin: 0 !important; - height:5px !important; - padding:0; - border:0; + height: 5px !important; + padding: 0; + border: 0; } .muted { @@ -205,7 +392,7 @@ td.has-progress { .input-loader { display: none; - position:relative; + position: relative; top: -25px; float: right; right: 5px; @@ -213,11 +400,11 @@ td.has-progress { height: 0; } -.box-header > .form-group { +.box-header>.form-group { margin-bottom: 0; } -.box-header > .form-group > div > p.small { +.box-header>.form-group>div>p.small { margin: 0; } @@ -225,11 +412,11 @@ td.has-progress { margin: 0 !important; } -li.select2-results__option--highlighted[aria-selected="false"] > .user-block > .username > a { +li.select2-results__option--highlighted[aria-selected="false"]>.user-block>.username>a { color: #fff; } -li.select2-results__option--highlighted[aria-selected="false"] > .user-block > .description { +li.select2-results__option--highlighted[aria-selected="false"]>.user-block>.description,td > a { color: #eee; } @@ -242,8 +429,76 @@ li.select2-results__option--highlighted[aria-selected="false"] > .user-block > . border: 0 !important; } +.table>thead>tr>th { + border: none; +} + +.dropdown-menu { + border-color: #d22; + background-color: #111; +} + +.dropdown-menu>li>a { + color: #d11; +} + +.dropdown-menu>li>a:hover { + background-color: #a22; + color: #eee; +} + +.table>tbody>tr.warning>td, +.table>tbody>tr.warning>th, +.table>tbody>tr>td.warning, +.table>tbody>tr>th.warning, +.table>tfoot>tr.warning>td, +.table>tfoot>tr.warning>th, +.table>tfoot>tr>td.warning, +.table>tfoot>tr>th.warning, +.table>thead>tr.warning>td, +.table>thead>tr.warning>th, +.table>thead>tr>td.warning, +.table>thead>tr>th.warning, +.table>tbody>tr.active>td, +.table>tbody>tr.active>th, +.table>tbody>tr>td.active, +.table>tbody>tr>th.active, +.table>tfoot>tr.active>td, +.table>tfoot>tr.active>th, +.table>tfoot>tr>td.active, +.table>tfoot>tr>th.active, +.table>thead>tr.active>td, +.table>thead>tr.active>th, +.table>thead>tr>td.active, +.table>thead>tr>th.active, +.table-hover>tbody>tr.active:hover>td, +.table-hover>tbody>tr.active:hover>th, +.table-hover>tbody>tr:hover>.active, +.table-hover>tbody>tr>td.active:hover, +.table-hover>tbody>tr>th.active:hover { + background-color: #d64242; + color: #eee !important; +} + +.table-hover>tbody>tr.warning:hover>td, +.table-hover>tbody>tr.warning:hover>th, +.table-hover>tbody>tr:hover>.warning, +.table-hover>tbody>tr>td.warning:hover, +.table-hover>tbody>tr>th.warning:hover { + background-color: #c11212; +} + +.dropdown-menu>.divider { + background-color: #d11; +} + +li.bg-danger>a { + background-color: #c23321; + color: #eee; +} + .img-bordered-xs { - border: 1px solid #d2d6de; + border: 1px solid #d22; padding: 1px; } @@ -287,8 +542,13 @@ span[aria-labelledby="select2-pUserId-container"] { background-color: #79589f !important; } +.nav-tabs-custom>.nav-tabs>li.active>a { + background-color: #333; +} + .label-default { - background-color: #eef1f6 !important; + background-color: #d22 !important; + color: #eee; } .callout.callout-info.callout-slim { @@ -335,42 +595,48 @@ span[aria-labelledby="select2-pUserId-container"] { margin: 0 -10px -10px; } -.select2-container{ width: 100% !important; } - -.nav-tabs-custom > .nav-tabs > li:hover { - border-top-color:#3c8dbc; +.select2-container { + width: 100% !important; } -.nav-tabs-custom > .nav-tabs > li.active.tab-danger, .nav-tabs-custom > .nav-tabs > li.tab-danger:hover { +.nav-tabs-custom>.nav-tabs>li:hover { + border-top-color: #d22; +} + +.nav-tabs-custom>.nav-tabs>li.active.tab-danger, +.nav-tabs-custom>.nav-tabs>li.tab-danger:hover { border-top-color: #c23321; } -.nav-tabs-custom > .nav-tabs > li.active.tab-success, .nav-tabs-custom > .nav-tabs > li.tab-success:hover { +.nav-tabs-custom>.nav-tabs>li.active.tab-success, +.nav-tabs-custom>.nav-tabs>li.tab-success:hover { border-top-color: #00733e; } -.nav-tabs-custom > .nav-tabs > li.active.tab-info, .nav-tabs-custom > .nav-tabs > li.tab-info:hover { +.nav-tabs-custom>.nav-tabs>li.active.tab-info, +.nav-tabs-custom>.nav-tabs>li.tab-info:hover { border-top-color: #0097bc; } -.nav-tabs-custom > .nav-tabs > li.active.tab-warning, .nav-tabs-custom > .nav-tabs > li.tab-warning:hover { +.nav-tabs-custom>.nav-tabs>li.active.tab-warning, +.nav-tabs-custom>.nav-tabs>li.tab-warning:hover { border-top-color: #c87f0a; } -.nav-tabs-custom.nav-tabs-floating > .nav-tabs { +.nav-tabs-custom.nav-tabs-floating>.nav-tabs { border-bottom: 0px !important; } -.nav-tabs-custom.nav-tabs-floating > .nav-tabs > li { +.nav-tabs-custom.nav-tabs-floating>.nav-tabs>li { margin-bottom: 0px !important; } -.nav-tabs-custom.nav-tabs-floating > .nav-tabs > li:first-child.active, -.nav-tabs-custom.nav-tabs-floating > .nav-tabs > li:first-child:hover { +.nav-tabs-custom.nav-tabs-floating>.nav-tabs>li:first-child.active, +.nav-tabs-custom.nav-tabs-floating>.nav-tabs>li:first-child:hover { border-radius: 3px 0 0 0; } -.nav-tabs-custom.nav-tabs-floating > .nav-tabs > li:first-child.active > a { +.nav-tabs-custom.nav-tabs-floating>.nav-tabs>li:first-child.active>a { border-radius: 0 0 0 3px; } @@ -386,11 +652,12 @@ span[aria-labelledby="select2-pUserId-container"] { margin-bottom: 0 !important; } -.btn-icon > i.fa { +.btn-icon>i.fa { line-height: 1.5; } -.btn.active, .btn.active.focus { +.btn.active, +.btn.active.focus { background-color: #408fec; } @@ -398,12 +665,12 @@ span[aria-labelledby="select2-pUserId-container"] { font-weight: bold !important; } -.server-description > td { +.server-description>td { padding-top: 0 !important; border-top: 0 !important; } -tr:hover + tr.server-description { +tr:hover+tr.server-description { background-color: #f5f5f5 !important; } @@ -448,28 +715,29 @@ input.form-autocomplete-stop[readonly] { margin-right: 5px !important; } -label.control-label > span { +label.control-label>span { font-size: 80%; font-weight: 400; font-style: italic; color: #dd4b39; } -label.control-label > span.field-required:before { +label.control-label>span.field-required:before { content: "required"; color: #dd4b39; } -label.control-label > span.field-optional:before { +label.control-label>span.field-optional:before { content: "optional"; color: #bbbbbb; } -.pagination > li > a, .pagination > li > span { +.pagination>li>a, +.pagination>li>span { padding: 3px 10px !important; } -.logo-mini > img { +.logo-mini>img { height: 42px; width: auto; } @@ -480,5 +748,4 @@ label.control-label > span.field-optional:before { .number-info-box-content { padding: 15px 10px 0; -} - +} \ No newline at end of file diff --git a/public/themes/redxen/css/terminal.css b/public/themes/redxen/css/terminal.css index 29ede47..ecdd10f 100644 --- a/public/themes/redxen/css/terminal.css +++ b/public/themes/redxen/css/terminal.css @@ -26,7 +26,6 @@ #terminal > .cmd { padding: 1px 0; - white-space: pre; } #terminal_input { diff --git a/public/themes/redxen/js/frontend/console.js b/public/themes/redxen/js/frontend/console.js index 8943da4..4c55510 100644 --- a/public/themes/redxen/js/frontend/console.js +++ b/public/themes/redxen/js/frontend/console.js @@ -271,17 +271,17 @@ $(document).ready(function () { label: "Percent Use", fill: false, lineTension: 0.03, - backgroundColor: "#3c8dbc", - borderColor: "#3c8dbc", + backgroundColor: "#d22", + borderColor: "#d22", borderCapStyle: 'butt', borderDash: [], borderDashOffset: 0.0, borderJoinStyle: 'miter', - pointBorderColor: "#3c8dbc", + pointBorderColor: "#d22", pointBackgroundColor: "#fff", pointBorderWidth: 1, pointHoverRadius: 5, - pointHoverBackgroundColor: "#3c8dbc", + pointHoverBackgroundColor: "#d22", pointHoverBorderColor: "rgba(220,220,220,1)", pointHoverBorderWidth: 2, pointRadius: 1, @@ -316,17 +316,17 @@ $(document).ready(function () { label: "Memory Use", fill: false, lineTension: 0.03, - backgroundColor: "#3c8dbc", - borderColor: "#3c8dbc", + backgroundColor: "#d22", + borderColor: "#d22", borderCapStyle: 'butt', borderDash: [], borderDashOffset: 0.0, borderJoinStyle: 'miter', - pointBorderColor: "#3c8dbc", + pointBorderColor: "#d22", pointBackgroundColor: "#fff", pointBorderWidth: 1, pointHoverRadius: 5, - pointHoverBackgroundColor: "#3c8dbc", + pointHoverBackgroundColor: "#d22", pointHoverBorderColor: "rgba(220,220,220,1)", pointHoverBorderWidth: 2, pointRadius: 1, diff --git a/public/themes/redxen/vendor/adminlte/app.js b/public/themes/redxen/vendor/adminlte/app.js new file mode 100644 index 0000000..f960ca0 --- /dev/null +++ b/public/themes/redxen/vendor/adminlte/app.js @@ -0,0 +1,743 @@ +/*! AdminLTE app.js + * ================ + * Main JS application file for AdminLTE v2. This file + * should be included in all pages. It controls some layout + * options and implements exclusive AdminLTE plugins. + * + * @Author Almsaeed Studio + * @Support + * @Email + * @version 2.4.0 + * @repository git://github.com/almasaeed2010/AdminLTE.git + * @license MIT + */ +if ("undefined" == typeof jQuery) throw new Error("AdminLTE requires jQuery"); ++(function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var e = a(this), + g = e.data(c); + if (!g) { + var h = a.extend({}, d, e.data(), "object" == typeof b && b); + e.data(c, (g = new f(e, h))); + } + if ("string" == typeof g) { + if (void 0 === g[b]) throw new Error("No method named " + b); + g[b](); + } + }); + } + var c = "lte.boxrefresh", + d = { + source: "", + params: {}, + trigger: ".refresh-btn", + content: ".box-body", + loadInContent: !0, + responseType: "", + overlayTemplate: + '
', + onLoadStart: function() {}, + onLoadDone: function(a) { + return a; + } + }, + e = { + data: '[data-widget="box-refresh"]' + }, + f = function(b, c) { + if ( + ((this.element = b), + (this.options = c), + (this.$overlay = a(c.overlay)), + "" === c.source) + ) + throw new Error( + "Source url was not defined. Please specify a url in your BoxRefresh source option." + ); + this._setUpListeners(), this.load(); + }; + (f.prototype.load = function() { + this._addOverlay(), + this.options.onLoadStart.call(a(this)), + a.get( + this.options.source, + this.options.params, + function(b) { + this.options.loadInContent && a(this.options.content).html(b), + this.options.onLoadDone.call(a(this), b), + this._removeOverlay(); + }.bind(this), + "" !== this.options.responseType && this.options.responseType + ); + }), + (f.prototype._setUpListeners = function() { + a(this.element).on( + "click", + e.trigger, + function(a) { + a && a.preventDefault(), this.load(); + }.bind(this) + ); + }), + (f.prototype._addOverlay = function() { + a(this.element).append(this.$overlay); + }), + (f.prototype._removeOverlay = function() { + a(this.element).remove(this.$overlay); + }); + var g = a.fn.boxRefresh; + (a.fn.boxRefresh = b), + (a.fn.boxRefresh.Constructor = f), + (a.fn.boxRefresh.noConflict = function() { + return (a.fn.boxRefresh = g), this; + }), + a(window).on("load", function() { + a(e.data).each(function() { + b.call(a(this)); + }); + }); +})(jQuery), + (function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var e = a(this), + f = e.data(c); + if (!f) { + var g = a.extend({}, d, e.data(), "object" == typeof b && b); + e.data(c, (f = new h(e, g))); + } + if ("string" == typeof b) { + if (void 0 === f[b]) throw new Error("No method named " + b); + f[b](); + } + }); + } + var c = "lte.boxwidget", + d = { + animationSpeed: 500, + collapseTrigger: '[data-widget="collapse"]', + removeTrigger: '[data-widget="remove"]', + collapseIcon: "fa-minus", + expandIcon: "fa-plus", + removeIcon: "fa-times" + }, + e = { + data: ".box", + collapsed: ".collapsed-box", + body: ".box-body", + footer: ".box-footer", + tools: ".box-tools" + }, + f = { + collapsed: "collapsed-box" + }, + g = { + collapsed: "collapsed.boxwidget", + expanded: "expanded.boxwidget", + removed: "removed.boxwidget" + }, + h = function(a, b) { + (this.element = a), (this.options = b), this._setUpListeners(); + }; + (h.prototype.toggle = function() { + a(this.element).is(e.collapsed) ? this.expand() : this.collapse(); + }), + (h.prototype.expand = function() { + var b = a.Event(g.expanded), + c = this.options.collapseIcon, + d = this.options.expandIcon; + a(this.element).removeClass(f.collapsed), + a(this.element) + .find(e.tools) + .find("." + d) + .removeClass(d) + .addClass(c), + a(this.element) + .find(e.body + ", " + e.footer) + .slideDown( + this.options.animationSpeed, + function() { + a(this.element).trigger(b); + }.bind(this) + ); + }), + (h.prototype.collapse = function() { + var b = a.Event(g.collapsed), + c = this.options.collapseIcon, + d = this.options.expandIcon; + a(this.element) + .find(e.tools) + .find("." + c) + .removeClass(c) + .addClass(d), + a(this.element) + .find(e.body + ", " + e.footer) + .slideUp( + this.options.animationSpeed, + function() { + a(this.element).addClass(f.collapsed), + a(this.element).trigger(b); + }.bind(this) + ); + }), + (h.prototype.remove = function() { + var b = a.Event(g.removed); + a(this.element).slideUp( + this.options.animationSpeed, + function() { + a(this.element).trigger(b), a(this.element).remove(); + }.bind(this) + ); + }), + (h.prototype._setUpListeners = function() { + var b = this; + a(this.element).on("click", this.options.collapseTrigger, function(a) { + a && a.preventDefault(), b.toggle(); + }), + a(this.element).on("click", this.options.removeTrigger, function(a) { + a && a.preventDefault(), b.remove(); + }); + }); + var i = a.fn.boxWidget; + (a.fn.boxWidget = b), + (a.fn.boxWidget.Constructor = h), + (a.fn.boxWidget.noConflict = function() { + return (a.fn.boxWidget = i), this; + }), + a(window).on("load", function() { + a(e.data).each(function() { + b.call(a(this)); + }); + }); + })(jQuery), + (function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var e = a(this), + f = e.data(c); + if (!f) { + var g = a.extend({}, d, e.data(), "object" == typeof b && b); + e.data(c, (f = new h(e, g))); + } + "string" == typeof b && f.toggle(); + }); + } + var c = "lte.controlsidebar", + d = { + slide: !0 + }, + e = { + sidebar: ".control-sidebar", + data: '[data-toggle="control-sidebar"]', + open: ".control-sidebar-open", + bg: ".control-sidebar-bg", + wrapper: ".wrapper", + content: ".content-wrapper", + boxed: ".layout-boxed" + }, + f = { + open: "control-sidebar-open", + fixed: "fixed" + }, + g = { + collapsed: "collapsed.controlsidebar", + expanded: "expanded.controlsidebar" + }, + h = function(a, b) { + (this.element = a), + (this.options = b), + (this.hasBindedResize = !1), + this.init(); + }; + (h.prototype.init = function() { + a(this.element).is(e.data) || a(this).on("click", this.toggle), + this.fix(), + a(window).resize( + function() { + this.fix(); + }.bind(this) + ); + }), + (h.prototype.toggle = function(b) { + b && b.preventDefault(), + this.fix(), + a(e.sidebar).is(e.open) || a("body").is(e.open) + ? this.collapse() + : this.expand(); + }), + (h.prototype.expand = function() { + this.options.slide + ? a(e.sidebar).addClass(f.open) + : a("body").addClass(f.open), + a(this.element).trigger(a.Event(g.expanded)); + }), + (h.prototype.collapse = function() { + a("body, " + e.sidebar).removeClass(f.open), + a(this.element).trigger(a.Event(g.collapsed)); + }), + (h.prototype.fix = function() { + a("body").is(e.boxed) && this._fixForBoxed(a(e.bg)); + }), + (h.prototype._fixForBoxed = function(b) { + b.css({ + position: "absolute", + height: a(e.wrapper).height() + }); + }); + var i = a.fn.controlSidebar; + (a.fn.controlSidebar = b), + (a.fn.controlSidebar.Constructor = h), + (a.fn.controlSidebar.noConflict = function() { + return (a.fn.controlSidebar = i), this; + }), + a(document).on("click", e.data, function(c) { + c && c.preventDefault(), b.call(a(this), "toggle"); + }); + })(jQuery), + (function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var d = a(this), + e = d.data(c); + e || d.data(c, (e = new f(d))), "string" == typeof b && e.toggle(d); + }); + } + var c = "lte.directchat", + d = { + data: '[data-widget="chat-pane-toggle"]', + box: ".direct-chat" + }, + e = { + open: "direct-chat-contacts-open" + }, + f = function(a) { + this.element = a; + }; + f.prototype.toggle = function(a) { + a.parents(d.box) + .first() + .toggleClass(e.open); + }; + var g = a.fn.directChat; + (a.fn.directChat = b), + (a.fn.directChat.Constructor = f), + (a.fn.directChat.noConflict = function() { + return (a.fn.directChat = g), this; + }), + a(document).on("click", d.data, function(c) { + c && c.preventDefault(), b.call(a(this), "toggle"); + }); + })(jQuery), + (function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var e = a(this), + f = e.data(c); + if (!f) { + var h = a.extend({}, d, e.data(), "object" == typeof b && b); + e.data(c, (f = new g(h))); + } + if ("string" == typeof b) { + if (void 0 === f[b]) throw new Error("No method named " + b); + f[b](); + } + }); + } + var c = "lte.layout", + d = { + slimscroll: !0, + resetHeight: !0 + }, + e = { + wrapper: ".wrapper", + contentWrapper: ".content-wrapper", + layoutBoxed: ".layout-boxed", + mainFooter: ".main-footer", + mainHeader: ".main-header", + sidebar: ".sidebar", + controlSidebar: ".control-sidebar", + fixed: ".fixed", + sidebarMenu: ".sidebar-menu", + logo: ".main-header .logo" + }, + f = { + fixed: "fixed", + holdTransition: "hold-transition" + }, + g = function(a) { + (this.options = a), (this.bindedResize = !1), this.activate(); + }; + (g.prototype.activate = function() { + this.fix(), + this.fixSidebar(), + a("body").removeClass(f.holdTransition), + this.options.resetHeight && + a("body, html, " + e.wrapper).css({ + height: "auto", + "min-height": "100%" + }), + this.bindedResize || + (a(window).resize( + function() { + this.fix(), + this.fixSidebar(), + a(e.logo + ", " + e.sidebar).one( + "webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend", + function() { + this.fix(), this.fixSidebar(); + }.bind(this) + ); + }.bind(this) + ), + (this.bindedResize = !0)), + a(e.sidebarMenu).on( + "expanded.tree", + function() { + this.fix(), this.fixSidebar(); + }.bind(this) + ), + a(e.sidebarMenu).on( + "collapsed.tree", + function() { + this.fix(), this.fixSidebar(); + }.bind(this) + ); + }), + (g.prototype.fix = function() { + a(e.layoutBoxed + " > " + e.wrapper).css("overflow", "hidden"); + var b = a(e.mainFooter).outerHeight() || 0, + c = a(e.mainHeader).outerHeight() + b, + d = a(window).height(), + g = a(e.sidebar).height() || 0; + if (a("body").hasClass(f.fixed)) + a(e.contentWrapper).css("min-height", d - b); + else { + var h; + d >= g + ? (a(e.contentWrapper).css("min-height", d - c), (h = d - c)) + : (a(e.contentWrapper).css("min-height", g), (h = g)); + var i = a(e.controlSidebar); + void 0 !== i && + i.height() > h && + a(e.contentWrapper).css("min-height", i.height()); + } + }), + (g.prototype.fixSidebar = function() { + // if (!a("body").hasClass(f.fixed)) return void(void 0 !== a.fn.slimScroll && a(e.sidebar).slimScroll({ + // destroy: !0 + // }).height("auto")); + // this.options.slimscroll && void 0 !== a.fn.slimScroll && a(e.sidebar).slimScroll({ + // height: a(window).height() - a(e.mainHeader).height() + "px", + // color: "rgba(0,0,0,0.2)", + // size: "3px" + // }) + }); + var h = a.fn.layout; + (a.fn.layout = b), + (a.fn.layout.Constuctor = g), + (a.fn.layout.noConflict = function() { + return (a.fn.layout = h), this; + }), + a(window).on("load", function() { + b.call(a("body")); + }); + })(jQuery), + (function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var e = a(this), + f = e.data(c); + if (!f) { + var g = a.extend({}, d, e.data(), "object" == typeof b && b); + e.data(c, (f = new h(g))); + } + "toggle" === b && f.toggle(); + }); + } + var c = "lte.pushmenu", + d = { + collapseScreenSize: 767, + expandOnHover: !0, + expandTransitionDelay: 200 + }, + e = { + collapsed: ".sidebar-collapse", + open: ".sidebar-open", + mainSidebar: ".main-sidebar", + contentWrapper: ".content-wrapper", + searchInput: ".sidebar-form .form-control", + button: '[data-toggle="push-menu"]', + mini: ".sidebar-mini", + expanded: ".sidebar-expanded-on-hover", + layoutFixed: ".fixed" + }, + f = { + collapsed: "sidebar-collapse", + open: "sidebar-open", + mini: "sidebar-mini", + expanded: "sidebar-expanded-on-hover", + expandFeature: "sidebar-mini-expand-feature", + layoutFixed: "fixed" + }, + g = { + expanded: "expanded.pushMenu", + collapsed: "collapsed.pushMenu" + }, + h = function(a) { + (this.options = a), this.init(); + }; + (h.prototype.init = function() { + (this.options.expandOnHover || a("body").is(e.mini + e.layoutFixed)) && + this.expandOnHover(), + a(e.contentWrapper).click( + function() { + a(window).width() <= this.options.collapseScreenSize && + a("body").hasClass(f.open) && + this.close(); + }.bind(this) + ), + a(e.searchInput).click(function(a) { + a.stopPropagation(); + }); + }), + (h.prototype.toggle = function() { + var b = a(window).width(), + c = !a("body").hasClass(f.collapsed); + b <= this.options.collapseScreenSize && + (c = a("body").hasClass(f.open)), + c ? this.close() : this.open(); + }), + (h.prototype.open = function() { + a(window).width() > this.options.collapseScreenSize + ? a("body") + .removeClass(f.collapsed) + .trigger(a.Event(g.expanded)) + : a("body") + .addClass(f.open) + .trigger(a.Event(g.expanded)); + }), + (h.prototype.close = function() { + a(window).width() > this.options.collapseScreenSize + ? a("body") + .addClass(f.collapsed) + .trigger(a.Event(g.collapsed)) + : a("body") + .removeClass(f.open + " " + f.collapsed) + .trigger(a.Event(g.collapsed)); + }), + (h.prototype.expandOnHover = function() { + a(e.mainSidebar).hover( + function() { + /*a("body").is(e.mini + e.collapsed) && a(window).width() > this.options.collapseScreenSize && this.expand(/ + }.bind(this), function () { + a("body").is(e.expanded) && this.collapse()*/ + }.bind(this) + ); + }), + (h.prototype.expand = function() { + setTimeout(function() { + a("body") + .removeClass(f.collapsed) + .addClass(f.expanded); + }, this.options.expandTransitionDelay); + }), + (h.prototype.collapse = function() { + setTimeout(function() { + a("body") + .removeClass(f.expanded) + .addClass(f.collapsed); + }, this.options.expandTransitionDelay); + }); + var i = a.fn.pushMenu; + (a.fn.pushMenu = b), + (a.fn.pushMenu.Constructor = h), + (a.fn.pushMenu.noConflict = function() { + return (a.fn.pushMenu = i), this; + }), + a(document).on("click", e.button, function(c) { + c.preventDefault(), b.call(a(this), "toggle"); + }), + a(window).on("load", function() { + b.call(a(e.button)); + }); + })(jQuery), + (function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var e = a(this), + f = e.data(c); + if (!f) { + var h = a.extend({}, d, e.data(), "object" == typeof b && b); + e.data(c, (f = new g(e, h))); + } + if ("string" == typeof f) { + if (void 0 === f[b]) throw new Error("No method named " + b); + f[b](); + } + }); + } + var c = "lte.todolist", + d = { + onCheck: function(a) { + return a; + }, + onUnCheck: function(a) { + return a; + } + }, + e = { + data: '[data-widget="todo-list"]' + }, + f = { + done: "done" + }, + g = function(a, b) { + (this.element = a), (this.options = b), this._setUpListeners(); + }; + (g.prototype.toggle = function(a) { + if ( + (a + .parents(e.li) + .first() + .toggleClass(f.done), + !a.prop("checked")) + ) + return void this.unCheck(a); + this.check(a); + }), + (g.prototype.check = function(a) { + this.options.onCheck.call(a); + }), + (g.prototype.unCheck = function(a) { + this.options.onUnCheck.call(a); + }), + (g.prototype._setUpListeners = function() { + var b = this; + a(this.element).on("change ifChanged", "input:checkbox", function() { + b.toggle(a(this)); + }); + }); + var h = a.fn.todoList; + (a.fn.todoList = b), + (a.fn.todoList.Constructor = g), + (a.fn.todoList.noConflict = function() { + return (a.fn.todoList = h), this; + }), + a(window).on("load", function() { + a(e.data).each(function() { + b.call(a(this)); + }); + }); + })(jQuery), + (function(a) { + "use strict"; + + function b(b) { + return this.each(function() { + var e = a(this); + if (!e.data(c)) { + var f = a.extend({}, d, e.data(), "object" == typeof b && b); + e.data(c, new h(e, f)); + } + }); + } + var c = "lte.tree", + d = { + animationSpeed: 500, + accordion: !0, + followLink: !1, + trigger: ".treeview a" + }, + e = { + tree: ".tree", + treeview: ".treeview", + treeviewMenu: ".treeview-menu", + open: ".menu-open, .active", + li: "li", + data: '[data-widget="tree"]', + active: ".active" + }, + f = { + open: "menu-open", + tree: "tree" + }, + g = { + collapsed: "collapsed.tree", + expanded: "expanded.tree" + }, + h = function(b, c) { + (this.element = b), + (this.options = c), + a(this.element).addClass(f.tree), + a(e.treeview + e.active, this.element).addClass(f.open), + this._setUpListeners(); + }; + (h.prototype.toggle = function(a, b) { + var c = a.next(e.treeviewMenu), + d = a.parent(), + g = d.hasClass(f.open); + d.is(e.treeview) && + ((this.options.followLink && "#" !== a.attr("href")) || + b.preventDefault(), + g ? this.collapse(c, d) : this.expand(c, d)); + }), + (h.prototype.expand = function(b, c) { + var d = a.Event(g.expanded); + if (this.options.accordion) { + var h = c.siblings(e.open), + i = h.children(e.treeviewMenu); + this.collapse(i, h); + } + c.addClass(f.open), + b.slideDown( + this.options.animationSpeed, + function() { + a(this.element).trigger(d); + }.bind(this) + ); + }), + (h.prototype.collapse = function(b, c) { + var d = a.Event(g.collapsed); + b.find(e.open).removeClass(f.open), + c.removeClass(f.open), + b.slideUp( + this.options.animationSpeed, + function() { + b.find(e.open + " > " + e.treeview).slideUp(), + a(this.element).trigger(d); + }.bind(this) + ); + }), + (h.prototype._setUpListeners = function() { + var b = this; + a(this.element).on("click", this.options.trigger, function(c) { + b.toggle(a(this), c); + }); + }); + var i = a.fn.tree; + (a.fn.tree = b), + (a.fn.tree.Constructor = h), + (a.fn.tree.noConflict = function() { + return (a.fn.tree = i), this; + }), + a(window).on("load", function() { + a(e.data).each(function() { + b.call(a(this)); + }); + }); + })(jQuery); diff --git a/public/themes/redxen/vendor/adminlte/app.min.js b/public/themes/redxen/vendor/adminlte/app.min.js index c9933e0..56e21e6 100644 --- a/public/themes/redxen/vendor/adminlte/app.min.js +++ b/public/themes/redxen/vendor/adminlte/app.min.js @@ -11,4 +11,4 @@ * @repository git://github.com/almasaeed2010/AdminLTE.git * @license MIT */ -if("undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");+function(a){"use strict";function b(b){return this.each(function(){var e=a(this),g=e.data(c);if(!g){var h=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,g=new f(e,h))}if("string"==typeof g){if(void 0===g[b])throw new Error("No method named "+b);g[b]()}})}var c="lte.boxrefresh",d={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'
',onLoadStart:function(){},onLoadDone:function(a){return a}},e={data:'[data-widget="box-refresh"]'},f=function(b,c){if(this.element=b,this.options=c,this.$overlay=a(c.overlay),""===c.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()};f.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(a(this)),a.get(this.options.source,this.options.params,function(b){this.options.loadInContent&&a(this.options.content).html(b),this.options.onLoadDone.call(a(this),b),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},f.prototype._setUpListeners=function(){a(this.element).on("click",e.trigger,function(a){a&&a.preventDefault(),this.load()}.bind(this))},f.prototype._addOverlay=function(){a(this.element).append(this.$overlay)},f.prototype._removeOverlay=function(){a(this.element).remove(this.$overlay)};var g=a.fn.boxRefresh;a.fn.boxRefresh=b,a.fn.boxRefresh.Constructor=f,a.fn.boxRefresh.noConflict=function(){return a.fn.boxRefresh=g,this},a(window).on("load",function(){a(e.data).each(function(){b.call(a(this))})})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var g=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new h(e,g))}if("string"==typeof b){if(void 0===f[b])throw new Error("No method named "+b);f[b]()}})}var c="lte.boxwidget",d={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},e={data:".box",collapsed:".collapsed-box",body:".box-body",footer:".box-footer",tools:".box-tools"},f={collapsed:"collapsed-box"},g={collapsed:"collapsed.boxwidget",expanded:"expanded.boxwidget",removed:"removed.boxwidget"},h=function(a,b){this.element=a,this.options=b,this._setUpListeners()};h.prototype.toggle=function(){a(this.element).is(e.collapsed)?this.expand():this.collapse()},h.prototype.expand=function(){var b=a.Event(g.expanded),c=this.options.collapseIcon,d=this.options.expandIcon;a(this.element).removeClass(f.collapsed),a(this.element).find(e.tools).find("."+d).removeClass(d).addClass(c),a(this.element).find(e.body+", "+e.footer).slideDown(this.options.animationSpeed,function(){a(this.element).trigger(b)}.bind(this))},h.prototype.collapse=function(){var b=a.Event(g.collapsed),c=this.options.collapseIcon,d=this.options.expandIcon;a(this.element).find(e.tools).find("."+c).removeClass(c).addClass(d),a(this.element).find(e.body+", "+e.footer).slideUp(this.options.animationSpeed,function(){a(this.element).addClass(f.collapsed),a(this.element).trigger(b)}.bind(this))},h.prototype.remove=function(){var b=a.Event(g.removed);a(this.element).slideUp(this.options.animationSpeed,function(){a(this.element).trigger(b),a(this.element).remove()}.bind(this))},h.prototype._setUpListeners=function(){var b=this;a(this.element).on("click",this.options.collapseTrigger,function(a){a&&a.preventDefault(),b.toggle()}),a(this.element).on("click",this.options.removeTrigger,function(a){a&&a.preventDefault(),b.remove()})};var i=a.fn.boxWidget;a.fn.boxWidget=b,a.fn.boxWidget.Constructor=h,a.fn.boxWidget.noConflict=function(){return a.fn.boxWidget=i,this},a(window).on("load",function(){a(e.data).each(function(){b.call(a(this))})})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var g=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new h(e,g))}"string"==typeof b&&f.toggle()})}var c="lte.controlsidebar",d={slide:!0},e={sidebar:".control-sidebar",data:'[data-toggle="control-sidebar"]',open:".control-sidebar-open",bg:".control-sidebar-bg",wrapper:".wrapper",content:".content-wrapper",boxed:".layout-boxed"},f={open:"control-sidebar-open",fixed:"fixed"},g={collapsed:"collapsed.controlsidebar",expanded:"expanded.controlsidebar"},h=function(a,b){this.element=a,this.options=b,this.hasBindedResize=!1,this.init()};h.prototype.init=function(){a(this.element).is(e.data)||a(this).on("click",this.toggle),this.fix(),a(window).resize(function(){this.fix()}.bind(this))},h.prototype.toggle=function(b){b&&b.preventDefault(),this.fix(),a(e.sidebar).is(e.open)||a("body").is(e.open)?this.collapse():this.expand()},h.prototype.expand=function(){this.options.slide?a(e.sidebar).addClass(f.open):a("body").addClass(f.open),a(this.element).trigger(a.Event(g.expanded))},h.prototype.collapse=function(){a("body, "+e.sidebar).removeClass(f.open),a(this.element).trigger(a.Event(g.collapsed))},h.prototype.fix=function(){a("body").is(e.boxed)&&this._fixForBoxed(a(e.bg))},h.prototype._fixForBoxed=function(b){b.css({position:"absolute",height:a(e.wrapper).height()})};var i=a.fn.controlSidebar;a.fn.controlSidebar=b,a.fn.controlSidebar.Constructor=h,a.fn.controlSidebar.noConflict=function(){return a.fn.controlSidebar=i,this},a(document).on("click",e.data,function(c){c&&c.preventDefault(),b.call(a(this),"toggle")})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data(c);e||d.data(c,e=new f(d)),"string"==typeof b&&e.toggle(d)})}var c="lte.directchat",d={data:'[data-widget="chat-pane-toggle"]',box:".direct-chat"},e={open:"direct-chat-contacts-open"},f=function(a){this.element=a};f.prototype.toggle=function(a){a.parents(d.box).first().toggleClass(e.open)};var g=a.fn.directChat;a.fn.directChat=b,a.fn.directChat.Constructor=f,a.fn.directChat.noConflict=function(){return a.fn.directChat=g,this},a(document).on("click",d.data,function(c){c&&c.preventDefault(),b.call(a(this),"toggle")})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var h=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new g(h))}if("string"==typeof b){if(void 0===f[b])throw new Error("No method named "+b);f[b]()}})}var c="lte.layout",d={slimscroll:!0,resetHeight:!0},e={wrapper:".wrapper",contentWrapper:".content-wrapper",layoutBoxed:".layout-boxed",mainFooter:".main-footer",mainHeader:".main-header",sidebar:".sidebar",controlSidebar:".control-sidebar",fixed:".fixed",sidebarMenu:".sidebar-menu",logo:".main-header .logo"},f={fixed:"fixed",holdTransition:"hold-transition"},g=function(a){this.options=a,this.bindedResize=!1,this.activate()};g.prototype.activate=function(){this.fix(),this.fixSidebar(),a("body").removeClass(f.holdTransition),this.options.resetHeight&&a("body, html, "+e.wrapper).css({height:"auto","min-height":"100%"}),this.bindedResize||(a(window).resize(function(){this.fix(),this.fixSidebar(),a(e.logo+", "+e.sidebar).one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){this.fix(),this.fixSidebar()}.bind(this))}.bind(this)),this.bindedResize=!0),a(e.sidebarMenu).on("expanded.tree",function(){this.fix(),this.fixSidebar()}.bind(this)),a(e.sidebarMenu).on("collapsed.tree",function(){this.fix(),this.fixSidebar()}.bind(this))},g.prototype.fix=function(){a(e.layoutBoxed+" > "+e.wrapper).css("overflow","hidden");var b=a(e.mainFooter).outerHeight()||0,c=a(e.mainHeader).outerHeight()+b,d=a(window).height(),g=a(e.sidebar).height()||0;if(a("body").hasClass(f.fixed))a(e.contentWrapper).css("min-height",d-b);else{var h;d>=g?(a(e.contentWrapper).css("min-height",d-c),h=d-c):(a(e.contentWrapper).css("min-height",g),h=g);var i=a(e.controlSidebar);void 0!==i&&i.height()>h&&a(e.contentWrapper).css("min-height",i.height())}},g.prototype.fixSidebar=function(){if(!a("body").hasClass(f.fixed))return void(void 0!==a.fn.slimScroll&&a(e.sidebar).slimScroll({destroy:!0}).height("auto"));this.options.slimscroll&&void 0!==a.fn.slimScroll&&a(e.sidebar).slimScroll({height:a(window).height()-a(e.mainHeader).height()+"px",color:"rgba(0,0,0,0.2)",size:"3px"})};var h=a.fn.layout;a.fn.layout=b,a.fn.layout.Constuctor=g,a.fn.layout.noConflict=function(){return a.fn.layout=h,this},a(window).on("load",function(){b.call(a("body"))})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var g=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new h(g))}"toggle"===b&&f.toggle()})}var c="lte.pushmenu",d={collapseScreenSize:767,expandOnHover:!1,expandTransitionDelay:200},e={collapsed:".sidebar-collapse",open:".sidebar-open",mainSidebar:".main-sidebar",contentWrapper:".content-wrapper",searchInput:".sidebar-form .form-control",button:'[data-toggle="push-menu"]',mini:".sidebar-mini",expanded:".sidebar-expanded-on-hover",layoutFixed:".fixed"},f={collapsed:"sidebar-collapse",open:"sidebar-open",mini:"sidebar-mini",expanded:"sidebar-expanded-on-hover",expandFeature:"sidebar-mini-expand-feature",layoutFixed:"fixed"},g={expanded:"expanded.pushMenu",collapsed:"collapsed.pushMenu"},h=function(a){this.options=a,this.init()};h.prototype.init=function(){(this.options.expandOnHover||a("body").is(e.mini+e.layoutFixed))&&(this.expandOnHover(),a("body").addClass(f.expandFeature)),a(e.contentWrapper).click(function(){a(window).width()<=this.options.collapseScreenSize&&a("body").hasClass(f.open)&&this.close()}.bind(this)),a(e.searchInput).click(function(a){a.stopPropagation()})},h.prototype.toggle=function(){var b=a(window).width(),c=!a("body").hasClass(f.collapsed);b<=this.options.collapseScreenSize&&(c=a("body").hasClass(f.open)),c?this.close():this.open()},h.prototype.open=function(){a(window).width()>this.options.collapseScreenSize?a("body").removeClass(f.collapsed).trigger(a.Event(g.expanded)):a("body").addClass(f.open).trigger(a.Event(g.expanded))},h.prototype.close=function(){a(window).width()>this.options.collapseScreenSize?a("body").addClass(f.collapsed).trigger(a.Event(g.collapsed)):a("body").removeClass(f.open+" "+f.collapsed).trigger(a.Event(g.collapsed))},h.prototype.expandOnHover=function(){a(e.mainSidebar).hover(function(){a("body").is(e.mini+e.collapsed)&&a(window).width()>this.options.collapseScreenSize&&this.expand()}.bind(this),function(){a("body").is(e.expanded)&&this.collapse()}.bind(this))},h.prototype.expand=function(){setTimeout(function(){a("body").removeClass(f.collapsed).addClass(f.expanded)},this.options.expandTransitionDelay)},h.prototype.collapse=function(){setTimeout(function(){a("body").removeClass(f.expanded).addClass(f.collapsed)},this.options.expandTransitionDelay)};var i=a.fn.pushMenu;a.fn.pushMenu=b,a.fn.pushMenu.Constructor=h,a.fn.pushMenu.noConflict=function(){return a.fn.pushMenu=i,this},a(document).on("click",e.button,function(c){c.preventDefault(),b.call(a(this),"toggle")}),a(window).on("load",function(){b.call(a(e.button))})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var h=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new g(e,h))}if("string"==typeof f){if(void 0===f[b])throw new Error("No method named "+b);f[b]()}})}var c="lte.todolist",d={onCheck:function(a){return a},onUnCheck:function(a){return a}},e={data:'[data-widget="todo-list"]'},f={done:"done"},g=function(a,b){this.element=a,this.options=b,this._setUpListeners()};g.prototype.toggle=function(a){if(a.parents(e.li).first().toggleClass(f.done),!a.prop("checked"))return void this.unCheck(a);this.check(a)},g.prototype.check=function(a){this.options.onCheck.call(a)},g.prototype.unCheck=function(a){this.options.onUnCheck.call(a)},g.prototype._setUpListeners=function(){var b=this;a(this.element).on("change ifChanged","input:checkbox",function(){b.toggle(a(this))})};var h=a.fn.todoList;a.fn.todoList=b,a.fn.todoList.Constructor=g,a.fn.todoList.noConflict=function(){return a.fn.todoList=h,this},a(window).on("load",function(){a(e.data).each(function(){b.call(a(this))})})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this);if(!e.data(c)){var f=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,new h(e,f))}})}var c="lte.tree",d={animationSpeed:500,accordion:!0,followLink:!1,trigger:".treeview a"},e={tree:".tree",treeview:".treeview",treeviewMenu:".treeview-menu",open:".menu-open, .active",li:"li",data:'[data-widget="tree"]',active:".active"},f={open:"menu-open",tree:"tree"},g={collapsed:"collapsed.tree",expanded:"expanded.tree"},h=function(b,c){this.element=b,this.options=c,a(this.element).addClass(f.tree),a(e.treeview+e.active,this.element).addClass(f.open),this._setUpListeners()};h.prototype.toggle=function(a,b){var c=a.next(e.treeviewMenu),d=a.parent(),g=d.hasClass(f.open);d.is(e.treeview)&&(this.options.followLink&&"#"!==a.attr("href")||b.preventDefault(),g?this.collapse(c,d):this.expand(c,d))},h.prototype.expand=function(b,c){var d=a.Event(g.expanded);if(this.options.accordion){var h=c.siblings(e.open),i=h.children(e.treeviewMenu);this.collapse(i,h)}c.addClass(f.open),b.slideDown(this.options.animationSpeed,function(){a(this.element).trigger(d)}.bind(this))},h.prototype.collapse=function(b,c){var d=a.Event(g.collapsed);b.find(e.open).removeClass(f.open),c.removeClass(f.open),b.slideUp(this.options.animationSpeed,function(){b.find(e.open+" > "+e.treeview).slideUp(),a(this.element).trigger(d)}.bind(this))},h.prototype._setUpListeners=function(){var b=this;a(this.element).on("click",this.options.trigger,function(c){b.toggle(a(this),c)})};var i=a.fn.tree;a.fn.tree=b,a.fn.tree.Constructor=h,a.fn.tree.noConflict=function(){return a.fn.tree=i,this},a(window).on("load",function(){a(e.data).each(function(){b.call(a(this))})})}(jQuery); \ No newline at end of file +if("undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");!function(a){"use strict";function b(b){return this.each(function(){var e=a(this),g=e.data(c);if(!g){var h=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,g=new f(e,h))}if("string"==typeof g){if(void 0===g[b])throw new Error("No method named "+b);g[b]()}})}var c="lte.boxrefresh",d={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'
',onLoadStart:function(){},onLoadDone:function(a){return a}},e={data:'[data-widget="box-refresh"]'},f=function(b,c){if(this.element=b,this.options=c,this.$overlay=a(c.overlay),""===c.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()};f.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(a(this)),a.get(this.options.source,this.options.params,function(b){this.options.loadInContent&&a(this.options.content).html(b),this.options.onLoadDone.call(a(this),b),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},f.prototype._setUpListeners=function(){a(this.element).on("click",e.trigger,function(a){a&&a.preventDefault(),this.load()}.bind(this))},f.prototype._addOverlay=function(){a(this.element).append(this.$overlay)},f.prototype._removeOverlay=function(){a(this.element).remove(this.$overlay)};var g=a.fn.boxRefresh;a.fn.boxRefresh=b,a.fn.boxRefresh.Constructor=f,a.fn.boxRefresh.noConflict=function(){return a.fn.boxRefresh=g,this},a(window).on("load",function(){a(e.data).each(function(){b.call(a(this))})})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var g=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new h(e,g))}if("string"==typeof b){if(void 0===f[b])throw new Error("No method named "+b);f[b]()}})}var c="lte.boxwidget",d={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},e_data=".box",e_collapsed=".collapsed-box",e_body=".box-body",e_footer=".box-footer",e_tools=".box-tools",f_collapsed="collapsed-box",g_collapsed="collapsed.boxwidget",g_expanded="expanded.boxwidget",g_removed="removed.boxwidget",h=function(a,b){this.element=a,this.options=b,this._setUpListeners()};h.prototype.toggle=function(){a(this.element).is(e_collapsed)?this.expand():this.collapse()},h.prototype.expand=function(){var b=a.Event(g_expanded),c=this.options.collapseIcon,d=this.options.expandIcon;a(this.element).removeClass(f_collapsed),a(this.element).find(e_tools).find("."+d).removeClass(d).addClass(c),a(this.element).find(e_body+", "+e_footer).slideDown(this.options.animationSpeed,function(){a(this.element).trigger(b)}.bind(this))},h.prototype.collapse=function(){var b=a.Event(g_collapsed),c=this.options.collapseIcon,d=this.options.expandIcon;a(this.element).find(e_tools).find("."+c).removeClass(c).addClass(d),a(this.element).find(e_body+", "+e_footer).slideUp(this.options.animationSpeed,function(){a(this.element).addClass(f_collapsed),a(this.element).trigger(b)}.bind(this))},h.prototype.remove=function(){var b=a.Event(g_removed);a(this.element).slideUp(this.options.animationSpeed,function(){a(this.element).trigger(b),a(this.element).remove()}.bind(this))},h.prototype._setUpListeners=function(){var b=this;a(this.element).on("click",this.options.collapseTrigger,function(a){a&&a.preventDefault(),b.toggle()}),a(this.element).on("click",this.options.removeTrigger,function(a){a&&a.preventDefault(),b.remove()})};var i=a.fn.boxWidget;a.fn.boxWidget=b,a.fn.boxWidget.Constructor=h,a.fn.boxWidget.noConflict=function(){return a.fn.boxWidget=i,this},a(window).on("load",function(){a(e_data).each(function(){b.call(a(this))})})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var g=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new h(e,g))}"string"==typeof b&&f.toggle()})}var c="lte.controlsidebar",d={slide:!0},e_sidebar=".control-sidebar",e_data='[data-toggle="control-sidebar"]',e_open=".control-sidebar-open",e_bg=".control-sidebar-bg",e_wrapper=".wrapper",e_content=".content-wrapper",e_boxed=".layout-boxed",f_open="control-sidebar-open",f_fixed="fixed",g_collapsed="collapsed.controlsidebar",g_expanded="expanded.controlsidebar",h=function(a,b){this.element=a,this.options=b,this.hasBindedResize=!1,this.init()};h.prototype.init=function(){a(this.element).is(e_data)||a(this).on("click",this.toggle),this.fix(),a(window).resize(function(){this.fix()}.bind(this))},h.prototype.toggle=function(b){b&&b.preventDefault(),this.fix(),a(e_sidebar).is(e_open)||a("body").is(e_open)?this.collapse():this.expand()},h.prototype.expand=function(){this.options.slide?a(e_sidebar).addClass(f_open):a("body").addClass(f_open),a(this.element).trigger(a.Event(g_expanded))},h.prototype.collapse=function(){a("body, "+e_sidebar).removeClass(f_open),a(this.element).trigger(a.Event(g_collapsed))},h.prototype.fix=function(){a("body").is(e_boxed)&&this._fixForBoxed(a(e_bg))},h.prototype._fixForBoxed=function(b){b.css({position:"absolute",height:a(e_wrapper).height()})};var i=a.fn.controlSidebar;a.fn.controlSidebar=b,a.fn.controlSidebar.Constructor=h,a.fn.controlSidebar.noConflict=function(){return a.fn.controlSidebar=i,this},a(document).on("click",e_data,function(c){c&&c.preventDefault(),b.call(a(this),"toggle")})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data(c);e||d.data(c,e=new f(d)),"string"==typeof b&&e.toggle(d)})}var c="lte.directchat",d_data='[data-widget="chat-pane-toggle"]',d_box=".direct-chat",e_open="direct-chat-contacts-open",f=function(a){this.element=a};f.prototype.toggle=function(a){a.parents(d_box).first().toggleClass(e_open)};var g=a.fn.directChat;a.fn.directChat=b,a.fn.directChat.Constructor=f,a.fn.directChat.noConflict=function(){return a.fn.directChat=g,this},a(document).on("click",d_data,function(c){c&&c.preventDefault(),b.call(a(this),"toggle")})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var h=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new g(h))}if("string"==typeof b){if(void 0===f[b])throw new Error("No method named "+b);f[b]()}})}var c="lte.layout",d={slimscroll:!0,resetHeight:!0},e_wrapper=".wrapper",e_contentWrapper=".content-wrapper",e_layoutBoxed=".layout-boxed",e_mainFooter=".main-footer",e_mainHeader=".main-header",e_sidebar=".sidebar",e_controlSidebar=".control-sidebar",e_fixed=".fixed",e_sidebarMenu=".sidebar-menu",e_logo=".main-header .logo",f_fixed="fixed",f_holdTransition="hold-transition",g=function(a){this.options=a,this.bindedResize=!1,this.activate()};g.prototype.activate=function(){this.fix(),this.fixSidebar(),a("body").removeClass(f_holdTransition),this.options.resetHeight&&a("body, html, "+e_wrapper).css({height:"auto","min-height":"100%"}),this.bindedResize||(a(window).resize(function(){this.fix(),this.fixSidebar(),a(e_logo+", "+e_sidebar).one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){this.fix(),this.fixSidebar()}.bind(this))}.bind(this)),this.bindedResize=!0),a(e_sidebarMenu).on("expanded.tree",function(){this.fix(),this.fixSidebar()}.bind(this)),a(e_sidebarMenu).on("collapsed.tree",function(){this.fix(),this.fixSidebar()}.bind(this))},g.prototype.fix=function(){a(e_layoutBoxed+" > "+e_wrapper).css("overflow","hidden");var b=a(e_mainFooter).outerHeight()||0,c=a(e_mainHeader).outerHeight()+b,d=a(window).height(),g=a(e_sidebar).height()||0;if(a("body").hasClass(f_fixed))a(e_contentWrapper).css("min-height",d-b);else{var h;d>=g?(a(e_contentWrapper).css("min-height",d-c),h=d-c):(a(e_contentWrapper).css("min-height",g),h=g);var i=a(e_controlSidebar);void 0!==i&&i.height()>h&&a(e_contentWrapper).css("min-height",i.height())}},g.prototype.fixSidebar=function(){};var h=a.fn.layout;a.fn.layout=b,a.fn.layout.Constuctor=g,a.fn.layout.noConflict=function(){return a.fn.layout=h,this},a(window).on("load",function(){b.call(a("body"))})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var g=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new h(g))}"toggle"===b&&f.toggle()})}var c="lte.pushmenu",d={collapseScreenSize:767,expandOnHover:!0,expandTransitionDelay:200},e_collapsed=".sidebar-collapse",e_open=".sidebar-open",e_mainSidebar=".main-sidebar",e_contentWrapper=".content-wrapper",e_searchInput=".sidebar-form .form-control",e_button='[data-toggle="push-menu"]',e_mini=".sidebar-mini",e_expanded=".sidebar-expanded-on-hover",e_layoutFixed=".fixed",f_collapsed="sidebar-collapse",f_open="sidebar-open",f_mini="sidebar-mini",f_expanded="sidebar-expanded-on-hover",f_expandFeature="sidebar-mini-expand-feature",f_layoutFixed="fixed",g_expanded="expanded.pushMenu",g_collapsed="collapsed.pushMenu",h=function(a){this.options=a,this.init()};h.prototype.init=function(){(this.options.expandOnHover||a("body").is(e_mini+e_layoutFixed))&&this.expandOnHover(),a(e_contentWrapper).click(function(){a(window).width()<=this.options.collapseScreenSize&&a("body").hasClass(f_open)&&this.close()}.bind(this)),a(e_searchInput).click(function(a){a.stopPropagation()})},h.prototype.toggle=function(){var b=a(window).width(),c=!a("body").hasClass(f_collapsed);b<=this.options.collapseScreenSize&&(c=a("body").hasClass(f_open)),c?this.close():this.open()},h.prototype.open=function(){a(window).width()>this.options.collapseScreenSize?a("body").removeClass(f_collapsed).trigger(a.Event(g_expanded)):a("body").addClass(f_open).trigger(a.Event(g_expanded))},h.prototype.close=function(){a(window).width()>this.options.collapseScreenSize?a("body").addClass(f_collapsed).trigger(a.Event(g_collapsed)):a("body").removeClass(f_open+" "+f_collapsed).trigger(a.Event(g_collapsed))},h.prototype.expandOnHover=function(){a(e_mainSidebar).hover(function(){}.bind(this))},h.prototype.expand=function(){setTimeout(function(){a("body").removeClass(f_collapsed).addClass(f_expanded)},this.options.expandTransitionDelay)},h.prototype.collapse=function(){setTimeout(function(){a("body").removeClass(f_expanded).addClass(f_collapsed)},this.options.expandTransitionDelay)};var i=a.fn.pushMenu;a.fn.pushMenu=b,a.fn.pushMenu.Constructor=h,a.fn.pushMenu.noConflict=function(){return a.fn.pushMenu=i,this},a(document).on("click",e_button,function(c){c.preventDefault(),b.call(a(this),"toggle")}),a(window).on("load",function(){b.call(a(e_button))})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this),f=e.data(c);if(!f){var h=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,f=new g(e,h))}if("string"==typeof f){if(void 0===f[b])throw new Error("No method named "+b);f[b]()}})}var c="lte.todolist",d={onCheck:function(a){return a},onUnCheck:function(a){return a}},e={data:'[data-widget="todo-list"]'},f_done="done",g=function(a,b){this.element=a,this.options=b,this._setUpListeners()};g.prototype.toggle=function(a){a.parents(e.li).first().toggleClass(f_done),a.prop("checked")?this.check(a):this.unCheck(a)},g.prototype.check=function(a){this.options.onCheck.call(a)},g.prototype.unCheck=function(a){this.options.onUnCheck.call(a)},g.prototype._setUpListeners=function(){var b=this;a(this.element).on("change ifChanged","input:checkbox",function(){b.toggle(a(this))})};var h=a.fn.todoList;a.fn.todoList=b,a.fn.todoList.Constructor=g,a.fn.todoList.noConflict=function(){return a.fn.todoList=h,this},a(window).on("load",function(){a(e.data).each(function(){b.call(a(this))})})}(jQuery),function(a){"use strict";function b(b){return this.each(function(){var e=a(this);if(!e.data(c)){var f=a.extend({},d,e.data(),"object"==typeof b&&b);e.data(c,new h(e,f))}})}var c="lte.tree",d={animationSpeed:500,accordion:!0,followLink:!1,trigger:".treeview a"},e_tree=".tree",e_treeview=".treeview",e_treeviewMenu=".treeview-menu",e_open=".menu-open, .active",e_li="li",e_data='[data-widget="tree"]',e_active=".active",f_open="menu-open",f_tree="tree",g_collapsed="collapsed.tree",g_expanded="expanded.tree",h=function(b,c){this.element=b,this.options=c,a(this.element).addClass(f_tree),a(e_treeview+e_active,this.element).addClass(f_open),this._setUpListeners()};h.prototype.toggle=function(a,b){var c=a.next(e_treeviewMenu),d=a.parent(),g=d.hasClass(f_open);d.is(e_treeview)&&(this.options.followLink&&"#"!==a.attr("href")||b.preventDefault(),g?this.collapse(c,d):this.expand(c,d))},h.prototype.expand=function(b,c){var d=a.Event(g_expanded);if(this.options.accordion){var h=c.siblings(e_open),i=h.children(e_treeviewMenu);this.collapse(i,h)}c.addClass(f_open),b.slideDown(this.options.animationSpeed,function(){a(this.element).trigger(d)}.bind(this))},h.prototype.collapse=function(b,c){var d=a.Event(g_collapsed);b.find(e_open).removeClass(f_open),c.removeClass(f_open),b.slideUp(this.options.animationSpeed,function(){b.find(e_open+" > "+e_treeview).slideUp(),a(this.element).trigger(d)}.bind(this))},h.prototype._setUpListeners=function(){var b=this;a(this.element).on("click",this.options.trigger,function(c){b.toggle(a(this),c)})};var i=a.fn.tree;a.fn.tree=b,a.fn.tree.Constructor=h,a.fn.tree.noConflict=function(){return a.fn.tree=i,this},a(window).on("load",function(){a(e_data).each(function(){b.call(a(this))})})}(jQuery); \ No newline at end of file diff --git a/public/themes/redxen/vendor/adminlte/colors/skin-blue-light.min.css b/public/themes/redxen/vendor/adminlte/colors/skin-blue-light.min.css deleted file mode 100644 index c41ca33..0000000 --- a/public/themes/redxen/vendor/adminlte/colors/skin-blue-light.min.css +++ /dev/null @@ -1 +0,0 @@ -.skin-blue-light .main-header .navbar{background-color:#3c8dbc}.skin-blue-light .main-header .navbar .nav>li>a{color:#fff}.skin-blue-light .main-header .navbar .nav>li>a:hover,.skin-blue-light .main-header .navbar .nav>li>a:active,.skin-blue-light .main-header .navbar .nav>li>a:focus,.skin-blue-light .main-header .navbar .nav .open>a,.skin-blue-light .main-header .navbar .nav .open>a:hover,.skin-blue-light .main-header .navbar .nav .open>a:focus,.skin-blue-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-blue-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-blue-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue-light .main-header .navbar .sidebar-toggle:hover{background-color:#367fa9}@media (max-width:767px){.skin-blue-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-blue-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-blue-light .main-header .navbar .dropdown-menu li a:hover{background:#367fa9}}.skin-blue-light .main-header .logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue-light .main-header .logo:hover{background-color:#3b8ab8}.skin-blue-light .main-header li.user-header{background-color:#3c8dbc}.skin-blue-light .content-header{background:transparent}.skin-blue-light .wrapper,.skin-blue-light .main-sidebar,.skin-blue-light .left-side{background-color:#f9fafc}.skin-blue-light .content-wrapper,.skin-blue-light .main-footer{border-left:1px solid #d2d6de}.skin-blue-light .user-panel>.info,.skin-blue-light .user-panel>.info>a{color:#444}.skin-blue-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-blue-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-blue-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-blue-light .sidebar-menu>li:hover>a,.skin-blue-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-blue-light .sidebar-menu>li.active{border-left-color:#3c8dbc}.skin-blue-light .sidebar-menu>li.active>a{font-weight:600}.skin-blue-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-blue-light .sidebar a{color:#444}.skin-blue-light .sidebar a:hover{text-decoration:none}.skin-blue-light .treeview-menu>li>a{color:#777}.skin-blue-light .treeview-menu>li.active>a,.skin-blue-light .treeview-menu>li>a:hover{color:#000}.skin-blue-light .treeview-menu>li.active>a{font-weight:600}.skin-blue-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-blue-light .sidebar-form input[type="text"],.skin-blue-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-blue-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-blue-light .sidebar-form input[type="text"]:focus,.skin-blue-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-blue-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-blue-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-blue-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}.skin-blue-light .main-footer{border-top-color:#d2d6de}.skin-blue.layout-top-nav .main-header>.logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue.layout-top-nav .main-header>.logo:hover{background-color:#3b8ab8} \ No newline at end of file diff --git a/public/themes/redxen/vendor/adminlte/colors/skin-blue.min.css b/public/themes/redxen/vendor/adminlte/colors/skin-blue.min.css deleted file mode 100644 index cdbef24..0000000 --- a/public/themes/redxen/vendor/adminlte/colors/skin-blue.min.css +++ /dev/null @@ -1 +0,0 @@ -.skin-blue .main-header .navbar{background-color:#10529f}.skin-blue .main-header .navbar .nav>li>a{color:#fff}.skin-blue .main-header .navbar .nav>li>a:hover,.skin-blue .main-header .navbar .nav>li>a:active,.skin-blue .main-header .navbar .nav>li>a:focus,.skin-blue .main-header .navbar .nav .open>a,.skin-blue .main-header .navbar .nav .open>a:hover,.skin-blue .main-header .navbar .nav .open>a:focus,.skin-blue .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-blue .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-blue .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue .main-header .navbar .sidebar-toggle:hover{background-color:#0e4688}@media (max-width:767px){.skin-blue .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-blue .main-header .navbar .dropdown-menu li a{color:#fff}.skin-blue .main-header .navbar .dropdown-menu li a:hover{background:#0e4688}}.skin-blue .main-header .logo{background-color:#0e4688;color:#fff;border-bottom:0 solid transparent}.skin-blue .main-header .logo:hover{background-color:#0d4483}.skin-blue .main-header li.user-header{background-color:#10529f}.skin-blue .content-header{background:transparent}.skin-blue .wrapper,.skin-blue .main-sidebar,.skin-blue .left-side{background-color:#191b22}.skin-blue .user-panel>.info,.skin-blue .user-panel>.info>a{color:#fff}.skin-blue .sidebar-menu>li.header{color:#444a5d;background:#101216}.skin-blue .sidebar-menu>li>a{border-left:3px solid transparent}.skin-blue .sidebar-menu>li:hover>a,.skin-blue .sidebar-menu>li.active>a,.skin-blue .sidebar-menu>li.menu-open>a{color:#fff;background:#15161c}.skin-blue .sidebar-menu>li.active>a{border-left-color:#10529f}.skin-blue .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#242731}.skin-blue .sidebar a{color:#abb0c2}.skin-blue .sidebar a:hover{text-decoration:none}.skin-blue .sidebar-menu .treeview-menu>li>a{color:#7f87a1}.skin-blue .sidebar-menu .treeview-menu>li.active>a,.skin-blue .sidebar-menu .treeview-menu>li>a:hover{color:#fff}.skin-blue .sidebar-form{border-radius:3px;border:1px solid #2f323f;margin:10px 10px}.skin-blue .sidebar-form input[type="text"],.skin-blue .sidebar-form .btn{box-shadow:none;background-color:#2f323f;border:1px solid transparent;height:35px}.skin-blue .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-blue .sidebar-form input[type="text"]:focus,.skin-blue .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-blue .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-blue .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-blue.layout-top-nav .main-header>.logo{background-color:#10529f;color:#fff;border-bottom:0 solid transparent}.skin-blue.layout-top-nav .main-header>.logo:hover{background-color:#10509a} diff --git a/public/themes/redxen/vendor/adminlte/colors/skin-red.min.css b/public/themes/redxen/vendor/adminlte/colors/skin-red.min.css new file mode 100644 index 0000000..1610f1f --- /dev/null +++ b/public/themes/redxen/vendor/adminlte/colors/skin-red.min.css @@ -0,0 +1,144 @@ +.skin-red .main-header .navbar { + background-color: #c22f2f +} + +.skin-red .main-header .navbar .nav>li>a { + color: #fff +} + +.skin-red .main-header .navbar .nav .open>a, +.skin-red .main-header .navbar .nav .open>a:focus, +.skin-red .main-header .navbar .nav .open>a:hover, +.skin-red .main-header .navbar .nav>.active>a, +.skin-red .main-header .navbar .nav>li>a:active, +.skin-red .main-header .navbar .nav>li>a:focus, +.skin-red .main-header .navbar .nav>li>a:hover { + background: rgba(0, 0, 0, .1); + color: #f6f6f6 +} + +.skin-red .main-header .navbar .sidebar-toggle:hover { + color: #f6f6f6; + background: rgba(0, 0, 0, .1); + background-color: #c92f2f; +} + +.skin-red .main-header .navbar .sidebar-toggle, +.skin-red .user-panel>.info, +.skin-red .user-panel>.info>a { + color: #fff +} + +@media (max-width:767px) { + .skin-red .main-header .navbar .dropdown-menu li.divider { + background-color: rgba(255, 255, 255, .1) + } + + .skin-red .main-header .navbar .dropdown-menu li a { + color: #fff + } + + .skin-red .main-header .navbar .dropdown-menu li a:hover { + background: #d73925 + } +} + +.skin-red .main-header .logo { + background-color: #c22f2f; + color: #fff; + border-bottom: 0 solid transparent +} + +.skin-red .main-header .logo:hover { + background-color: #c62828 +} + +.skin-red .main-header li.user-header { + background-color: #c24b39 +} + +.skin-red .content-header { + background: 0 0 +} + +.skin-red .left-side, +.skin-red .main-sidebar, +.skin-red .wrapper { + background-color: #121212 +} + +.skin-red .sidebar-menu>li.header { + color: #eee; + background: #b11 +} + +.skin-red .sidebar-menu>li>a { + border-left: 3px solid transparent +} + +.skin-red .sidebar-menu>li.active>a, +.skin-red .sidebar-menu>li.menu-open>a, +.skin-red .sidebar-menu>li:hover>a { + color: #fff; + background: #d22 +} + +.skin-red .sidebar-menu>li.active>a { + border-left-color: #dd4b39 +} + +.skin-red .sidebar-menu>li>.treeview-menu { + margin: 0 1px; + background: #111 +} + +.skin-red .sidebar a { + color: #b8c7ce +} + +.skin-red .sidebar a:hover { + text-decoration: none +} + +.skin-red .sidebar-menu .treeview-menu>li>a { + background-color: #222 +} + +.skin-red .sidebar-menu .treeview-menu>li.active>a, +.skin-red .sidebar-menu .treeview-menu>li>a:hover { + color: #fff +} + +.skin-red .sidebar-form { + border-radius: 3px; + border: 1px solid #374850; + margin: 10px +} + +.skin-red .sidebar-form .btn, +.skin-red .sidebar-form input[type=text] { + box-shadow: none; + background-color: #374850; + border: 1px solid transparent; + height: 35px +} + +.skin-red .sidebar-form input[type=text] { + color: #666; + border-radius: 2px 0 0 2px +} + +.skin-red .sidebar-form input[type=text]:focus, +.skin-red .sidebar-form input[type=text]:focus+.input-group-btn .btn { + background-color: #fff; + color: #666 +} + +.skin-red .sidebar-form input[type=text]:focus+.input-group-btn .btn { + border-left-color: #fff +} + +.skin-red .sidebar-form .btn { + color: #999; + border-radius: 0 2px 2px 0 +} \ No newline at end of file diff --git a/resources/themes/redxen/admin/servers/view/index.blade.php b/resources/themes/redxen/admin/servers/view/index.blade.php index 417a9e0..79121f8 100644 --- a/resources/themes/redxen/admin/servers/view/index.blade.php +++ b/resources/themes/redxen/admin/servers/view/index.blade.php @@ -133,7 +133,7 @@ @endif
-
+

{{ str_limit($server->user->username, 16) }}

Server Owner

@@ -145,7 +145,7 @@
-
+

{{ str_limit($server->node->name, 16) }}

Server Node

diff --git a/resources/themes/redxen/auth/login.blade.php b/resources/themes/redxen/auth/login.blade.php index e81af8d..a958880 100644 --- a/resources/themes/redxen/auth/login.blade.php +++ b/resources/themes/redxen/auth/login.blade.php @@ -49,10 +49,10 @@
-
+
-
+
{!! csrf_field() !!}
diff --git a/resources/themes/redxen/auth/passwords/email.blade.php b/resources/themes/redxen/auth/passwords/email.blade.php index d90d36c..c81071b 100644 --- a/resources/themes/redxen/auth/passwords/email.blade.php +++ b/resources/themes/redxen/auth/passwords/email.blade.php @@ -45,10 +45,10 @@
-
+
-
+
{!! csrf_field() !!}
diff --git a/resources/themes/redxen/layouts/admin.blade.php b/resources/themes/redxen/layouts/admin.blade.php index aaf8f4c..96a3507 100644 --- a/resources/themes/redxen/layouts/admin.blade.php +++ b/resources/themes/redxen/layouts/admin.blade.php @@ -27,7 +27,7 @@ {!! Theme::css('vendor/select2/select2.min.css?t={cache-version}') !!} {!! Theme::css('vendor/bootstrap/bootstrap.min.css?t={cache-version}') !!} {!! Theme::css('vendor/adminlte/admin.min.css?t={cache-version}') !!} - {!! Theme::css('vendor/adminlte/colors/skin-blue.min.css?t={cache-version}') !!} + {!! Theme::css('vendor/adminlte/colors/skin-red.min.css?t={cache-version}') !!} {!! Theme::css('vendor/sweetalert/sweetalert.min.css?t={cache-version}') !!} {!! Theme::css('vendor/animate/animate.min.css?t={cache-version}') !!} {!! Theme::css('css/pterodactyl.css?t={cache-version}') !!} @@ -40,7 +40,7 @@ @show - +