Commit 63836476 authored by echel0n's avatar echel0n
Browse files

Styling input checkboxes as toggles

parent 07e1703e
# Changelog
- * e85aa31 - 2018-07-31: Pre-Release v9.3.56.dev12
- * 4c77d0d - 2018-08-01: Styling input checkboxes as toggles
- * 07e1703 - 2018-07-31: Pre-Release v9.3.56.dev12
- * 08cb03c - 2018-07-31: Merged overall_stats and show_stat functions Cut main show view load time down by 6s
- * edb99a0 - 2018-07-31: Fixed CSS issue for quicksearch items
- * 3acc96b - 2018-07-31: Pre-Release v9.3.56.dev11
......
......@@ -1945,6 +1945,12 @@
"integrity": "sha1-OuyFAA+mGQhdqNLkmD39Z88hFMs=",
"dev": true
},
"bootstrap-toggle": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/bootstrap-toggle/-/bootstrap-toggle-2.2.2.tgz",
"integrity": "sha1-K4hTT8G5mGdPh3+Yug2LW3Q+lv4=",
"dev": true
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
......
......@@ -247,6 +247,15 @@
* Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE)
*/@keyframes e{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}body[class*=jconfirm-no-scroll-]{overflow:hidden!important}.jconfirm{z-index:99999999;font-family:inherit;overflow:hidden}.jconfirm,.jconfirm .jconfirm-bg{position:fixed;top:0;left:0;right:0;bottom:0}.jconfirm .jconfirm-bg{transition:opacity .4s}.jconfirm .jconfirm-bg.jconfirm-bg-h{opacity:0!important}.jconfirm .jconfirm-scrollpane{perspective:500px;perspective-origin:50%;display:table;width:100%;height:100%}.jconfirm .jconfirm-row{display:table-row;width:100%}.jconfirm .jconfirm-cell{display:table-cell;vertical-align:middle}.jconfirm .jconfirm-holder{max-height:100%;padding:50px 0}.jconfirm .jconfirm-box-container{transition:transform}.jconfirm .jconfirm-box-container.jconfirm-no-transition{transition:none!important}.jconfirm .jconfirm-box{background:#fff;border-radius:4px;position:relative;outline:none;padding:15px 15px 0;overflow:hidden;margin-left:auto;margin-right:auto}@keyframes f{1%,to{border-color:#3498db}50%{border-color:#5faee3}}@keyframes g{1%,to{border-color:#2ecc71}50%{border-color:#54d98c}}@keyframes h{1%,to{border-color:#e74c3c}50%{border-color:#ed7669}}@keyframes i{1%,to{border-color:#f1c40f}50%{border-color:#f4d03f}}@keyframes j{1%,to{border-color:#9b59b6}50%{border-color:#b07cc6}}@keyframes k{1%,to{border-color:#34495e}50%{border-color:#46627f}}.jconfirm .jconfirm-box.jconfirm-type-animated{animation-duration:2s;animation-iteration-count:infinite}.jconfirm .jconfirm-box.jconfirm-type-blue{border-top:7px solid #3498db;animation-name:f}.jconfirm .jconfirm-box.jconfirm-type-green{border-top:7px solid #2ecc71;animation-name:g}.jconfirm .jconfirm-box.jconfirm-type-red{border-top:7px solid #e74c3c;animation-name:h}.jconfirm .jconfirm-box.jconfirm-type-orange{border-top:7px solid #f1c40f;animation-name:i}.jconfirm .jconfirm-box.jconfirm-type-purple{border-top:7px solid #9b59b6;animation-name:j}.jconfirm .jconfirm-box.jconfirm-type-dark{border-top:7px solid #34495e;animation-name:k}.jconfirm .jconfirm-box.loading{height:120px}.jconfirm .jconfirm-box.loading:before{content:"";position:absolute;left:0;background:#fff;right:0;top:0;bottom:0;border-radius:10px;z-index:1}.jconfirm .jconfirm-box.loading:after{opacity:.6;content:"";height:30px;width:30px;border:3px solid transparent;position:absolute;left:50%;margin-left:-15px;border-radius:50%;animation:e 1s infinite linear;border-bottom-color:#1e90ff;top:50%;margin-top:-15px;z-index:2}.jconfirm .jconfirm-box div.jconfirm-closeIcon{height:20px;width:20px;position:absolute;top:10px;right:10px;cursor:pointer;opacity:.6;text-align:center;font-size:27px!important;line-height:14px!important;display:none;z-index:1}.jconfirm .jconfirm-box div.jconfirm-closeIcon:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-closeIcon .fa,.jconfirm .jconfirm-box div.jconfirm-closeIcon .glyphicon,.jconfirm .jconfirm-box div.jconfirm-closeIcon .zmdi{font-size:16px}.jconfirm .jconfirm-box div.jconfirm-closeIcon:hover{opacity:1}.jconfirm .jconfirm-box div.jconfirm-title-c{display:block;font-size:22px;line-height:20px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;padding-bottom:15px}.jconfirm .jconfirm-box div.jconfirm-title-c.jconfirm-hand{cursor:move}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{font-size:inherit;display:inline-block;vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c i{vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:inherit;font-family:inherit;display:inline-block;vertical-align:middle}.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title:empty{display:none}.jconfirm .jconfirm-box div.jconfirm-content-pane{margin-bottom:15px;height:auto;transition:height .4s ease-in;display:inline-block;width:100%;position:relative;overflow-x:hidden;overflow-y:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane.no-scroll{overflow-y:hidden}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar{width:3px}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar-track{background:rgba(0,0,0,.1)}.jconfirm .jconfirm-box div.jconfirm-content-pane::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content{overflow:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content img{max-width:100%;height:auto}.jconfirm .jconfirm-box div.jconfirm-content-pane .jconfirm-content:empty{display:none}.jconfirm .jconfirm-box .jconfirm-buttons{padding-bottom:11px}.jconfirm .jconfirm-box .jconfirm-buttons>button{margin-bottom:4px;margin-left:2px;margin-right:2px}.jconfirm .jconfirm-box .jconfirm-buttons button{display:inline-block;padding:6px 12px;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;min-height:1em;transition:opacity .1s ease,background-color .1s ease,color .1s ease,box-shadow .1s ease,background .1s ease;-webkit-tap-highlight-color:transparent;border:none;background-image:none}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue{background-color:#3498db;color:#fff;text-shadow:none;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue:hover{background-color:#2980b9;color:#fff}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green{background-color:#2ecc71;color:#fff;text-shadow:none;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-green:hover{background-color:#27ae60;color:#fff}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-red{background-color:#e74c3c;color:#fff;text-shadow:none;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-red:hover{background-color:#c0392b;color:#fff}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-orange{background-color:#f1c40f;color:#fff;text-shadow:none;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-orange:hover{background-color:#f39c12;color:#fff}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default{background-color:#ecf0f1;color:#000;text-shadow:none;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default:hover{background-color:#bdc3c7;color:#000}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-purple{background-color:#9b59b6;color:#fff;text-shadow:none;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-purple:hover{background-color:#8e44ad;color:#fff}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-dark{background-color:#34495e;color:#fff;text-shadow:none;transition:background .2s}.jconfirm .jconfirm-box .jconfirm-buttons button.btn-dark:hover{background-color:#2c3e50;color:#fff}.jconfirm .jconfirm-box.jconfirm-type-red .jconfirm-title-c .jconfirm-icon-c{color:#e74c3c!important}.jconfirm .jconfirm-box.jconfirm-type-blue .jconfirm-title-c .jconfirm-icon-c{color:#3498db!important}.jconfirm .jconfirm-box.jconfirm-type-green .jconfirm-title-c .jconfirm-icon-c{color:#2ecc71!important}.jconfirm .jconfirm-box.jconfirm-type-purple .jconfirm-title-c .jconfirm-icon-c{color:#9b59b6!important}.jconfirm .jconfirm-box.jconfirm-type-orange .jconfirm-title-c .jconfirm-icon-c{color:#f1c40f!important}.jconfirm .jconfirm-box.jconfirm-type-dark .jconfirm-title-c .jconfirm-icon-c{color:#34495e!important}.jconfirm .jconfirm-clear{clear:both}.jconfirm.jconfirm-rtl{direction:rtl}.jconfirm.jconfirm-rtl div.jconfirm-closeIcon{left:5px;right:auto}.jconfirm.jconfirm-light .jconfirm-bg,.jconfirm.jconfirm-white .jconfirm-bg{background-color:#444;opacity:.2}.jconfirm.jconfirm-light .jconfirm-box,.jconfirm.jconfirm-white .jconfirm-box{box-shadow:0 2px 6px rgba(0,0,0,.2);border-radius:5px}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons{float:right}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button{text-transform:uppercase;font-size:14px;font-weight:700;text-shadow:none}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.btn-default{box-shadow:none;color:#333}.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default:hover,.jconfirm.jconfirm-white .jconfirm-box .jconfirm-buttons button.btn-default:hover{background:#ddd}.jconfirm.jconfirm-light.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-white.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-black .jconfirm-bg,.jconfirm.jconfirm-dark .jconfirm-bg{background-color:#2f4f4f;opacity:.4}.jconfirm.jconfirm-black .jconfirm-box,.jconfirm.jconfirm-dark .jconfirm-box{box-shadow:0 2px 6px rgba(0,0,0,.2);background:#444;border-radius:5px;color:#fff}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons{float:right}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button{border:none;background-image:none;text-transform:uppercase;font-size:14px;font-weight:700;text-shadow:none;transition:background .1s;color:#fff}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button.btn-default,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default{box-shadow:none;color:#fff;background:none}.jconfirm.jconfirm-black .jconfirm-box .jconfirm-buttons button.btn-default:hover,.jconfirm.jconfirm-dark .jconfirm-box .jconfirm-buttons button.btn-default:hover{background:#666}.jconfirm.jconfirm-black.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c,.jconfirm.jconfirm-dark.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm .jconfirm-box.hilight.jconfirm-hilight-shake{animation:l .82s cubic-bezier(.36,.07,.19,.97) both;transform:translateZ(0)}.jconfirm .jconfirm-box.hilight.jconfirm-hilight-glow{animation:m .82s cubic-bezier(.36,.07,.19,.97) both;transform:translateZ(0)}@keyframes l{10%,90%{transform:translate3d(-2px,0,0)}20%,80%{transform:translate3d(4px,0,0)}30%,50%,70%{transform:translate3d(-8px,0,0)}40%,60%{transform:translate3d(8px,0,0)}}@keyframes m{0%,to{box-shadow:0 0 0 red}50%{box-shadow:0 0 30px red}}.jconfirm{perspective:400px}.jconfirm .jconfirm-box{opacity:1;transition-property:all}.jconfirm .jconfirm-box.jconfirm-animation-bottom,.jconfirm .jconfirm-box.jconfirm-animation-left,.jconfirm .jconfirm-box.jconfirm-animation-none,.jconfirm .jconfirm-box.jconfirm-animation-opacity,.jconfirm .jconfirm-box.jconfirm-animation-right,.jconfirm .jconfirm-box.jconfirm-animation-rotate,.jconfirm .jconfirm-box.jconfirm-animation-rotatex,.jconfirm .jconfirm-box.jconfirm-animation-rotatey,.jconfirm .jconfirm-box.jconfirm-animation-scale,.jconfirm .jconfirm-box.jconfirm-animation-scalex,.jconfirm .jconfirm-box.jconfirm-animation-scaley,.jconfirm .jconfirm-box.jconfirm-animation-top,.jconfirm .jconfirm-box.jconfirm-animation-zoom{opacity:0}.jconfirm .jconfirm-box.jconfirm-animation-rotate{transform:rotate(90deg)}.jconfirm .jconfirm-box.jconfirm-animation-rotatex{transform:rotateX(90deg);transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotatexr{transform:rotateX(-90deg);transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotatey{transform:rotatey(90deg);transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-rotateyr{transform:rotatey(-90deg);transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-scaley{transform:scaley(1.5);transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-scalex{transform:scalex(1.5);transform-origin:center}.jconfirm .jconfirm-box.jconfirm-animation-top{transform:translateY(-100px)}.jconfirm .jconfirm-box.jconfirm-animation-left{transform:translate(-100px)}.jconfirm .jconfirm-box.jconfirm-animation-right{transform:translate(100px)}.jconfirm .jconfirm-box.jconfirm-animation-bottom{transform:translateY(100px)}.jconfirm .jconfirm-box.jconfirm-animation-zoom{transform:scale(1.2)}.jconfirm .jconfirm-box.jconfirm-animation-scale{transform:scale(.5)}.jconfirm .jconfirm-box.jconfirm-animation-none{visibility:hidden}.jconfirm.jconfirm-supervan .jconfirm-bg{background-color:rgba(54,70,93,.95)}.jconfirm.jconfirm-supervan .jconfirm-box{background-color:transparent}.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-blue,.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-dark,.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-green,.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-orange,.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-purple,.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-red{border:none}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-closeIcon{color:#fff}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c{text-align:center;color:#fff;font-size:28px;font-weight:400}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c>*{padding-bottom:25px}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-content-pane{margin-bottom:25px}.jconfirm.jconfirm-supervan .jconfirm-box div.jconfirm-content{text-align:center;color:#fff}.jconfirm.jconfirm-supervan .jconfirm-box .jconfirm-buttons{text-align:center}.jconfirm.jconfirm-supervan .jconfirm-box .jconfirm-buttons button{font-size:16px;border-radius:2px;background:#303f53;text-shadow:none;border:none;color:#fff;padding:10px;min-width:100px}.jconfirm.jconfirm-supervan.jconfirm-rtl .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-material .jconfirm-bg{background-color:rgba(0,0,0,.67)}.jconfirm.jconfirm-material .jconfirm-box{background-color:#fff;box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12);padding:30px 25px 10px}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,.87)}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,.87);font-size:22px;font-weight:700}.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-content{color:rgba(0,0,0,.87)}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons{text-align:right}.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons button{text-transform:uppercase;font-weight:500}.jconfirm.jconfirm-material.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-bootstrap .jconfirm-bg{background-color:rgba(0,0,0,.21)}.jconfirm.jconfirm-bootstrap .jconfirm-box{background-color:#fff;box-shadow:0 3px 8px 0 rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.4);padding:15px 0 0}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{margin-right:8px;margin-left:0}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,.87)}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,.87);font-size:22px;font-weight:700;padding-left:15px;padding-right:15px}.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-content{color:rgba(0,0,0,.87);padding:0 15px}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons{text-align:right;padding:10px;margin:-5px 0 0;border-top:1px solid #ddd;overflow:hidden;border-radius:0 0 4px 4px}.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-buttons button{font-weight:500}.jconfirm.jconfirm-bootstrap.jconfirm-rtl .jconfirm-title-c .jconfirm-icon-c{margin-left:8px;margin-right:0}.jconfirm.jconfirm-modern .jconfirm-bg{background-color:#708090;opacity:.6}.jconfirm.jconfirm-modern .jconfirm-box{background-color:#fff;box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12);padding:30px 30px 15px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-closeIcon{color:rgba(0,0,0,.87);top:15px;right:15px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-title-c{color:rgba(0,0,0,.87);font-size:24px;font-weight:700;text-align:center;margin-bottom:10px}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-title-c .jconfirm-icon-c{transition:transform .5s;transform:scale(0);display:block;margin-right:0;margin-left:0;margin-bottom:10px;font-size:69px;color:#aaa}.jconfirm.jconfirm-modern .jconfirm-box div.jconfirm-content{text-align:center;font-size:15px;color:#777;margin-bottom:25px}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons{text-align:center}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons button{font-weight:700;text-transform:uppercase;transition:background .1s;padding:10px 20px}.jconfirm.jconfirm-modern .jconfirm-box .jconfirm-buttons button+button{margin-left:4px}.jconfirm.jconfirm-modern.jconfirm-open .jconfirm-box .jconfirm-title-c .jconfirm-icon-c{transform:scale(1)}
/*! ========================================================================
* Bootstrap Toggle: bootstrap-toggle.css v2.2.0
* http://www.bootstraptoggle.com
* ========================================================================
* Copyright 2014 Min Hur, The New York Times Company
* Licensed under MIT
* ======================================================================== */.checkbox-inline .toggle,.checkbox label .toggle{margin-left:-20px;margin-right:5px}.toggle{position:relative;overflow:hidden}.toggle input[type=checkbox]{display:none}.toggle-group{position:absolute;width:200%;top:0;bottom:0;left:0;transition:left .35s;-webkit-transition:left .35s;-moz-user-select:none;-webkit-user-select:none}.toggle.off .toggle-group{left:-100%}.toggle-on{left:0;right:50%}.toggle-off,.toggle-on{position:absolute;top:0;bottom:0;margin:0;border:0;border-radius:0}.toggle-off{left:50%;right:0}.toggle-handle{position:relative;margin:0 auto;padding-top:0;padding-bottom:0;height:100%;width:0;border-width:0 1px}.toggle.btn{min-width:59px;min-height:34px}.toggle-on.btn{padding-right:24px}.toggle-off.btn{padding-left:24px}.toggle.btn-lg{min-width:79px;min-height:45px}.toggle-on.btn-lg{padding-right:31px}.toggle-off.btn-lg{padding-left:31px}.toggle-handle.btn-lg{width:40px}.toggle.btn-sm{min-width:50px;min-height:30px}.toggle-on.btn-sm{padding-right:20px}.toggle-off.btn-sm{padding-left:20px}.toggle.btn-xs{min-width:35px;min-height:22px}.toggle-on.btn-xs{padding-right:12px}.toggle-off.btn-xs{padding-left:12px}
/*!
* jQuery UI Selectable 1.12.1
* http://jqueryui.com
......
......@@ -360,7 +360,7 @@ class WebRoot(WebHandler):
super(WebRoot, self).__init__(*args, **kwargs)
def index(self):
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
def robots_txt(self):
""" Keep web crawlers out """
......@@ -1007,14 +1007,14 @@ class Home(WebHandler):
def shutdown(self, pid=None):
if str(pid) != str(sickrage.app.pid):
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
self._genericMessage(_("Shutting down"), _("SiCKRAGE is shutting down"))
sickrage.app.shutdown()
def restart(self, pid=None, force=False):
if str(pid) != str(sickrage.app.pid) and not force:
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
# clear current user to disable header and footer
self.current_user = None
......@@ -1033,17 +1033,17 @@ class Home(WebHandler):
def updateCheck(self, pid=None):
if str(pid) != str(sickrage.app.pid):
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
# check for new app updates
if not sickrage.app.version_updater.check_for_new_version(True):
sickrage.app.alerts.message(_('No new updates!'))
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
def update(self, pid=None):
if str(pid) != str(sickrage.app.pid):
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
if sickrage.app.version_updater.update():
sickrage.app.newest_version_string = None
......@@ -1051,7 +1051,7 @@ class Home(WebHandler):
else:
self._genericMessage(_("Update Failed"),
_("Update wasn't successful, not restarting. Check your log for more information."))
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
def verifyPath(self, path):
if os.path.isfile(path):
......@@ -1066,7 +1066,7 @@ class Home(WebHandler):
else:
sickrage.app.alerts.message(_('Installed SiCKRAGE requirements successfully!'))
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
def branchCheckout(self, branch):
if branch and sickrage.app.version_updater.updater.current_branch != branch:
......@@ -1077,7 +1077,7 @@ class Home(WebHandler):
else:
sickrage.app.alerts.message(_('Already on branch: '), branch)
return self.redirect('/' + sickrage.app.config.default_page + '/')
return self.redirect("/{}/".format(sickrage.app.config.default_page))
def displayShow(self, show=None):
if show is None:
......
......@@ -30,9 +30,9 @@
<label class="component-title">${_('Enabled')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" class="enabler" name="use_anidb"
id="use_anidb" ${('', 'checked')[bool(sickrage.app.config.use_anidb)]} />
<label for="use_anidb">
<input type="checkbox" data-toggle="toggle" data-size="small" class="enabler" name="use_anidb"
id="use_anidb" ${('', 'checked')[bool(sickrage.app.config.use_anidb)]} />
${_('Enable AniDB')}
</label>
</div>
......@@ -82,9 +82,9 @@
<label class="component-title">${_('AniDB MyList')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="anidb_use_mylist"
id="anidb_use_mylist" ${('', 'checked')[bool(sickrage.app.config.anidb_use_mylist)]}/>
<label for="anidb_use_mylist">
<input type="checkbox" data-toggle="toggle" data-size="small" name="anidb_use_mylist"
id="anidb_use_mylist" ${('', 'checked')[bool(sickrage.app.config.anidb_use_mylist)]}/>
${_('Do you want to add the PostProcessed Episodes to the MyList ?')}
</label>
</div>
......@@ -110,7 +110,7 @@
<label class="component-title">${_('Split show lists')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" class="enabler" name="split_home"
<input type="checkbox" data-toggle="toggle" data-size="small" class="enabler" name="split_home"
id="split_home" ${('', 'checked')[bool(sickrage.app.config.anime_split_home)]}/>
<label for="split_home">
${_('Separate anime and normal shows in groups')}
......
......@@ -68,8 +68,8 @@
<div class="form-row">
<div class="col-md-12">
<input type="checkbox" name="restore_database" id="restore_database" checked/>
<label for="restore_database">
<input type="checkbox" data-toggle="toggle" data-size="small" name="restore_database" id="restore_database" checked/>
${_('Restore database files')}
</label>
</div>
......@@ -77,8 +77,8 @@
<div class="form-row">
<div class="col-md-12">
<input type="checkbox" name="restore_config" id="restore_config" checked/>
<label for="restore_config">
<input type="checkbox" data-toggle="toggle" data-size="small" name="restore_config" id="restore_config" checked/>
${_('Restore configuration file')}
</label>
</div>
......@@ -86,10 +86,11 @@
<div class="form-row">
<div class="col-md-12">
<input type="checkbox" name="restore_cache" id="restore_cache" checked/>
<label for="restore_cache">
<input type="checkbox" data-toggle="toggle" data-size="small" name="restore_cache" id="restore_cache" checked/>
${_('Restore cache files')}
</label>
<div class="checkbox"></div>
</div>
</div>
</div>
......
......@@ -97,7 +97,7 @@
id="${providerID}">
<div class="align-middle">
<label class="form-check-label" for="enable_${providerID}">
<input type="checkbox" id="enable_${providerID}"
<input type="checkbox" data-toggle="toggle" data-size="small" id="enable_${providerID}"
class="provider_enabler text-left" ${('', 'checked')[bool(providerObj.isEnabled)]}/>
<a href="${anon_url(provider_url)}" class="text-right" rel="noreferrer"
onclick="window.open(this.href, '_blank'); return false;">
......@@ -203,10 +203,10 @@
<label class="component-title">${_('Enable daily searches')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_enable_daily"
id="${providerID}_enable_daily" ${('', 'checked')[bool(providerObj.enable_daily)]}/>
<label for="${providerID}_enable_daily">
<p>${_('enable provider to perform daily searches.')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_enable_daily"
id="${providerID}_enable_daily" ${('', 'checked')[bool(providerObj.enable_daily)]}/>
${_('enable provider to perform daily searches.')}
</label>
</div>
</div>
......@@ -218,10 +218,10 @@
<label class="component-title">${_('Enable backlog searches')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_enable_backlog"
id="${providerID}_enable_backlog" ${('', 'checked')[bool(providerObj.enable_backlog and providerObj.supports_backlog)]}/>
<label for="${providerID}_enable_backlog">
<p>${_('enable provider to perform backlog searches.')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_enable_backlog"
id="${providerID}_enable_backlog" ${('', 'checked')[bool(providerObj.enable_backlog and providerObj.supports_backlog)]}/>
${_('enable provider to perform backlog searches.')}
</label>
</div>
</div>
......@@ -234,7 +234,7 @@
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<label class="form-check-label">
<input type="checkbox" name="${providerID}_search_fallback"
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_search_fallback"
id="${providerID}_search_fallback" ${('', 'checked')[bool(providerObj.search_fallback)]}/>
${_('when searching for a complete season depending on search mode you may')}
<br/>
......@@ -328,10 +328,10 @@
<label class="component-title">${_('Enable daily searches')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_enable_daily"
id="${providerID}_enable_daily" ${('', 'checked')[bool(providerObj.enable_daily)]}/>
<label for="${providerID}_enable_daily">
<p>${_('enable provider to perform daily searches.')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_enable_daily"
id="${providerID}_enable_daily" ${('', 'checked')[bool(providerObj.enable_daily)]}/>
${_('enable provider to perform daily searches.')}
</label>
</div>
</div>
......@@ -343,10 +343,10 @@
<label class="component-title">${_('Enable backlog searches')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_enable_backlog"
id="${providerID}_enable_backlog" ${('', 'checked')[bool(providerObj.enable_backlog and providerObj.supports_backlog)]}/>
<label for="${providerID}_enable_backlog">
<p>${_('enable provider to perform backlog searches.')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_enable_backlog"
id="${providerID}_enable_backlog" ${('', 'checked')[bool(providerObj.enable_backlog and providerObj.supports_backlog)]}/>
${_('enable provider to perform backlog searches.')}
</label>
</div>
</div>
......@@ -359,7 +359,7 @@
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<label class="form-check-label">
<input type="checkbox" name="${providerID}_search_fallback"
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_search_fallback"
id="${providerID}_search_fallback" ${('', 'checked')[bool(providerObj.search_fallback)]}/>
${_('when searching for a complete season depending on search mode you may '
'return no results, this helps by restarting the search using the opposite '
......@@ -677,10 +677,10 @@
<label class="component-title">${_('Confirmed download')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_confirmed"
id="${providerID}_confirmed" ${('', 'checked')[bool(providerObj.confirmed)]}/>
<label for="${providerID}_confirmed">
<p>${_('only download torrents from trusted or verified uploaders?')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_confirmed"
id="${providerID}_confirmed" ${('', 'checked')[bool(providerObj.confirmed)]}/>
${_('only download torrents from trusted or verified uploaders?')}
</label>
</div>
</div>
......@@ -692,10 +692,10 @@
<label class="component-title">${_('Ranked torrents')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_ranked"
id="${providerID}_ranked" ${('', 'checked')[bool(providerObj.ranked)]} />
<label for="${providerID}_ranked">
<p>${_('only download ranked torrents (internal releases)')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_ranked"
id="${providerID}_ranked" ${('', 'checked')[bool(providerObj.ranked)]} />
${_('only download ranked torrents (internal releases)')}
</label>
</div>
</div>
......@@ -707,10 +707,10 @@
<label class="component-title">${_('English torrents')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_engrelease"
id="${providerID}_engrelease" ${('', 'checked')[bool(providerObj.engrelease)]} />
<label for="${providerID}_engrelease">
<p>${_('only download english torrents ,or torrents containing english subtitles')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_engrelease"
id="${providerID}_engrelease" ${('', 'checked')[bool(providerObj.engrelease)]} />
${_('only download english torrents ,or torrents containing english subtitles')}
</label>
</div>
</div>
......@@ -722,9 +722,9 @@
<label class="component-title">${_('For Spanish torrents')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_onlyspasearch"
id="${providerID}_onlyspasearch" ${('', 'checked')[bool(providerObj.onlyspasearch)]} />
<label for="${providerID}_onlyspasearch">
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_onlyspasearch"
id="${providerID}_onlyspasearch" ${('', 'checked')[bool(providerObj.onlyspasearch)]} />
<p>
${_('ONLY search on this provider if show info is defined as "Spanish" '
'(avoid provider\'s use for VOS shows)')}
......@@ -763,10 +763,10 @@
<label class="component-title">${_('Freeleech')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_freeleech"
id="${providerID}_freeleech" ${('', 'checked')[bool(providerObj.freeleech)]}/>
<label for="${providerID}_freeleech">
<p>${_('only download')} <b>[${_('FreeLeech')}]</b> ${_('torrents.')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_freeleech"
id="${providerID}_freeleech" ${('', 'checked')[bool(providerObj.freeleech)]}/>
${_('only download')} <b>[${_('FreeLeech')}]</b> ${_('torrents.')}
</label>
</div>
</div>
......@@ -778,10 +778,10 @@
<label class="component-title">${_('Enable daily searches')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_enable_daily"
id="${providerID}_enable_daily" ${('', 'checked')[bool(providerObj.enable_daily)]}/>
<label for="${providerID}_enable_daily">
<p>${_('enable provider to perform daily searches.')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_enable_daily"
id="${providerID}_enable_daily" ${('', 'checked')[bool(providerObj.enable_daily)]}/>
${_('enable provider to perform daily searches.')}
</label>
</div>
</div>
......@@ -793,10 +793,10 @@
<label class="component-title">${_('Reject Blu-ray M2TS releases')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_reject_m2ts"
id="${providerID}_reject_m2ts" ${('', 'checked')[bool(providerObj.reject_m2ts)]}/>
<label for="${providerID}_reject_m2ts">
<p>${_('enable to ignore Blu-ray MPEG-2 Transport Stream container releases')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_reject_m2ts"
id="${providerID}_reject_m2ts" ${('', 'checked')[bool(providerObj.reject_m2ts)]}/>
${_('enable to ignore Blu-ray MPEG-2 Transport Stream container releases')}
</label>
</div>
</div>
......@@ -808,10 +808,10 @@
<label class="component-title">${_('Enable backlog searches')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_enable_backlog"
id="${providerID}_enable_backlog" ${('', 'checked')[bool(providerObj.enable_backlog and providerObj.supports_backlog)]}/>
<label for="${providerID}_enable_backlog">
<p>${_('enable provider to perform backlog searches.')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_enable_backlog"
id="${providerID}_enable_backlog" ${('', 'checked')[bool(providerObj.enable_backlog and providerObj.supports_backlog)]}/>
${_('enable provider to perform backlog searches.')}
</label>
</div>
</div>
......@@ -824,7 +824,7 @@
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<label class="form-check-label">
<input type="checkbox" name="${providerID}_search_fallback"
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_search_fallback"
id="${providerID}_search_fallback" ${('', 'checked')[bool(providerObj.search_fallback)]}/>
${_('when searching for a complete season depending on search mode you may '
'return no results, this helps by restarting the search using the opposite '
......@@ -900,10 +900,10 @@
<label class="component-title">${_('Subtitled')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="${providerID}_subtitle"
id="${providerID}_subtitle" ${('', 'checked')[bool(providerObj.subtitle)]}/>
<label for="${providerID}_subtitle">
<p>${_('select torrent with Italian subtitle')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="${providerID}_subtitle"
id="${providerID}_subtitle" ${('', 'checked')[bool(providerObj.subtitle)]}/>
${_('select torrent with Italian subtitle')}
</label>
</div>
</div>
......
......@@ -26,10 +26,10 @@
<label class="component-title">${_('Randomize Providers')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="randomize_providers" id="randomize_providers"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.randomize_providers)]}/>
<label for="randomize_providers">
<p>${_('randomize the provider search order')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="randomize_providers" id="randomize_providers"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.randomize_providers)]}/>
${_('randomize the provider search order')}
</label>
</div>
</div>
......@@ -38,10 +38,10 @@
<label class="component-title">${_('Download propers')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="download_propers" id="download_propers"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.download_propers)]}/>
<label for="download_propers">
<p>${_('replace original download with "Proper" or "Repack" if nuked')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="download_propers" id="download_propers"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.download_propers)]}/>
${_('replace original download with "Proper" or "Repack" if nuked')}
</label>
</div>
</div>
......@@ -50,10 +50,10 @@
<label class="component-title">${_('Enable provider RSS cache')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="enable_rss_cache" id="enable_rss_cache"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.enable_rss_cache)]}/>
<label for="enable_rss_cache">
<p>${_('enables/disables provider RSS feed caching')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="enable_rss_cache" id="enable_rss_cache"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.enable_rss_cache)]}/>
${_('enables/disables provider RSS feed caching')}
</label>
</div>
</div>
......@@ -62,10 +62,10 @@
<label class="component-title">${_('Enable provider RSS cache for valid shows only')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="enable_rss_cache_valid_shows" id="enable_rss_cache_valid_shows"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.enable_rss_cache_valid_shows)]}/>
<label for="enable_rss_cache_valid_shows">
<p>${_('enables/disables caching of shows already added to SiCKRAGE, speeds up searches')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="enable_rss_cache_valid_shows" id="enable_rss_cache_valid_shows"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.enable_rss_cache_valid_shows)]}/>
${_('enables/disables caching of shows already added to SiCKRAGE, speeds up searches')}
</label>
</div>
</div>
......@@ -75,11 +75,11 @@
<label class="component-title">${_('Download UNVERIFIED torrent magnet links')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="download_unverified_magnet_link"
id="download_unverified_magnet_link"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.download_unverified_magnet_link)]}/>
<label for="download_unverified_magnet_link">
<p>${_('enables/disables downloading of unverified torrent magnet links via clients')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="download_unverified_magnet_link"
id="download_unverified_magnet_link"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.download_unverified_magnet_link)]}/>
${_('enables/disables downloading of unverified torrent magnet links via clients')}
</label>
</div>
</div>
......@@ -89,10 +89,10 @@
<label class="component-title">${_('Convert provider torrent file links to magnetic links')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="torrent_file_to_magnet" id="torrent_file_to_magnet"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.torrent_file_to_magnet)]}/>
<label for="torrent_file_to_magnet">
<p>${_('enables/disables converting of public torrent provider file links to magnetic links')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="torrent_file_to_magnet" id="torrent_file_to_magnet"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.torrent_file_to_magnet)]}/>
${_('enables/disables converting of public torrent provider file links to magnetic links')}
</label>
</div>
</div>
......@@ -102,10 +102,10 @@
<label class="component-title">${_('Enable failed snatch handling')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="use_failed_snatcher" id="use_failed_snatcher"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.use_failed_snatcher)]}/>
<label for="use_failed_snatcher">
<p>${_('enables/disables failed snatch handling, automatically retries failed snatches')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="use_failed_snatcher" id="use_failed_snatcher"
class="enabler" ${('', 'checked')[bool(sickrage.app.config.use_failed_snatcher)]}/>
${_('enables/disables failed snatch handling, automatically retries failed snatches')}
</label>
</div>
</div>
......@@ -293,10 +293,10 @@
<label class="component-title">${_('Allow high priority')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="allow_high_priority"
id="allow_high_priority" ${('', 'checked')[bool(sickrage.app.config.allow_high_priority)]}/>
<label for="allow_high_priority">
<p>${_('Set downloads of recently aired episodes to high priority')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="allow_high_priority"
id="allow_high_priority" ${('', 'checked')[bool(sickrage.app.config.allow_high_priority)]}/>
${_('Set downloads of recently aired episodes to high priority')}
</label>
</div>
</div>
......@@ -327,9 +327,11 @@
<label class="component-title">${_('Enabled')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="use_nzbs" class="enabler" title="Enable NZB searches"
id="use_nzbs" ${('', 'checked')[bool(sickrage.app.config.use_nzbs)]}/>
<label for="use_nzbs">${_('enable NZB searches')}</label>
<label for="use_nzbs">
<input type="checkbox" data-toggle="toggle" data-size="small" name="use_nzbs" class="enabler" title="Enable NZB searches"
id="use_nzbs" ${('', 'checked')[bool(sickrage.app.config.use_nzbs)]}/>
${_('enable NZB searches')}
</label>
</div>
</div>
......@@ -525,10 +527,10 @@
<label class="component-title">${_('Use forced priority')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="sab_forced" class="enabler"
id="sab_forced" ${('', 'selected')[bool(sickrage.app.config.sab_forced)]}/>
<label for="sab_forced">
<p>${_('enable to change priority from HIGH to FORCED')}</p>
<input type="checkbox" data-toggle="toggle" data-size="small" name="sab_forced" class="enabler"
id="sab_forced" ${('', 'selected')[bool(sickrage.app.config.sab_forced)]}/>
${_('enable to change priority from HIGH to FORCED')}
</label>
</div>
</div>
......@@ -541,10 +543,10 @@
<label class="component-title">${_('Connect using HTTPS')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input id="nzbget_use_https" type="checkbox" class="enabler"
name="nzbget_use_https" ${('', 'selected')[bool(sickrage.app.config.nzbget_use_https)]}/>
<label for="nzbget_use_https">
<p>${_('enable secure control')}</p>
<input id="nzbget_use_https" type="checkbox" data-toggle="toggle" data-size="small" class="enabler"
name="nzbget_use_https" ${('', 'selected')[bool(sickrage.app.config.nzbget_use_https)]}/>
${_('enable secure control')}
</label>
</div>
</div>
......@@ -752,9 +754,11 @@
<label class="component-title">${_('Enabled')}</label>
</div>
<div class="col-lg-9 col-md-8 col-sm-7 component-desc">
<input type="checkbox" name="use_torrents" class="enabler"
id="use_torrents" ${('', 'checked')[bool(sickrage.app.config.use_torrents)]}/>
<label for="use_torrents">${_('Enable torrent searches')}</label>
<label for="use_torrents">
<input type="checkbox" data-toggle="toggle" data-size="small" name="use_torrents" class="enabler"
id="use_torrents" ${('', 'checked')[bool(sickrage.app.config.use_torrents)]}/>