mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 05:23:31 -07:00
Removed some UI info from views. Added UI Config
This commit is contained in:
parent
7c1e81a70e
commit
5d7f6fb03b
16 changed files with 211 additions and 73 deletions
|
@ -4,10 +4,9 @@ define([
|
|||
|
||||
NzbDrone.AddSeries.Existing.FolderMatchResultView = Backbone.Marionette.ItemView.extend({
|
||||
template: 'AddSeries/SearchResultTemplate',
|
||||
className: 'search-item',
|
||||
|
||||
events: {
|
||||
'click .x-btn-add': 'addSeries'
|
||||
'click .x-add': 'addSeries'
|
||||
},
|
||||
|
||||
addSeries: function () {
|
||||
|
@ -49,7 +48,6 @@ define([
|
|||
|
||||
template : 'AddSeries/Existing/UnmappedFolderCompositeViewTemplate',
|
||||
itemViewContainer: '.x-folder-name-match-results',
|
||||
className : 'unmapped-folder-view',
|
||||
itemView : NzbDrone.AddSeries.Existing.FolderMatchResultView,
|
||||
|
||||
events: {
|
||||
|
@ -116,7 +114,6 @@ define([
|
|||
|
||||
template : "AddSeries/Existing/RootFolderCompositeViewTemplate",
|
||||
itemViewContainer: ".x-existing-folder-container",
|
||||
className : 'row',
|
||||
itemView : NzbDrone.AddSeries.Existing.UnmappedFolderCompositeView,
|
||||
|
||||
initialize: function () {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
<div class="result-list span12 existing-root-folder-view">
|
||||
<h1>{{path}}</h1>
|
||||
<div class="row">
|
||||
<div class="result-list span12 existing-root-folder-view">
|
||||
<h1>{{path}}</h1>
|
||||
|
||||
<div class="x-existing-folder-container"/>
|
||||
</div>
|
||||
<div class="x-existing-folder-container"/>
|
||||
</div>
|
||||
</div>
|
|
@ -1,15 +1,17 @@
|
|||
<div class="row">
|
||||
<div class="folder-header span11">
|
||||
<div class="input-prepend">
|
||||
<i class="add-on icon-search"></i>
|
||||
<input class="x-txt-search input-xlarge" type="text" value="{{folder.name}}" placeholder="{{folder.name}}">
|
||||
</div>
|
||||
<div class="unmapped-folder-view">
|
||||
<div class="row">
|
||||
<div class="folder-header span11">
|
||||
<div class="input-prepend">
|
||||
<i class="add-on icon-search"></i>
|
||||
<input class="x-txt-search input-xlarge" type="text" value="{{folder.name}}" placeholder="{{folder.name}}">
|
||||
</div>
|
||||
|
||||
<div class="btn btn-primary x-btn-search pull-right">
|
||||
<icon class="icon-search "></icon>
|
||||
<div class="btn btn-primary x-btn-search pull-right">
|
||||
<icon class="icon-search "></icon>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="x-folder-name-match-results folder-name-matches"/>
|
||||
<div class="row">
|
||||
<div class="x-folder-name-match-results folder-name-matches"/>
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue