parent
57ccc51393
commit
96810c489c
@ -1,3 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4" />
|
<project version="4">
|
||||||
|
<component name="JavaScriptLibraryMappings">
|
||||||
|
<file url="PROJECT" libraries="{backbone.backgrid.filter.js, jQuery-1.9.1}" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
@ -0,0 +1,67 @@
|
|||||||
|
<component name="libraryTable">
|
||||||
|
<library name="backbone.backgrid.filter.js" type="javaScript">
|
||||||
|
<properties>
|
||||||
|
<sourceFilesUrls>
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/jquery.backstretch.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/lodash.underscore.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/jquery.signalR.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.modelbinder.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/fullcalendar.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.marionette.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/jquery.knob.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.mutators.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/lunr.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/bootstrap.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.debug.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.relational.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/handlebars.helpers.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/jquery.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.backgrid.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/sugar.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.shortcuts.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/handlebars.runtime.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.backgrid.paginator.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.backgrid.filter.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.deep.model.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.collectionbinder.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/underscore.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/messenger.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.marionette.viewswapper.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/backbone.pageable.js" />
|
||||||
|
<item url="file://$PROJECT_DIR$/JsLibraries/require.js" />
|
||||||
|
</sourceFilesUrls>
|
||||||
|
</properties>
|
||||||
|
<CLASSES>
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/jquery.backstretch.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/lodash.underscore.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/jquery.signalR.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.modelbinder.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/fullcalendar.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.marionette.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/jquery.knob.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.mutators.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/lunr.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/bootstrap.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.debug.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.relational.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/jquery.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/handlebars.helpers.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.backgrid.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/sugar.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.shortcuts.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/handlebars.runtime.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.backgrid.paginator.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.backgrid.filter.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.collectionbinder.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.deep.model.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/underscore.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/messenger.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.marionette.viewswapper.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/backbone.pageable.js" />
|
||||||
|
<root url="file://$PROJECT_DIR$/JsLibraries/require.js" />
|
||||||
|
</CLASSES>
|
||||||
|
<SOURCES />
|
||||||
|
</library>
|
||||||
|
</component>
|
@ -1,105 +1,96 @@
|
|||||||
@import "../shared/Styles/card.less";
|
@import "../shared/Styles/card.less";
|
||||||
@import "../shared/Styles/clickable.less";
|
@import "../shared/Styles/clickable.less";
|
||||||
|
|
||||||
.result-list {
|
#add-series-screen {
|
||||||
font-size : 14px;
|
|
||||||
text-align : left;
|
|
||||||
padding-bottom : 30px;
|
|
||||||
|
|
||||||
.folder-path, .folder-free-space {
|
.operations-row {
|
||||||
.clickable;
|
margin-left : 0px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.existing-root-folder-view {
|
.existing-series {
|
||||||
h1 {
|
|
||||||
padding : 10px 0 20px 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-series-import-btn {
|
@highLight : rgb(134, 129, 130);
|
||||||
margin : 0px 40px;
|
|
||||||
width : 1080px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-series-search {
|
.card();
|
||||||
margin-top : 20px;
|
margin : 20px 0px;
|
||||||
margin-bottom : 20px;
|
|
||||||
padding-left : 20px;
|
|
||||||
|
|
||||||
*[class*='icon-'] {
|
.add-series-search {
|
||||||
font-size : 28px;
|
width : 970px;
|
||||||
height : 30px;
|
}
|
||||||
width : 40px;
|
|
||||||
padding-top : 14px;
|
|
||||||
}
|
|
||||||
input {
|
|
||||||
height : 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
.unmapped-folder-path {
|
||||||
|
padding: 20px;
|
||||||
|
margin-left : 0px;
|
||||||
|
font-weight : 100;
|
||||||
|
font-size : 25px;
|
||||||
|
text-align : center;
|
||||||
|
background : @highLight;
|
||||||
|
}
|
||||||
|
|
||||||
.folder-name-matches {
|
.new-series-loadmore {
|
||||||
padding-left : 20px;
|
.clickable;
|
||||||
padding-top : 10px;
|
font-size : 30px;
|
||||||
}
|
font-weight : 300;
|
||||||
|
padding-top : 10px;
|
||||||
|
padding-bottom : 10px;
|
||||||
|
background : @highLight;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.add-series-poster {
|
.new-series {
|
||||||
min-width : 138px;
|
.search-item {
|
||||||
min-height : 203px;
|
.card();
|
||||||
max-width : 138px;
|
margin : 40px 0px;
|
||||||
max-height : 203px;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.unmapped-folder-view {
|
.add-series-search {
|
||||||
.card;
|
margin-top : 20px;
|
||||||
margin-top : 20px;
|
margin-bottom : 20px;
|
||||||
padding : 20px;
|
padding-left : 20px;
|
||||||
.folder-header {
|
|
||||||
font-weight : 300;
|
*[class*='icon-'] {
|
||||||
select {
|
font-size : 28px;
|
||||||
margin-bottom : 0;
|
height : 30px;
|
||||||
font-size : 16px;
|
width : 40px;
|
||||||
|
padding-top : 14px;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
margin-bottom : 0;
|
height : 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.search-item {
|
.search-item {
|
||||||
|
|
||||||
padding-bottom : 20px;
|
.new-series-overview {
|
||||||
a {
|
text-overflow : ellipsis;
|
||||||
color : #343434;
|
white-space : pre-line;
|
||||||
}
|
overflow : hidden;
|
||||||
a:hover {
|
height : 125px;
|
||||||
text-decoration : none;
|
}
|
||||||
}
|
|
||||||
select {
|
|
||||||
font-size : 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-item-new {
|
.new-series-poster {
|
||||||
.card;
|
min-width : 138px;
|
||||||
}
|
min-height : 203px;
|
||||||
|
max-width : 138px;
|
||||||
|
max-height : 203px;
|
||||||
|
margin : 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.new-series-overview {
|
padding-bottom : 20px;
|
||||||
text-overflow : ellipsis;
|
a {
|
||||||
white-space : pre-line;
|
color : #343434;
|
||||||
overflow : hidden;
|
}
|
||||||
height : 125px;
|
a:hover {
|
||||||
}
|
text-decoration : none;
|
||||||
|
}
|
||||||
|
select {
|
||||||
|
font-size : 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.new-series-add {
|
.add-series {
|
||||||
margin-left : 20px;
|
margin-left : 20px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.loadmore {
|
|
||||||
.clickable;
|
|
||||||
font-size : 30px;
|
|
||||||
font-weight : 300;
|
|
||||||
padding-top : 10px;
|
|
||||||
padding-bottom : 10px;
|
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
define({
|
define(
|
||||||
register: function (Handlebars) {
|
[
|
||||||
Handlebars.registerHelper("debug", function (optionalValue) {
|
'handlebars'
|
||||||
|
], function (Handlebars) {
|
||||||
|
Handlebars.registerHelper("debug", function () {
|
||||||
console.group('Handlebar context');
|
console.group('Handlebar context');
|
||||||
|
|
||||||
console.log(this);
|
console.log(this);
|
||||||
if (optionalValue) {
|
|
||||||
|
|
||||||
console.group('optional values');
|
|
||||||
console.log('optinal values');
|
|
||||||
console.groupEnd();
|
|
||||||
}
|
|
||||||
console.groupEnd();
|
console.groupEnd();
|
||||||
});
|
});
|
||||||
}
|
});
|
||||||
});
|
|
||||||
|
Loading…
Reference in new issue