client side code webstorm code cleanup.

pull/3113/head
kay.one 11 years ago
parent 375f887539
commit 445ea4f344

@ -7,7 +7,7 @@
<option name="RIGHT_MARGIN" value="190" />
<option name="HTML_ALIGN_ATTRIBUTES" value="false" />
<CssCodeStyleSettings>
<option name="HEX_COLOR_UPPER_CASE" value="true" />
<option name="HEX_COLOR_LOWER_CASE" value="true" />
<option name="HEX_COLOR_LONG_FORMAT" value="true" />
</CssCodeStyleSettings>
<JSCodeStyleSettings>
@ -18,7 +18,6 @@
</XML>
<codeStyleSettings language="CSS">
<indentOptions>
<option name="USE_TAB_CHARACTER" value="true" />
<option name="SMART_TABS" value="true" />
</indentOptions>
</codeStyleSettings>

@ -2,6 +2,7 @@
<profile version="1.0" is_locked="false">
<option name="myName" value="Project Default" />
<option name="myLocal" value="false" />
<inspection_tool class="HtmlFormInputWithoutLabel" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
<inspection_tool class="JSHint" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="" />
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>

@ -1,6 +1,7 @@
<div class="row">
<div class="accordion result-list span12 existing-root-folder-view">
<h1>{{path}}</h1>
<div class="x-existing-folder-container"/>
</div>
</div>

@ -7,6 +7,7 @@
<option value="{{id}}">{{attributes.name}}</option>
{{/each}}
</select>
<div class="btn btn-primary x-btn-search pull-right">
<icon class="icon-search "></icon>
</div>

@ -15,6 +15,7 @@
<option value="{{id}}">{{attributes.name}}</option>
{{/each}}
</select>
<div class="btn btn-success pull-right icon-plus x-add">
</div>
</div>

@ -2,6 +2,7 @@
<div class="input-prepend input-append nz-input-large x-path span10">
<i class="add-on icon-folder-open"></i>
<input class="input-block-level" type="text" placeholder="Path of the folder to add ...">
<div class="btn icon-plus btn-success x-add"/>
</div>
<div class="span12 result-list" id="current-dirs"/>

@ -16,8 +16,9 @@
startTime : function () {
var start = Date.create(this.get('start'));
if (start.format('{mm}') === '00')
if (start.format('{mm}') === '00') {
return start.format('{h}{tt}');
}
return start.format('{h}.{mm}{tt}');
},
@ -30,13 +31,17 @@
var start = Date.create(this.get('start'));
var end = Date.create(this.get('end'));
if (currentTime.isBetween(start, end))
if (currentTime.isBetween(start, end)) {
return 'warning';
}
if (start.isBefore(currentTime) || status === 'Missing')
if (start.isBefore(currentTime) || status === 'Missing') {
return 'danger';
}
if (status === 'Ready') return 'success';
if (status === 'Ready') {
return 'success';
}
return 'primary';
},

@ -2,42 +2,47 @@
// Pager pagination
// --------------------------------------------------
.pager {
margin: @baseLineHeight 0;
list-style: none;
text-align: center;
.clearfix();
}
.pager li {
display: inline;
}
.pager li > a,
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
background-color: #FFFFFF;
border: 1px solid #DDDDDD;
.border-radius(15px);
}
.pager li > a:hover,
.pager li > a:focus {
text-decoration: none;
background-color: #f5f5f5;
background-color: #F5F5F5;
}
.pager .next > a,
.pager .next > span {
float: right;
}
.pager .previous > a,
.pager .previous > span {
float: left;
}
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
color: @grayLight;
background-color: #fff;
background-color: #FFFFFF;
cursor: default;
}

