Removed generics from device listener and updated some js libs

This commit is contained in:
Ziver Koc 2021-07-02 00:06:26 +02:00
parent 53d471c0aa
commit 94bfbbd664
18 changed files with 707 additions and 689 deletions

View file

@ -1,23 +1,11 @@
/* ========================================================================
* bootstrap-switch - v3.3.2
* http://www.bootstrap-switch.org
* ========================================================================
* Copyright 2012-2013 Mattia Larentis
*
* ========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================================
*/
/**
* bootstrap-switch - Turn checkboxes and radio buttons into toggle switches.
*
* @version v3.3.4
* @homepage https://bttstrp.github.io/bootstrap-switch
* @author Mattia Larentis <mattia@larentis.eu> (http://larentis.eu)
* @license Apache-2.0
*/
.bootstrap-switch {
display: inline-block;
@ -25,7 +13,7 @@
cursor: pointer;
border-radius: 4px;
border: 1px solid;
border-color: #cccccc;
border-color: #ccc;
position: relative;
text-align: left;
overflow: hidden;
@ -54,8 +42,8 @@
-moz-box-sizing: border-box;
box-sizing: border-box;
cursor: pointer;
display: inline-block !important;
height: 100%;
display: table-cell;
vertical-align: middle;
padding: 6px 12px;
font-size: 14px;
line-height: 20px;
@ -100,8 +88,11 @@
margin-top: -1px;
margin-bottom: -1px;
z-index: 100;
color: #333333;
background: #ffffff;
color: #333;
background: #fff;
}
.bootstrap-switch span::before {
content: "\200b";
}
.bootstrap-switch .bootstrap-switch-handle-on {
border-bottom-left-radius: 3px;
@ -120,6 +111,7 @@
z-index: -1;
opacity: 0;
filter: alpha(opacity=0);
visibility: hidden;
}
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on,
.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off,

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -3,7 +3,7 @@
// --------------------------------------------------------
$(function(){
$(".toggle-switch").bootstrapSwitch();
$(".toggle-switch").bootstrapSwitch({inverse: true});
$(".timestamp").relTimestamp();
});

View file

@ -2,7 +2,7 @@
<div class="col-md-12">
<div class="panel panel-default drop-shadow">
<div class="panel-heading">Detected Plugins</div>
<div class="panel-heading">Plugin Administration</div>
<div class="panel-body">
<table class="table table-hover table-condensed">
@ -24,7 +24,7 @@
<div class="btn-toolbar pull-right">
<input class="toggle-switch" type="checkbox" name="enabled"
data-size="mini" data-on-color="danger"
data-size="mini"
{{#.isEnabled()}}checked{{/.isEnabled()}} >
</div>
</form>

View file

@ -148,7 +148,6 @@
</div>
</div> <!-- /Panel -->
</div>
<div class="col-md-12 vertical-space"></div>
<div class="col-md-12">
<div class="panel panel-default drop-shadow">