parent
57ccc51393
commit
96810c489c
@ -1,3 +1,7 @@
|
||||
<?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/clickable.less";
|
||||
|
||||
.result-list {
|
||||
font-size : 14px;
|
||||
text-align : left;
|
||||
padding-bottom : 30px;
|
||||
#add-series-screen {
|
||||
|
||||
.folder-path, .folder-free-space {
|
||||
.clickable;
|
||||
.operations-row {
|
||||
margin-left : 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.existing-root-folder-view {
|
||||
h1 {
|
||||
padding : 10px 0 20px 0;
|
||||
}
|
||||
}
|
||||
.existing-series {
|
||||
|
||||
.add-series-import-btn {
|
||||
margin : 0px 40px;
|
||||
width : 1080px;
|
||||
}
|
||||
@highLight : rgb(134, 129, 130);
|
||||
|
||||
.add-series-search {
|
||||
margin-top : 20px;
|
||||
margin-bottom : 20px;
|
||||
padding-left : 20px;
|
||||
.card();
|
||||
margin : 20px 0px;
|
||||
|
||||
*[class*='icon-'] {
|
||||
font-size : 28px;
|
||||
height : 30px;
|
||||
width : 40px;
|
||||
padding-top : 14px;
|
||||
}
|
||||
input {
|
||||
height : 50px;
|
||||
}
|
||||
.add-series-search {
|
||||
width : 970px;
|
||||
}
|
||||
|
||||
}
|
||||
.unmapped-folder-path {
|
||||
padding: 20px;
|
||||
margin-left : 0px;
|
||||
font-weight : 100;
|
||||
font-size : 25px;
|
||||
text-align : center;
|
||||
background : @highLight;
|
||||
}
|
||||
|
||||
.folder-name-matches {
|
||||
padding-left : 20px;
|
||||
padding-top : 10px;
|
||||
}
|
||||
.new-series-loadmore {
|
||||
.clickable;
|
||||
font-size : 30px;
|
||||
font-weight : 300;
|
||||
padding-top : 10px;
|
||||
padding-bottom : 10px;
|
||||
background : @highLight;
|
||||
}
|
||||
}
|
||||
|
||||
.add-series-poster {
|
||||
min-width : 138px;
|
||||
min-height : 203px;
|
||||
max-width : 138px;
|
||||
max-height : 203px;
|
||||
}
|
||||
.new-series {
|
||||
.search-item {
|
||||
.card();
|
||||
margin : 40px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.unmapped-folder-view {
|
||||
.card;
|
||||
margin-top : 20px;
|
||||
padding : 20px;
|
||||
.folder-header {
|
||||
font-weight : 300;
|
||||
select {
|
||||
margin-bottom : 0;
|
||||
font-size : 16px;
|
||||
.add-series-search {
|
||||
margin-top : 20px;
|
||||
margin-bottom : 20px;
|
||||
padding-left : 20px;
|
||||
|
||||
*[class*='icon-'] {
|
||||
font-size : 28px;
|
||||
height : 30px;
|
||||
width : 40px;
|
||||
padding-top : 14px;
|
||||
}
|
||||
input {
|
||||
margin-bottom : 0;
|
||||
height : 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-item {
|
||||
.search-item {
|
||||
|
||||
padding-bottom : 20px;
|
||||
a {
|
||||
color : #343434;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration : none;
|
||||
}
|
||||
select {
|
||||
font-size : 16px;
|
||||
}
|
||||
}
|
||||
.new-series-overview {
|
||||
text-overflow : ellipsis;
|
||||
white-space : pre-line;
|
||||
overflow : hidden;
|
||||
height : 125px;
|
||||
}
|
||||
|
||||
.search-item-new {
|
||||
.card;
|
||||
}
|
||||
.new-series-poster {
|
||||
min-width : 138px;
|
||||
min-height : 203px;
|
||||
max-width : 138px;
|
||||
max-height : 203px;
|
||||
margin : 10px;
|
||||
}
|
||||
|
||||
.new-series-overview {
|
||||
text-overflow : ellipsis;
|
||||
white-space : pre-line;
|
||||
overflow : hidden;
|
||||
height : 125px;
|
||||
}
|
||||
padding-bottom : 20px;
|
||||
a {
|
||||
color : #343434;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration : none;
|
||||
}
|
||||
select {
|
||||
font-size : 16px;
|
||||
}
|
||||
|
||||
.new-series-add {
|
||||
margin-left : 20px;
|
||||
}
|
||||
.add-series {
|
||||
margin-left : 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.loadmore {
|
||||
.clickable;
|
||||
font-size : 30px;
|
||||
font-weight : 300;
|
||||
padding-top : 10px;
|
||||
padding-bottom : 10px;
|
||||
}
|
||||
|
@ -1,18 +1,11 @@
|
||||
'use strict';
|
||||
define({
|
||||
register: function (Handlebars) {
|
||||
Handlebars.registerHelper("debug", function (optionalValue) {
|
||||
|
||||
define(
|
||||
[
|
||||
'handlebars'
|
||||
], function (Handlebars) {
|
||||
Handlebars.registerHelper("debug", function () {
|
||||
console.group('Handlebar context');
|
||||
|
||||
console.log(this);
|
||||
if (optionalValue) {
|
||||
|
||||
console.group('optional values');
|
||||
console.log('optinal values');
|
||||
console.groupEnd();
|
||||
}
|
||||
console.groupEnd();
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in new issue