client side code webstorm code cleanup.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -22,22 +22,21 @@ define(['app', 'Quality/QualityProfileCollection', 'Series/Index/SeriesItemView'
table: '.x-series-table' table: '.x-series-table'
}, },
onItemRemoved: function() onItemRemoved: function () {
{
this.ui.table.trigger('update'); this.ui.table.trigger('update');
}, },
onCompositeCollectionRendered: function() onCompositeCollectionRendered: function () {
{
this.ui.table.trigger('update'); 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({ this.tableSorter = this.ui.table.tablesorter({
textExtraction: function (node) { textExtraction: function (node) {
return node.innerHTML; return node.innerHTML;
}, },
sortList: [[1,0]], sortList : [
[1, 0]
],
headers : { headers : {
0: { 0: {
sorter: 'title' sorter: 'title'
@ -63,8 +62,7 @@ define(['app', 'Quality/QualityProfileCollection', 'Series/Index/SeriesItemView'
this.applySortIcons(); this.applySortIcons();
}); });
} }
else else {
{
this.ui.table.trigger('update'); 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 () { $(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">'); $(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">'); $(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">'); $(this).children('.tablesorter-header-inner').append('<i class="icon-sort pull-right">');
}
}); });
} }
}); });

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

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

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

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

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

@ -7,6 +7,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label">Name</label> <label class="control-label">Name</label>
<div class="controls"> <div class="controls">
<input type="text" name="name"> <input type="text" name="name">
<span class="help-inline"> <span class="help-inline">
@ -17,6 +18,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label">Cutoff</label> <label class="control-label">Cutoff</label>
<div class="controls"> <div class="controls">
<select class="x-cutoff" name="cutoff"> <select class="x-cutoff" name="cutoff">
@ -35,6 +37,7 @@
{{#each qualities}} {{#each qualities}}
<div class="control-group"> <div class="control-group">
<label class="control-label">{{name}}</label> <label class="control-label">{{name}}</label>
<div class="controls"> <div class="controls">
<div class="switch" data-on-label="Yes" data-off-label="No"> <div class="switch" data-on-label="Yes" data-off-label="No">
<input type="checkbox" name="allowed"/> <input type="checkbox" name="allowed"/>
@ -44,7 +47,6 @@
{{/each}} {{/each}}
</div> </div>
</div> </div>
<div class="modal-footer"> <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> <label class="control-label">Default Quality Profile</label>
<div class="controls"> <div class="controls">
<select class="x-quality-profile" name="qualityProfileId"> <select class="x-quality-profile" name="qualityProfileId">
{{#each qualityProfiles.models}} {{#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}'); //if (date.isBefore(Date.create().addDays(7))) return date.format('{Weekday}');
}, },
onCompositeCollectionRendered: function() onCompositeCollectionRendered: function () {
{
//Might not need this :D //Might not need this :D
} }
}); });

Loading…
Cancel
Save