Overhaul newgrid template header a bit, to improve styles
This commit is contained in:
parent
130b6dda76
commit
6d2af6d698
5 changed files with 69 additions and 31 deletions
|
@ -6,16 +6,38 @@
|
|||
********************************************************************************/
|
||||
|
||||
|
||||
/******************************
|
||||
* header table
|
||||
******************************/
|
||||
|
||||
.newgrid-wrapper .grid-header td.filters {
|
||||
vertical-align: bottom;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.newgrid-wrapper .grid-header td.menu {
|
||||
padding: 0.5em;
|
||||
vertical-align: top;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.newgrid-wrapper .grid-header td.tools {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: bottom;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/******************************
|
||||
* filters
|
||||
******************************/
|
||||
|
||||
.newgrid-wrapper .newfilters {
|
||||
margin-right: 15em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.newgrid-wrapper .newfilters fieldset {
|
||||
margin: -8px 0 5px 0;
|
||||
margin: 0;
|
||||
padding: 1px 5px 5px 5px;
|
||||
width: 80%;
|
||||
}
|
||||
|
@ -38,11 +60,11 @@
|
|||
line-height: 1.4em;
|
||||
}
|
||||
|
||||
.newgrid-wrapper .newfilters .ui-button-text-icon-primary .ui-button-text {
|
||||
.newgrid-wrapper .ui-button-text-icon-primary .ui-button-text {
|
||||
padding: 0.2em 1em 0.2em 2.1em;
|
||||
}
|
||||
|
||||
.newgrid-wrapper .newfilters .ui-selectmenu-button .ui-selectmenu-text {
|
||||
.newgrid-wrapper .ui-selectmenu-button .ui-selectmenu-text {
|
||||
padding: 0.2em 2.1em 0.2em 1em;
|
||||
}
|
||||
|
||||
|
@ -70,7 +92,8 @@
|
|||
}
|
||||
|
||||
.newgrid-wrapper .newfilters .buttons {
|
||||
margin: 0 0 5px 0;
|
||||
margin: 0.5em 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.newgrid-wrapper .newfilters #add-filter-button {
|
||||
|
@ -79,23 +102,13 @@
|
|||
}
|
||||
|
||||
|
||||
/******************************
|
||||
* tools
|
||||
******************************/
|
||||
|
||||
.grid-tools {
|
||||
float: right;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************
|
||||
* table
|
||||
******************************/
|
||||
|
||||
.newgrid {
|
||||
clear: both;
|
||||
margin-top: 0.3em;
|
||||
}
|
||||
|
||||
.newgrid table {
|
||||
|
|
2
tailbone/static/js/jquery.ui.tailbone.js
vendored
2
tailbone/static/js/jquery.ui.tailbone.js
vendored
|
@ -93,7 +93,7 @@
|
|||
that.filters_form.off('submit');
|
||||
that.filters_form.find('input[name="reset-to-default-filters"]').val('true');
|
||||
that.element.mask("Refreshing data...");
|
||||
that.filters_form.submit();
|
||||
that.filters_form.get(0).submit();
|
||||
});
|
||||
|
||||
// When user clicks Save Defaults button, refresh the grid as with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue