Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/sidebar/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ div
div.scout-logo
div(data-hook='collection-filter-subview')
div(data-hook='collection-list-subview')
div(data-hook='sidebar-control-subview')
13 changes: 0 additions & 13 deletions src/sidebar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ var _ = require('lodash');
var mousetrap = require('mousetrap');
var CollectionFilterView = require('./collection-filter');
var CollectionListView = require('./collection-list');
var SidebarControlsView = require('./sidebar-controls');
var app = require('ampersand-app');

function fast_filter_collection(collection, pattern) {
Expand Down Expand Up @@ -60,22 +59,10 @@ var SidebarView = View.extend({
});
return view;
}
},
sidebar_control: {
hook: 'sidebar-control-subview',
prepareView: function(el) {
return new SidebarControlsView({
el: el
});
}
}
},
filterCollections: function(pattern) {
_.defer(fast_filter_collection, this.collection, pattern);
},
filterFields: function(pattern) {
var collection = app.schema.fields;
_.defer(fast_filter_collection, collection, pattern);
}
});

Expand Down
4 changes: 0 additions & 4 deletions src/sidebar/sidebar-controls.jade

This file was deleted.

9 changes: 0 additions & 9 deletions src/sidebar/sidebar-controls.js

This file was deleted.

12 changes: 1 addition & 11 deletions styles/sidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
line-height: 24px;
position: absolute;
top: 128px;
bottom: 60px;
bottom: 0px;
overflow-y: auto;
width: 100%;
z-index: -1;
Expand Down Expand Up @@ -111,16 +111,6 @@
}
}
}
.sidebar-controls {
position: absolute;
width: @sidebar-width;
bottom: 0;
height: 60px;

.list-filter {
box-shadow: 0 -2px 0 rgba(0,0,0,0.2);
}
}
}

.sidebar {
Expand Down