parent
9bea653fcb
commit
b9cfc4b949
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
|
@ -26,7 +26,6 @@
|
|||
|
||||
#terminal > .cmd {
|
||||
padding: 1px 0;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
#terminal_input {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 <https://www.almsaeedstudio.com>
|
||||
* @Email <abdullah@almsaeedstudio.com>
|
||||
* @version 2.4.0
|
||||
* @repository git://github.com/almasaeed2010/AdminLTE.git
|
||||
* @license MIT <http://opensource.org/licenses/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:
|
||||
'<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>',
|
||||
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);
|
File diff suppressed because one or more lines are too long
|
@ -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}
|
|
@ -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}
|
|
@ -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
|
||||
}
|
|
@ -133,7 +133,7 @@
|
|||
</div>
|
||||
@endif
|
||||
<div class="col-sm-12">
|
||||
<div class="small-box bg-gray">
|
||||
<div class="small-box bg-black">
|
||||
<div class="inner">
|
||||
<h3>{{ str_limit($server->user->username, 16) }}</h3>
|
||||
<p>Server Owner</p>
|
||||
|
@ -145,7 +145,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<div class="small-box bg-gray">
|
||||
<div class="small-box bg-black">
|
||||
<div class="inner">
|
||||
<h3>{{ str_limit($server->node->name, 16) }}</h3>
|
||||
<p>Server Node</p>
|
||||
|
|
|
@ -49,10 +49,10 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<div class="col-xs-3">
|
||||
<a href="{{ route('auth.password') }}"><button type="button" class="btn pterodactyl-login-button--left"><i class="fa fa-life-ring"></i></button></a>
|
||||
</div>
|
||||
<div class="col-xs-offset-4 col-xs-4">
|
||||
<div class="col-xs-offset-3 col-xs-6">
|
||||
{!! csrf_field() !!}
|
||||
<button type="submit" class="btn btn-block g-recaptcha pterodactyl-login-button--main" @if(config('recaptcha.enabled')) data-sitekey="{{ config('recaptcha.website_key') }}" data-callback='onSubmit' @endif>@lang('auth.sign_in')</button>
|
||||
</div>
|
||||
|
|
|
@ -45,10 +45,10 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-4">
|
||||
<div class="col-xs-3">
|
||||
<a href="{{ route('auth.login') }}"><button type="button" class="btn pterodactyl-login-button--left"><i class="fa fa-user-circle"></i></button></a>
|
||||
</div>
|
||||
<div class="col-xs-offset-4 col-xs-4">
|
||||
<div class="col-xs-offset-3 col-xs-6">
|
||||
{!! csrf_field() !!}
|
||||
<button type="submit" class="btn btn-block g-recaptcha pterodactyl-login-button--main" @if(config('recaptcha.enabled')) data-sitekey="{{ config('recaptcha.website_key') }}" data-callback='onSubmit' @endif>@lang('auth.request_reset')</button>
|
||||
</div>
|
||||
|
|
|
@ -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 @@
|
|||
<![endif]-->
|
||||
@show
|
||||
</head>
|
||||
<body class="hold-transition skin-blue fixed sidebar-mini">
|
||||
<body class="hold-transition skin-red fixed sidebar-collapse sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<header class="main-header">
|
||||
<a href="{{ route('index') }}" class="logo">
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
@section('scripts')
|
||||
{!! 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('css/pterodactyl.css?t={cache-version}') !!}
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
|
@ -36,7 +36,7 @@
|
|||
<![endif]-->
|
||||
@show
|
||||
</head>
|
||||
<body class="hold-transition skin-blue fixed sidebar-mini">
|
||||
<body class="hold-transition skin-red fixed sidebar-collapse sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<header class="main-header">
|
||||
<a href="{{ route('index') }}" class="logo">
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
@section('scripts')
|
||||
{!! 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}') !!}
|
||||
|
@ -39,7 +39,7 @@
|
|||
<![endif]-->
|
||||
@show
|
||||
</head>
|
||||
<body class="hold-transition skin-blue fixed sidebar-mini">
|
||||
<body class="skin-red sidebar-collapse sidebar-mini">
|
||||
<div class="wrapper">
|
||||
<header class="main-header">
|
||||
<a href="{{ route('index') }}" class="logo">
|
||||
|
|
Reference in New Issue