@ -3,7 +3,6 @@
// Adapted from http://github.com/necolas/normalize.css
// --------------------------------------------------
// Display in IE6-9 and FF3
// -------------------------
@ -46,10 +45,12 @@ html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
// Focus states
a:focus {
.tab-focus();
}
// Hover & Active
a:hover,
a:active {
@ -66,9 +67,11 @@ sup {
line-height: 0;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
@ -105,16 +108,19 @@ textarea {
font-size: 100%;
vertical-align: middle;
}
button,
input {
*overflow: visible; // Inner spacing ie IE6/7
line-height: normal; // FF3/4 have !important on line-height in UA stylesheet
}
button::-moz-focus-inner,
input::-moz-focus-inner { // Inner padding and border oddities in FF3/4
padding: 0;
border: 0;
}
button,
html input[type="button"], // Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
input[type="reset"],
@ -122,6 +128,7 @@ input[type="submit"] {
-webkit-appearance: button; // Corrects inability to style clickable `input` types in iOS.
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
}
label,
select,
button,
@ -132,20 +139,22 @@ input[type="radio"],
input[type="checkbox"] {
cursor: pointer; // Improves usability and consistency of cursor style between image-type `input` and others.
}
input[type="search"] { // Appearance in Safari/Chrome
.box-sizing(content-box);
-webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
}
textarea {
overflow: auto; // Remove vertical scrollbar in IE6-9
vertical-align: top; // Readability and alignment cross-browser
}
// Printing
// -------------------------
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
@ -154,7 +163,7 @@ textarea {
* {
text-shadow: none !important;
color: #000 !important; // Black prints faster: h5bp.com/s
color: #000000 !important; // Black prints faster: h5bp.com/s
background: transparent !important;
box-shadow: none !important;
}
@ -181,7 +190,7 @@ textarea {
pre,
blockquote {
border: 1px solid #999;
border: 1px solid #999999;
page-break-inside: avoid;
}

@ -40,7 +40,7 @@ html {
}
a:focus {
outline: thin dotted #333;
outline: thin dotted #333333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
@ -139,50 +139,61 @@ textarea {
@media print {
* {
color: #000 !important;
color: #000000 !important;
text-shadow: none !important;
background: transparent !important;
box-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
border: 1px solid #999999;
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: 0.5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
@ -248,8 +259,8 @@ a:hover {
.img-polaroid {
padding: 4px;
background-color: #fff;
border: 1px solid #ccc;
background-color: #ffffff;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
@ -962,7 +973,7 @@ pre {
code {
padding: 2px 4px;
color: #d14;
color: #dd1144;
white-space: nowrap;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
@ -979,7 +990,7 @@ pre {
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
@ -1190,7 +1201,7 @@ select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: thin dotted #333;
outline: thin dotted #333333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
@ -1699,7 +1710,7 @@ select:focus:invalid:focus {
text-align: center;
text-shadow: 0 1px 0 #ffffff;
background-color: #eeeeee;
border: 1px solid #ccc;
border: 1px solid #cccccc;
}
.input-append .add-on,
@ -2879,7 +2890,7 @@ table th[class*="span"],
margin: 2px 0 0;
list-style: none;
background-color: #ffffff;
border: 1px solid #ccc;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.2);
*border-right-width: 2px;
*border-bottom-width: 2px;
@ -3075,7 +3086,7 @@ table th[class*="span"],
}
.well blockquote {
border-color: #ddd;
border-color: #dddddd;
border-color: rgba(0, 0, 0, 0.15);
}
@ -3213,7 +3224,7 @@ button.close {
}
.btn:focus {
outline: thin dotted #333;
outline: thin dotted #333333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
@ -3999,7 +4010,7 @@ input[type="submit"].btn.btn-mini {
}
.nav-tabs {
border-bottom: 1px solid #ddd;
border-bottom: 1px solid #dddddd;
}
.nav-tabs > li {
@ -4025,7 +4036,7 @@ input[type="submit"].btn.btn-mini {
color: #555555;
cursor: default;
background-color: #ffffff;
border: 1px solid #ddd;
border: 1px solid #dddddd;
border-bottom-color: transparent;
}
@ -4058,7 +4069,7 @@ input[type="submit"].btn.btn-mini {
}
.nav-tabs.nav-stacked > li > a {
border: 1px solid #ddd;
border: 1px solid #dddddd;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
@ -4084,7 +4095,7 @@ input[type="submit"].btn.btn-mini {
.nav-tabs.nav-stacked > li > a:hover {
z-index: 2;
border-color: #ddd;
border-color: #dddddd;
}
.nav-pills.nav-stacked > li > a {
@ -4125,8 +4136,8 @@ input[type="submit"].btn.btn-mini {
}
.nav .active .dropdown-toggle .caret {
border-top-color: #fff;
border-bottom-color: #fff;
border-top-color: #ffffff;
border-bottom-color: #ffffff;
}
.nav-tabs .active .dropdown-toggle .caret {
@ -4195,7 +4206,7 @@ input[type="submit"].btn.btn-mini {
}
.tabs-below > .nav-tabs {
border-top: 1px solid #ddd;
border-top: 1px solid #dddddd;
}
.tabs-below > .nav-tabs > li {
@ -4210,13 +4221,13 @@ input[type="submit"].btn.btn-mini {
}
.tabs-below > .nav-tabs > li > a:hover {
border-top-color: #ddd;
border-top-color: #dddddd;
border-bottom-color: transparent;
}
.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover {
border-color: transparent #ddd #ddd #ddd;
border-color: transparent #dddddd #dddddd #dddddd;
}
.tabs-left > .nav-tabs > li,
@ -4234,7 +4245,7 @@ input[type="submit"].btn.btn-mini {
.tabs-left > .nav-tabs {
float: left;
margin-right: 19px;
border-right: 1px solid #ddd;
border-right: 1px solid #dddddd;
}
.tabs-left > .nav-tabs > li > a {
@ -4250,14 +4261,14 @@ input[type="submit"].btn.btn-mini {
.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover {
border-color: #ddd transparent #ddd #ddd;
border-color: #dddddd transparent #dddddd #dddddd;
*border-right-color: #ffffff;
}
.tabs-right > .nav-tabs {
float: right;
margin-left: 19px;
border-left: 1px solid #ddd;
border-left: 1px solid #dddddd;
}
.tabs-right > .nav-tabs > li > a {
@ -4273,7 +4284,7 @@ input[type="submit"].btn.btn-mini {
.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover {
border-color: #ddd #ddd #ddd transparent;
border-color: #dddddd #dddddd #dddddd transparent;
*border-left-color: #ffffff;
}
@ -4624,7 +4635,7 @@ input[type="submit"].btn.btn-mini {
left: 9px;
display: inline-block;
border-right: 7px solid transparent;
border-bottom: 7px solid #ccc;
border-bottom: 7px solid #cccccc;
border-left: 7px solid transparent;
border-bottom-color: rgba(0, 0, 0, 0.2);
content: '';
@ -4644,7 +4655,7 @@ input[type="submit"].btn.btn-mini {
.navbar-fixed-bottom .nav > li > .dropdown-menu:before {
top: auto;
bottom: -7px;
border-top: 7px solid #ccc;
border-top: 7px solid #cccccc;
border-bottom: 0;
border-top-color: rgba(0, 0, 0, 0.2);
}
@ -4879,7 +4890,7 @@ input[type="submit"].btn.btn-mini {
.breadcrumb > li > .divider {
padding: 0 5px;
color: #ccc;
color: #cccccc;
}
.breadcrumb > .active {
@ -5056,8 +5067,8 @@ input[type="submit"].btn.btn-mini {
.pager li > span {
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
background-color: #ffffff;
border: 1px solid #dddddd;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;
@ -5083,7 +5094,7 @@ input[type="submit"].btn.btn-mini {
.pager .disabled > span {
color: #999999;
cursor: default;
background-color: #fff;
background-color: #ffffff;
}
.modal-backdrop {
@ -5114,9 +5125,9 @@ input[type="submit"].btn.btn-mini {
width: 560px;
margin-left: -280px;
background-color: #ffffff;
border: 1px solid #999;
border: 1px solid #999999;
border: 1px solid rgba(0, 0, 0, 0.3);
*border: 1px solid #999;
*border: 1px solid #999999;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
@ -5143,7 +5154,7 @@ input[type="submit"].btn.btn-mini {
.modal-header {
padding: 9px 15px;
border-bottom: 1px solid #eee;
border-bottom: 1px solid #eeeeee;
}
.modal-header .close {
@ -5171,7 +5182,7 @@ input[type="submit"].btn.btn-mini {
margin-bottom: 0;
text-align: right;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
border-top: 1px solid #dddddd;
-webkit-border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
@ -5300,7 +5311,7 @@ input[type="submit"].btn.btn-mini {
text-align: left;
white-space: normal;
background-color: #ffffff;
border: 1px solid #ccc;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
@ -5369,7 +5380,7 @@ input[type="submit"].btn.btn-mini {
bottom: -11px;
left: 50%;
margin-left: -11px;
border-top-color: #999;
border-top-color: #999999;
border-top-color: rgba(0, 0, 0, 0.25);
border-bottom-width: 0;
}
@ -5385,7 +5396,7 @@ input[type="submit"].btn.btn-mini {
top: 50%;
left: -11px;
margin-top: -11px;
border-right-color: #999;
border-right-color: #999999;
border-right-color: rgba(0, 0, 0, 0.25);
border-left-width: 0;
}
@ -5401,7 +5412,7 @@ input[type="submit"].btn.btn-mini {
top: -11px;
left: 50%;
margin-left: -11px;
border-bottom-color: #999;
border-bottom-color: #999999;
border-bottom-color: rgba(0, 0, 0, 0.25);
border-top-width: 0;
}
@ -5417,7 +5428,7 @@ input[type="submit"].btn.btn-mini {
top: 50%;
right: -11px;
margin-top: -11px;
border-left-color: #999;
border-left-color: #999999;
border-left-color: rgba(0, 0, 0, 0.25);
border-right-width: 0;
}
@ -5460,7 +5471,7 @@ input[type="submit"].btn.btn-mini {
display: block;
padding: 4px;
line-height: 20px;
border: 1px solid #ddd;
border: 1px solid #dddddd;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;

@ -28,14 +28,12 @@ html {
text-decoration: underline;
}
.nz-spinner {
font-size: 56px;
text-align: center;
padding: 30px;
}
#notification-region .alert {
margin: 10px;
}
@ -48,7 +46,6 @@ html {
font-size: 12px;
}
#in-sub-nav ul {
margin: 0 0 80px 0;
}

@ -11,10 +11,12 @@
vertical-align: middle;
position: relative;
}
.slider.slider-horizontal {
width: 210px;
height: 20px;
}
.slider.slider-horizontal .slider-track {
height: 10px;
width: 100%;
@ -22,15 +24,18 @@
top: 50%;
left: 0;
}
.slider.slider-horizontal .slider-selection {
height: 100%;
top: 0;
bottom: 0;
}
.slider.slider-horizontal .slider-handle {
margin-left: -10px;
margin-top: -5px;
}
.slider.slider-horizontal .slider-handle.triangle {
border-width: 0 10px 10px 10px;
width: 0;
@ -38,10 +43,12 @@
border-bottom-color: #0480be;
margin-top: 0;
}
.slider.slider-vertical {
height: 210px;
width: 20px;
}
.slider.slider-vertical .slider-track {
width: 10px;
height: 100%;
@ -49,16 +56,19 @@
left: 50%;
top: 0;
}
.slider.slider-vertical .slider-selection {
width: 100%;
left: 0;
top: 0;
bottom: 0;
}
.slider.slider-vertical .slider-handle {
margin-left: -5px;
margin-top: -10px;
}
.slider.slider-vertical .slider-handle.triangle {
border-width: 10px 0 10px 10px;
width: 1px;
@ -66,12 +76,15 @@
border-left-color: #0480be;
margin-left: 0;
}
.slider input {
display: none;
}
.slider .tooltip-inner {
white-space: nowrap;
}
.slider-track {
position: absolute;
cursor: pointer;
@ -90,6 +103,7 @@
-moz-border-radius: 4px;
border-radius: 4px;
}
.slider-selection {
position: absolute;
background-color: #bababa;
@ -110,6 +124,7 @@
-moz-border-radius: 4px;
border-radius: 4px;
}
.slider-handle {
position: absolute;
width: 20px;
@ -128,11 +143,13 @@
/*opacity: 0.8;*/
border: 0px solid transparent;
}
.slider-handle.round {
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
}
.slider-handle.triangle {
background: transparent none;
}

@ -29,28 +29,34 @@
user-select: none;
min-width: 102px;
}
/* line 40, ../sass/bootstrapSwitch.scss */
.has-switch.switch-mini {
min-width: 72px;
}
/* line 44, ../sass/bootstrapSwitch.scss */
.has-switch.switch-small {
min-width: 81px;
}
/* line 48, ../sass/bootstrapSwitch.scss */
.has-switch.switch-large {
min-width: 120px;
}
/* line 52, ../sass/bootstrapSwitch.scss */
.has-switch.deactivate {
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
opacity: 0.5;
cursor: default !important;
}
/* line 55, ../sass/bootstrapSwitch.scss */
.has-switch.deactivate label, .has-switch.deactivate span {
cursor: default !important;
}
/* line 59, ../sass/bootstrapSwitch.scss */
.has-switch > div {
display: inline-block;
@ -58,6 +64,7 @@
position: relative;
top: 0;
}
/* line 65, ../sass/bootstrapSwitch.scss */
.has-switch > div.switch-animate {
-webkit-transition: left 0.5s;
@ -65,18 +72,22 @@
-o-transition: left 0.5s;
transition: left 0.5s;
}
/* line 68, ../sass/bootstrapSwitch.scss */
.has-switch > div.switch-off {
left: -50%;
}
/* line 71, ../sass/bootstrapSwitch.scss */
.has-switch > div.switch-on {
left: 0%;
}
/* line 75, ../sass/bootstrapSwitch.scss */
.has-switch input[type=checkbox] {
display: none;
}
/* line 83, ../sass/bootstrapSwitch.scss */
.has-switch span, .has-switch label {
-webkit-box-sizing: border-box;
@ -91,6 +102,7 @@
font-size: 14px;
line-height: 20px;
}
/* line 96, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-mini, .has-switch label.switch-mini {
padding-bottom: 4px;
@ -98,6 +110,7 @@
font-size: 10px;
line-height: 9px;
}
/* line 103, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-small, .has-switch label.switch-small {
padding-bottom: 3px;
@ -105,6 +118,7 @@
font-size: 12px;
line-height: 18px;
}
/* line 110, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-large, .has-switch label.switch-large {
padding-bottom: 9px;
@ -112,6 +126,7 @@
font-size: 16px;
line-height: normal;
}
/* line 118, ../sass/bootstrapSwitch.scss */
.has-switch label {
background: white;
@ -127,6 +142,7 @@
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(top, #ffffff, #e6e6e6);
}
/* line 130, ../sass/bootstrapSwitch.scss */
.has-switch span {
color: white;
@ -134,6 +150,7 @@
z-index: 1;
width: 33.333333%;
}
/* line 136, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-left {
-moz-border-radius-topleft: 4px;
@ -143,6 +160,7 @@
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
}
/* line 140, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-right {
color: black;
@ -158,6 +176,7 @@
background-image: -o-linear-gradient(bottom, #ffffff, #e6e6e6);
background-image: linear-gradient(bottom, #ffffff, #e6e6e6);
}
/* line 147, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-primary, .has-switch span.switch-left {
color: white;
@ -168,6 +187,7 @@
background-image: -o-linear-gradient(bottom, #0088cc, #0055cc);
background-image: linear-gradient(bottom, #0088cc, #0055cc);
}
/* line 152, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-info {
color: white;
@ -178,6 +198,7 @@
background-image: -o-linear-gradient(bottom, #5bc0de, #2f96b4);
background-image: linear-gradient(bottom, #5bc0de, #2f96b4);
}
/* line 158, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-success {
color: white;
@ -188,6 +209,7 @@
background-image: -o-linear-gradient(bottom, #62c462, #51a351);
background-image: linear-gradient(bottom, #62c462, #51a351);
}
/* line 164, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-warning {
color: white;
@ -198,6 +220,7 @@
background-image: -o-linear-gradient(bottom, #dbb450, #f89406);
background-image: linear-gradient(bottom, #dbb450, #f89406);
}
/* line 170, ../sass/bootstrapSwitch.scss */
.has-switch span.switch-danger {
color: white;

@ -1,16 +1,17 @@
.form-horizontal .controls i {
font-size: 16px;
/*color: #3A87AD;*/ /* Info blue */
/*color: #3A87AD;*/
/* Info blue */
color: #595959;
cursor: default;
}
.form-horizontal .controls i.warning {
color: #F89406;
color: #f89406;
}
.form-horizontal .controls i.danger {
color: #B94A48;
color: #b94a48;
}
.help-inline-checkbox {

@ -9,7 +9,6 @@
*
*/
.fc {
direction: ltr;
text-align: left;
@ -31,8 +30,6 @@
vertical-align: top;
}
/* Header
------------------------------------------------------------------------*/
@ -103,8 +100,6 @@
z-index: 4;
}
/* Content
------------------------------------------------------------------------*/
@ -117,28 +112,28 @@
/*overflow: hidden;*/
}
/* Cell Styles
------------------------------------------------------------------------*/
.fc-widget-header, /* <th>, usually */
.fc-widget-content { /* <td>, usually */
border: 1px solid #ccc;
.fc-widget-content {
/* <td>, usually */
border: 1px solid #cccccc;
}
.fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
background: #ffc;
.fc-state-highlight {
/* <td> today cell */
/* TODO: add .fc-today to <th> */
background: #ffffcc;
}
.fc-cell-overlay { /* semi-transparent rectangle while dragging */
background: #9cf;
.fc-cell-overlay {
/* semi-transparent rectangle while dragging */
background: #99ccff;
opacity: .2;
filter: alpha(opacity=20); /* for IE */
}
/* Buttons
------------------------------------------------------------------------*/
@ -148,7 +143,8 @@
cursor: pointer;
}
.fc-state-default { /* non-theme */
.fc-state-default {
/* non-theme */
border-style: solid;
border-width: 1px 0;
}
@ -159,7 +155,8 @@
overflow: hidden;
}
.fc-state-default .fc-button-inner { /* non-theme */
.fc-state-default .fc-button-inner {
/* non-theme */
border-style: solid;
border-width: 0 1px;
}
@ -205,8 +202,8 @@
height: 100px;
border-width: 100px 0 0 1px;
border-style: solid;
border-color: #fff;
background: #444;
border-color: #ffffff;
background: #444444;
opacity: .09;
filter: alpha(opacity=9);
}
@ -216,33 +213,33 @@
.fc-state-default,
.fc-state-default .fc-button-inner {
border-style: solid;
border-color: #ccc #bbb #aaa;
background: #F3F3F3;
color: #000;
border-color: #cccccc #bbbbbb #aaaaaa;
background: #f3f3f3;
color: #000000;
}
.fc-state-hover,
.fc-state-hover .fc-button-inner {
border-color: #999;
border-color: #999999;
}
.fc-state-down,
.fc-state-down .fc-button-inner {
border-color: #555;
background: #777;
border-color: #555555;
background: #777777;
}
.fc-state-active,
.fc-state-active .fc-button-inner {
border-color: #555;
background: #777;
color: #fff;
border-color: #555555;
background: #777777;
color: #ffffff;
}
.fc-state-disabled,
.fc-state-disabled .fc-button-inner {
color: #999;
border-color: #ddd;
color: #999999;
border-color: #dddddd;
}
.fc-state-disabled {
@ -253,8 +250,6 @@
display: none;
}
/* Global Event Styles
------------------------------------------------------------------------*/
@ -279,9 +274,9 @@ a.fc-event {
}
.fc-event-skin {
border-color: #36c; /* default BORDER color */
background-color: #36c; /* default BACKGROUND color */
color: #fff; /* default TEXT color */
border-color: #3366cc; /* default BORDER color */
background-color: #3366cc; /* default BACKGROUND color */
color: #ffffff; /* default TEXT color */
}
.fc-event-inner {
@ -298,7 +293,8 @@ a.fc-event {
padding: 0 1px;
}
.fc .ui-resizable-handle { /*** TODO: don't use ui-resizable anymore, change class ***/
.fc .ui-resizable-handle {
/*** TODO: don't use ui-resizable anymore, change class ***/
display: block;
position: absolute;
z-index: 99999;
@ -307,8 +303,6 @@ a.fc-event {
line-height: 50%; /* */
}
/* Horizontal Events
------------------------------------------------------------------------*/
@ -339,8 +333,6 @@ a.fc-event {
_padding-bottom: 14px; /* IE6 had 0 height */
}
/* Fake Rounded Corners (for buttons and events)
------------------------------------------------------------*/
@ -378,8 +370,6 @@ a.fc-event {
margin-bottom: -1px;
}
/* Fake Rounded Corners SPECIFICALLY FOR EVENTS
-----------------------------------------------------------------*/
@ -399,8 +389,6 @@ a.fc-event {
border-bottom-width: 1px;
}
/* Reusable Separate-border Table
------------------------------------------------------------*/
@ -428,8 +416,6 @@ table.fc-border-separate {
border-top-width: 0;
}
/* Month View, Basic Week View, Basic Day View
------------------------------------------------------------------------*/
@ -471,8 +457,6 @@ table.fc-border-separate {
float: right;
}
/* Agenda Week View, Agenda Day View
------------------------------------------------------------------------*/
@ -526,7 +510,7 @@ table.fc-border-separate {
}
.fc-widget-header .fc-agenda-divider-inner {
background: #eee;
background: #eeeeee;
}
/* slot rows */
@ -558,8 +542,6 @@ table.fc-border-separate {
*border-top-style: solid; /* doesn't work with background in IE6/7 */
}
/* Vertical Events
------------------------------------------------------------------------*/
@ -580,14 +562,15 @@ table.fc-border-separate {
font-size: 10px;
}
.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
.fc-event-vert .fc-event-bg {
/* makes the event lighter w/ a semi-transparent overlay */
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
background: #ffffff;
opacity: .3;
filter: alpha(opacity=30);
}
@ -611,6 +594,7 @@ table.fc-border-separate {
cursor: s-resize;
}
.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
.fc-agenda .ui-resizable-resizing {
/* TODO: better selector */
_overflow: hidden;
}

@ -14,7 +14,7 @@
padding: 8px;
margin: 0 0 18px;
list-style: none;
background-color: #FBFBFB;
background-color: #fbfbfb;
background-image: -moz-linear-gradient(top, white, #efefef);
background-image: -ms-linear-gradient(top, white, #efefef);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#efefef));
@ -65,7 +65,7 @@
}
.tablesorter-bootstrap tr.even td {
background-color: #fff;
background-color: #ffffff;
}
/* processing icon */
@ -81,8 +81,8 @@
height: inherit;
margin: 0 auto;
padding: 4px 6px;
background-color: #fff;
color: #333;
background-color: #ffffff;
color: #333333;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
@ -93,7 +93,7 @@
}
.tablesorter-bootstrap .tablesorter-filter-row td {
background: #eee;
background: #eeeeee;
line-height: normal;
text-align: center;
padding: 4px 6px;
@ -103,6 +103,7 @@
-o-transition: line-height 0.1s ease;
transition: line-height 0.1s ease;
}
/* hidden filter row */
.tablesorter-bootstrap .tablesorter-filter-row.hideme td {
padding: 2px; /* change this to modify the thickness of the closed border row */

@ -3,6 +3,7 @@
.tablesorter-pager.disabled {
display: none;
}
/* hide or fade out pager arrows when the first or last row is visible */
.tablesorter-pager .disabled {
/* visibility: hidden */

@ -7,7 +7,7 @@
}
body p.sub {
color: #999;
color: #999999;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
@ -16,7 +16,7 @@
}
#logo {
color: #333;
color: #333333;
}
a#logo:hover {
@ -27,7 +27,7 @@ a#logo:hover {
width: 1210px;
min-width: 1210px;
margin: auto;
background-color: #FFF;
background-color: #ffffff;
border-radius: 6px;
margin-top: -70px;
padding: 20px 0px;
@ -37,10 +37,9 @@ a#logo:hover {
.page .header {
padding-bottom: 10px;
margin-bottom: 20px;
border-bottom: 1px solid #EEE;
border-bottom: 1px solid #eeeeee;
}
#in-nav {
background-color: white;
background-repeat: repeat;
@ -86,12 +85,12 @@ a#logo:hover {
min-height: 56px;
min-width: 64px;
margin: 20px 10px 10px;
color: #FFF;
color: #ffffff;
font-weight: 100;
}
#in-sub-nav li a:hover, #in-sub-nav li a.active {
background-color: #555;
background-color: #555555;
text-decoration: none;
}
@ -104,21 +103,21 @@ a#logo:hover {
footer {
padding-top: 20px;
padding-bottom: 20px;
color: #999;
color: #999999;
}
footer a {
color: #999;
color: #999999;
}
.divide {
border-top: 1px solid #EEE;
border-top: 1px solid #eeeeee;
margin-top: 40px;
padding-top: 40px;
}
.small-divide {
border-top: 1px solid #EEE;
border-top: 1px solid #eeeeee;
margin-top: 20px;
padding-top: 20px;
}
@ -203,7 +202,7 @@ footer {
/* ============== messages ============== */
.message-sidebar {
border-right: 1px solid #EEE;
border-right: 1px solid #eeeeee;
margin: -20px;
margin-right: 0;
overflow: auto;
@ -212,8 +211,8 @@ footer {
.message-sidebar a.message-preview {
display: block;
background-color: #F6F6F6;
border-bottom: 1px solid #EEE;
background-color: #f6f6f6;
border-bottom: 1px solid #eeeeee;
padding: 10px 20px;
}
@ -223,16 +222,16 @@ footer {
}
.message-sidebar a.message-preview p, .message-sidebar a.message-preview h5 {
color: #999;
color: #999999;
}
.message-sidebar a.new {
background-color: #FFF;
background-color: #ffffff;
}
.message-sidebar a.active {
background-color: #008DCD;
color: #FFF;
background-color: #008dcd;
color: #ffffff;
}
.message-sidebar a.active p, .message-sidebar a.active h5 {
@ -253,7 +252,6 @@ footer {
display: block;
}
.messages h4 {
text-transform: none;
font-weight: 400;
@ -261,7 +259,7 @@ footer {
.messages .message {
padding-bottom: 20px;
border-bottom: 1px solid #EEE;
border-bottom: 1px solid #eeeeee;
margin-bottom: 20px;
}
@ -288,7 +286,7 @@ footer {
/* ============== sidebar ============== */
.sidebar {
border-top: 1px solid #EEE;
border-top: 1px solid #eeeeee;
}
.sidebar ul {
@ -303,19 +301,19 @@ footer {
.sidebar ul li a {
display: block;
padding: 10px;
border-bottom: 1px solid #EEE;
border-bottom: 1px solid #eeeeee;
text-transform: uppercase;
}
.sidebar ul li a:hover {
background-color: #EEE;
background-color: #eeeeee;
/* color: #FFF;*/
text-decoration: none;
}
.sidebar ul li ul {
background-color: #F6F6F6;
box-shadow: inset 0 1px 10px #E0E0E0;
background-color: #f6f6f6;
box-shadow: inset 0 1px 10px #e0e0e0;
}
/* ============== stat lists ============== */
@ -351,7 +349,7 @@ ul.stat-list {
}
ul.stat-list li h4.sub {
color: #999;
color: #999999;
font-weight: 300;
}
@ -372,7 +370,7 @@ ul.stat-list {
width: 20%;
text-align: right;
padding-right: 20px;
color: #999;
color: #999999;
font-weight: 300;
}
@ -405,7 +403,7 @@ ul.stat-list {
}
.spark h4.sub {
color: #999;
color: #999999;
font-weight: 300;
}
@ -434,7 +432,7 @@ ul.stat-list {
}
.table-panel table {
border-top: 1px solid #EEE;
border-top: 1px solid #eeeeee;
}
/* ============== peity ============== */
@ -455,13 +453,13 @@ ul.stat-list {
.peity h4.sub {
font-weight: 300;
color: #999;
color: #999999;
}
/* ============== panels ============== */
.panel {
width: 150px;
background-color: #EEE;
background-color: #eeeeee;
border-radius: 6px;
text-align: center;
display: inline-block;
@ -488,7 +486,7 @@ ul.stat-list {
top: 5px;
padding: 6px 12px;
border-radius: 30px;
color: #FFF;
color: #ffffff;
font-weight: 600;
font-size: 0.7em;
}
@ -574,37 +572,37 @@ ul.stat-list {
.stats .warning {
background-color: #ffa93c;
color: #FFF;
color: #ffffff;
}
.stats .success {
background-color: #4cb158;
color: #FFF;
color: #ffffff;
}
.stats .danger {
background-color: #ea494a;
color: #FFF;
color: #ffffff;
}
.stats .info {
background-color: #14b8d4;
color: #FFF;
color: #ffffff;
}
.stats .primary {
background-color: #007ccd;
color: #FFF;
color: #ffffff;
}
.stats .purple {
background-color: #7932ea;
color: #FFF;
color: #ffffff;
}
.stats .inverse {
background-color: #333;
color: #FFF;
background-color: #333333;
color: #ffffff;
}
.rating-star, .no-star, .half-star {
@ -629,7 +627,7 @@ ul.stat-list {
.profile-sidebar ul li {
list-style-type: none;
border-top: 1px solid #EEE;
border-top: 1px solid #eeeeee;
padding: 10px 0px;
}
@ -652,21 +650,21 @@ ul.stat-list {
.filters h5 {
margin-top: 20px;
padding-bottom: 5px;
border-bottom: 1px solid #EEE;
border-bottom: 1px solid #eeeeee;
}
.filters span {
color: #999;
color: #999999;
}
.stream .item {
border-bottom: 1px solid #EEE;
border-bottom: 1px solid #eeeeee;
padding: 10px 0px 30px 60px;
}
.stream .item .stream-icon {
display: inline-block;
background-color: #CCC;
background-color: #cccccc;
border-radius: 4px;
height: 40px;
width: 40px;
@ -715,7 +713,7 @@ ul.stat-list {
}
.stream .item p {
color: #777;
color: #777777;
}
.stream .item p.date {
@ -726,7 +724,7 @@ ul.stat-list {
/* ============== faq ============== */
.qa {
border-bottom: 1px solid #EEE;
border-bottom: 1px solid #eeeeee;
padding-bottom: 20px;
margin-bottom: 20px;
margin-top: 20px;
@ -742,12 +740,12 @@ ul.stat-list {
display: inline-block;
width: 100%;
margin-bottom: 10px;
border-top: 1px solid #EEE;
border-top: 1px solid #eeeeee;
padding-top: 10px;
}
.event p {
color: #999;
color: #999999;
}
.event h4 {
@ -760,7 +758,7 @@ ul.stat-list {
.event .date {
text-align: center;
display: inline-block;
border-left: 4px solid #EEE;
border-left: 4px solid #eeeeee;
padding-left: 16px;
float: left;
margin-right: 20px;
@ -802,7 +800,7 @@ ul.stat-list {
}
.event .inverse {
border-color: #333;
border-color: #333333;
}
#events .load-more {
@ -811,17 +809,16 @@ ul.stat-list {
height: 600px;
}
#calendar h2 {
font-size: 17.5px;
}
#calendar th {
background-color: #EEE;
background-color: #eeeeee;
}
#calendar th, #calendar td {
border-color: #EEE;
border-color: #eeeeee;
}
#calendar .fc-event-skin {
@ -862,8 +859,8 @@ ul.stat-list {
}
#calendar .inverse {
border-color: #333;
background-color: #333;
border-color: #333333;
background-color: #333333;
}
#calendar .fc-state-highlight {
@ -873,7 +870,7 @@ ul.stat-list {
/* ============== tags ============== */
.tag {
display: inline-block;
background-color: #EEE;
background-color: #eeeeee;
padding: 3px 8px;
margin-right: 5px;
margin-bottom: 5px;
@ -882,7 +879,7 @@ ul.stat-list {
.tag:hover {
background-color: #008dcd;
color: #FFF;
color: #ffffff;
text-decoration: none;
}
@ -895,6 +892,7 @@ ul.stat-list {
.popover {
width: 276px;
}
.popover-title {
text-transform: none;
}

@ -9,15 +9,14 @@
.toast-message a,
.toast-message label {
color: #FFF;
color: #ffffff;
}
.toast-message a:hover {
color: #CCC;
color: #cccccc;
text-decoration: none;
}
.toast-top-full-width {
top: 0;
right: 0;
@ -67,7 +66,7 @@
-moz-box-shadow: 0 0 12px #999999;
-webkit-box-shadow: 0 0 12px #999999;
box-shadow: 0 0 12px #999999;
color: #FFFFFF;
color: #ffffff;
opacity: 0.8;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
@ -78,19 +77,19 @@
}
.toast-success {
background-color: #51A351;
background-color: #51a351;
}
.toast-error {
background-color: #BD362F;
background-color: #bd362f;
}
.toast-info {
background-color: #2F96B4;
background-color: #2f96b4;
}
.toast-warning {
background-color: #F89406;
background-color: #f89406;
}
#toast-container > :hover {

@ -8,14 +8,11 @@
var xhr = arguments[0];
//check if ajax call was made with data option
if(xhr && xhr.data && xhr.type=='DELETE')
{
if(xhr.url.indexOf('?') === -1)
{
if (xhr && xhr.data && xhr.type == 'DELETE') {
if (xhr.url.indexOf('?') === -1) {
xhr.url = xhr.url + '?' + $.param(xhr.data);
}
else
{
else {
xhr.url = xhr.url + '&' + $.param(xhr.data);
}
}

@ -12,7 +12,7 @@ Marionette.TemplateCache.get = function (templateId) {
return function (data) {
try {
console.log('rendering template ' + templateName);
//console.log('rendering template ' + templateName);
return templateFunction(data);
}
catch (error) {

@ -1,12 +1,22 @@
function bestDateString(sourceDate) {
if (!sourceDate) return '';
if (!sourceDate) {
return '';
}
var date = Date.create(sourceDate);
if (date.isYesterday()) return 'Yesterday';
if (date.isToday()) return 'Today';
if (date.isTomorrow()) return 'Tomorrow';
if (date.isAfter(Date.create('tomorrow')) && date.isBefore(Date.create().addDays(7))) return date.format('{Weekday}');
if (date.isYesterday()) {
return 'Yesterday';
}
if (date.isToday()) {
return 'Today';
}
if (date.isTomorrow()) {
return 'Tomorrow';
}
if (date.isAfter(Date.create('tomorrow')) && date.isBefore(Date.create().addDays(7))) {
return date.format('{Weekday}');
}
return date.format('{MM}/{dd}/{yyyy}');
}

@ -24,8 +24,9 @@ $.tablesorter.addParser({
// format your data for normalization
var match = s.match(/data-date="(.*?)"/)[1];
if (match === '')
if (match === '') {
return Date.create().addYears(100).format(Date.ISO8601_DATETIME);
}
return match;
},

@ -4,6 +4,7 @@
</div>
<div class="modal-body">
<p>Are you sure you want to delete '{{title}}'?</p>
<div class="series-delete-files">
<label class="checkbox">
<input class="x-delete-files" type="checkbox" value="true">

@ -7,6 +7,7 @@
<div class="control-group">
<label class="control-label">Monitored</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="monitored"/>
@ -19,6 +20,7 @@
<div class="control-group">
<label class="control-label">Use Season Folder</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="seasonFolder"/>
@ -31,6 +33,7 @@
<div class="control-group">
<label class="control-label" for="inputQualityProfile">Quality Profile</label>
<div class="controls">
<select class="x-quality-profile" id="inputQualityProfile" name="qualityProfileId">
@ -46,6 +49,7 @@
<div class="control-group">
<label class="control-label" for="inputPath">Path</label>
<div class="controls">
<input type="text" id="inputPath" placeholder="Path" name="path">
<span class="help-inline">
@ -56,6 +60,7 @@
<div class="control-group">
<label class="control-label" for="inputBacklogSetting">Backlog Setting</label>
<div class="controls">
<select id="inputBacklogSetting" class="inputClass x-backlog-setting" name="backlogSetting">
<option value="0">Inherit</option>
@ -70,6 +75,7 @@
<div class="control-group">
<label class="control-label" for="inputCustomStartDate">Custom Start Date</label>
<div class="controls">
<input type="date" id="inputCustomStartDate" name="customStartDate">
<span class="help-inline">

@ -22,22 +22,21 @@ define(['app', 'Quality/QualityProfileCollection', 'Series/Index/SeriesItemView'
table: '.x-series-table'
},
onItemRemoved: function()
{
onItemRemoved: function () {
this.ui.table.trigger('update');
},
onCompositeCollectionRendered: function()
{
onCompositeCollectionRendered: function () {
this.ui.table.trigger('update');
if(!this.tableSorter && this.collection.length > 0)
{
if (!this.tableSorter && this.collection.length > 0) {
this.tableSorter = this.ui.table.tablesorter({
textExtraction: function (node) {
return node.innerHTML;
},
sortList: [[1,0]],
sortList : [
[1, 0]
],
headers : {
0: {
sorter: 'title'
@ -63,8 +62,7 @@ define(['app', 'Quality/QualityProfileCollection', 'Series/Index/SeriesItemView'
this.applySortIcons();
});
}
else
{
else {
this.ui.table.trigger('update');
}
},
@ -75,14 +73,17 @@ define(['app', 'Quality/QualityProfileCollection', 'Series/Index/SeriesItemView'
});
$(this.ui.table).find('th.tablesorter-header').each(function () {
if ($(this).hasClass('tablesorter-headerDesc'))
if ($(this).hasClass('tablesorter-headerDesc')) {
$(this).children('.tablesorter-header-inner').append('<i class="icon-sort-up pull-right">');
}
else if ($(this).hasClass('tablesorter-headerAsc'))
else if ($(this).hasClass('tablesorter-headerAsc')) {
$(this).children('.tablesorter-header-inner').append('<i class="icon-sort-down pull-right">');
}
else if (!$(this).hasClass('sorter-false'))
else if (!$(this).hasClass('sorter-false')) {
$(this).children('.tablesorter-header-inner').append('<i class="icon-sort pull-right">');
}
});
}
});

@ -8,6 +8,7 @@
<td>
<div class="progress">
<span class="progressbar-back-text">{{episodeFileCount}} / {{episodeCount}}</span>
<div class="bar" style="width:{{percentOfEpisodes}}%"><span class="progressbar-front-text">{{episodeFileCount}} / {{episodeCount}}</span></div>
</div>
</td>

@ -14,8 +14,9 @@
var percent = 100;
if (episodeCount > 0)
if (episodeCount > 0) {
percent = episodeFileCount / episodeCount * 100;
}
return percent;
}

@ -3,6 +3,7 @@
<div class="control-group">
<label class="control-label">Download Client</label>
<div class="controls">
<select class="inputClass x-backlog-setting" name="downloadClient">
<option value="0">SABnzbd</option>
@ -17,6 +18,7 @@
</div>
<div class="control-group">
<label class="control-label">Unsorted TV Directory</label>
<div class="controls">
<input type="text" placeholder="C:\Unsorted TV" name="downloadClientDropDirectory" class="x-path"/>
<span class="help-inline">
@ -27,6 +29,7 @@
<div class="control-group">
<label class="control-label">Use Scene Name</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="useSceneName"/>
@ -43,16 +46,19 @@
<div class="control-group">
<label class="control-label">Auto-Configure</label>
<div class="controls">
<input type="button" value="Auto-Configure" class="btn btn-inverse"/>
<span class="help-inline">
<i class="icon-question-sign" title="(Windows only) If access to SABnzbd doesn't require a username & password and it is on the same system as NzbDrone, you can auto-configure it"></i>
<i class="icon-question-sign"
title="(Windows only) If access to SABnzbd doesn't require a username & password and it is on the same system as NzbDrone, you can auto-configure it"></i>
</span>
</div>
</div>
<div class="control-group">
<label class="control-label">Host</label>
<div class="controls">
<input type="text" name="sabHost"/>
<span class="help-inline">
@ -63,6 +69,7 @@
<div class="control-group">
<label class="control-label">Port</label>
<div class="controls">
<input type="text" name="sabPort"/>
<span class="help-inline">
@ -73,6 +80,7 @@
<div class="control-group">
<label class="control-label">API Key</label>
<div class="controls">
<input type="text" name="sabApiKey"/>
<span class="help-inline">
@ -83,6 +91,7 @@
<div class="control-group">
<label class="control-label">Username</label>
<div class="controls">
<input type="text" name="sabUsername"/>
<span class="help-inline">
@ -93,6 +102,7 @@
<div class="control-group">
<label class="control-label">Password</label>
<div class="controls">
<input type="password" name="sabPassword"/>
<span class="help-inline">
@ -103,6 +113,7 @@
<div class="control-group">
<label class="control-label">TV Category</label>
<div class="controls">
<input type="text" name="sabTvCategory" placeholder="This is not the dropdownlist you're looking for"/>
<span class="help-inline">
@ -113,6 +124,7 @@
<div class="control-group">
<label class="control-label">Backlog Priority</label>
<div class="controls">
<select name="sabBacklogTvPriority">
<option>Default</option>
@ -130,6 +142,7 @@
<div class="control-group">
<label class="control-label">Recent Priority</label>
<div class="controls">
<select name="sabRecentTvPriority">
<option>Default</option>
@ -147,6 +160,7 @@
<div class="control-group">
<label class="control-label">Test</label>
<div class="controls">
<input type="button" value="Test" class="btn btn-inverse"/>
<span class="help-inline">
@ -160,6 +174,7 @@
<legend>Blackhole</legend>
<div class="control-group">
<label class="control-label">Blackhole Directory</label>
<div class="controls">
<input type="text" name="blackholeDirectory" class="x-path"/>
<span class="help-inline">
@ -173,6 +188,7 @@
<legend>Pneumatic</legend>
<div class="control-group">
<label class="control-label">Nzb Directory</label>
<div class="controls">
<input type="text" name="pneumaticDirectory" class="x-path"/>
<span class="help-inline">
@ -186,6 +202,7 @@
<legend>NZBGet</legend>
<div class="control-group">
<label class="control-label">Host</label>
<div class="controls">
<input type="text" name="nzbgetHost"/>
<span class="help-inline">
@ -196,6 +213,7 @@
<div class="control-group">
<label class="control-label">Port</label>
<div class="controls">
<input type="text" name="nzbgetPort"/>
<span class="help-inline">
@ -206,6 +224,7 @@
<div class="control-group">
<label class="control-label">API Key</label>
<div class="controls">
<input type="text" name="nzbgetApiKey"/>
<span class="help-inline">
@ -216,6 +235,7 @@
<div class="control-group">
<label class="control-label">Username</label>
<div class="controls">
<input type="text" name="nzbgetUsername"/>
<span class="help-inline">
@ -226,6 +246,7 @@
<div class="control-group">
<label class="control-label">Password</label>
<div class="controls">
<input type="password" name="nzbgetPassword"/>
<span class="help-inline">
@ -236,6 +257,7 @@
<div class="control-group">
<label class="control-label">TV Category</label>
<div class="controls">
<input type="text" name="nzbgetTvCategory"/>
<span class="help-inline">
@ -246,6 +268,7 @@
<div class="control-group">
<label class="control-label">Backlog Priority</label>
<div class="controls">
<select name="nzbgetBacklogTvPriority">
<option>Default</option>
@ -263,6 +286,7 @@
<div class="control-group">
<label class="control-label">Recent Priority</label>
<div class="controls">
<select name="nzbgetRecentTvPriority">
<option>Default</option>
@ -280,6 +304,7 @@
<div class="control-group">
<label class="control-label">Test</label>
<div class="controls">
<input type="button" value="Test" class="btn btn-inverse"/>
<span class="help-inline">

@ -3,6 +3,7 @@
<div class="control-group">
<label class="control-label">Backlog Searching</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="enableBacklogSearching"/>
@ -17,6 +18,7 @@
<div class="control-group">
<label class="control-label">Ignore Deleted Episodes</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="autoIgnorePreviouslyDownloadedEpisodes"/>
@ -29,6 +31,7 @@
<div class="control-group">
<label class="control-label">Nzb Restrictions</label>
<div class="controls">
<textarea rows="3" name="nzbRestrictions" class="nzb-restrictions"></textarea>
<span class="help-inline">

@ -3,6 +3,7 @@
<div class="control-group">
<label class="control-label">Use Scene Name</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="sortingUseSceneName"/>
@ -15,6 +16,7 @@
<div class="control-group">
<label class="control-label">Series Name</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="sortingIncludeSeriesName"/>
@ -27,6 +29,7 @@
<div class="control-group">
<label class="control-label">Episode Name</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="sortingIncludeEpisodeTitle"/>
@ -39,6 +42,7 @@
<div class="control-group">
<label class="control-label">Replace Spaces</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="sortingReplaceSpaces"/>
@ -51,6 +55,7 @@
<div class="control-group">
<label class="control-label">Append Quality</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="sortingAppendQuality"/>
@ -64,6 +69,7 @@
<div class="control-group">
<label class="control-label">Use Scene Folders</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="useSeasonFolder"/>
@ -77,6 +83,7 @@
<div class="control-group">
<label class="control-label">Season Folder Format</label>
<div class="controls">
<input type="text" placeholder="Season %s" name="sortingSeasonFolderFormat"/>
<span class="help-inline">
@ -87,6 +94,7 @@
<div class="control-group">
<label class="control-label">Separator Style</label>
<div class="controls">
<select class="inputClass x-backlog-setting" name="sortingSeparatorStyle">
<option value="0">Dash</option>
@ -101,6 +109,7 @@
<div class="control-group">
<label class="control-label">Numbering Style</label>
<div class="controls">
<select class="inputClass x-backlog-setting" name="sortingNumberStyle">
<option value="0">1x05</option>
@ -116,6 +125,7 @@
<div class="control-group">
<label class="control-label">Multi-Episode Style</label>
<div class="controls">
<select class="inputClass x-backlog-setting" name="sortingMultiEpisodeStyle">
<option value="0">Extend</option>
@ -135,6 +145,7 @@
<div class="control-group">
<label class="control-label">XBMC</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="metadataXbmcEnabled"/>
@ -147,6 +158,7 @@
<div class="control-group">
<label class="control-label">Use Banners</label>
<div class="controls">
<div class="switch">
<input type="checkbox" name="metadataUseBanners"/>

@ -7,6 +7,7 @@
<div class="control-group">
<label class="control-label">Name</label>
<div class="controls">
<input type="text" name="name">
<span class="help-inline">
@ -17,6 +18,7 @@
<div class="control-group">
<label class="control-label">Cutoff</label>
<div class="controls">
<select class="x-cutoff" name="cutoff">
@ -35,6 +37,7 @@
{{#each qualities}}
<div class="control-group">
<label class="control-label">{{name}}</label>
<div class="controls">
<div class="switch" data-on-label="Yes" data-off-label="No">
<input type="checkbox" name="allowed"/>
@ -44,7 +47,6 @@
{{/each}}
</div>
</div>
<div class="modal-footer">

@ -13,8 +13,7 @@ define(['app', 'Settings/Quality/Profile/QualityProfileView'], function (app) {
},
onCompositeCollectionRendered: function()
{
onCompositeCollectionRendered: function () {
}
});

@ -1,6 +1,6 @@

<div class="control-group">
<div class="control-group">
<label class="control-label">Default Quality Profile</label>
<div class="controls">
<select class="x-quality-profile" name="qualityProfileId">
{{#each qualityProfiles.models}}

@ -14,8 +14,7 @@ define(['app', 'Settings/Quality/Size/QualitySizeView'], function (app) {
},
onCompositeCollectionRendered: function()
{
onCompositeCollectionRendered: function () {
}
});

@ -81,8 +81,7 @@ define(['app', 'Upcoming/UpcomingItemView'], function (app) {
//if (date.isBefore(Date.create().addDays(7))) return date.format('{Weekday}');
},
onCompositeCollectionRendered: function()
{
onCompositeCollectionRendered: function () {
//Might not need this :D
}
});

Loading…
Cancel
Save