Icon and toolbar cleanup/consistency.

This commit is contained in:
Dave Page
2016-04-15 13:29:57 +01:00
parent 58fcbd943a
commit 4d7d3bd5e1
9 changed files with 70 additions and 49 deletions

View File

@@ -53,36 +53,6 @@
font-size: 13px;
}
.sql-editor-btn-group {
background-color: #D2D2D2;
border: 2px solid #A9A9A9;
left: 0px;
right: 0px;
padding: 2px;
}
.sql-editor-btn-group button {
padding: 5px;
}
.sql-editor-btn-group button.dropdown-toggle {
padding-left: 5px !important;
padding-right: 5px !important;
}
.sql-editor-btn-group .dropdown-menu {
min-width: initial;
}
.sql-editor-btn-group .backgrid-filter.form-search {
position: relative;
width: 248px;
height: 30px;
float: right;
margin-top: 2px;
margin-right: 10px;
}
#output-panel .wcDocker {
top: 0px;
bottom: 0px;

View File

@@ -166,7 +166,7 @@ define(
* the backgrid inside this div.
*/
template: _.template([
'<div id="btn-toolbar" class="sql-editor-btn-group" role="toolbar" aria-label="">',
'<div id="btn-toolbar" class="pg-prop-btn-group" role="toolbar" aria-label="">',
'<div class="btn-group" role="group" aria-label="">',
'<button id="btn-save" type="button" class="btn btn-default" title="{{ _('Save') }}" disabled>',
'<i class="fa fa-floppy-o" aria-hidden="true"></i>',
@@ -468,7 +468,7 @@ define(
self.$el.find('#datagrid-paginator').append(paginator.render().el);
// Render the client side filter
self.$el.find('.sql-editor-btn-group').append(clientSideFilter.render().el);
self.$el.find('.pg-prop-btn-group').append(clientSideFilter.render().el);
// Forcefully sorting by the first column.
if (columns.length > 1) {