mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
dcb9e53ed0
Added support for specifying a SearchClassSelector() method on ModelAdmin, which returns 'tabs' or 'dropdown', to enable a better UI for ModelAdmins that manage a large number of different classes. Updated ModelAdmin's javascript to provide more status indicator (loading icons, success/failure messages), using HTTP status codes and custom status text. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62334 467b73ca-7a2a-4603-9d3b-597d59a354a9
103 lines
1.7 KiB
CSS
103 lines
1.7 KiB
CSS
.clear{
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
|
|
body.ModelAdmin #left {
|
|
width: 260px;
|
|
}
|
|
|
|
body.ModelAdmin #Form_AddForm fieldset {
|
|
float: left;
|
|
}
|
|
|
|
body.ModelAdmin #Form_AddForm #ClassName {
|
|
margin: 0;
|
|
padding: auto;
|
|
width: auto;
|
|
}
|
|
|
|
body.ModelAdmin #Form_AddForm #ClassName label {
|
|
display: none;
|
|
}
|
|
|
|
body.ModelAdmin #SearchForm_holder,
|
|
body.ModelAdmin #AddForm_holder {
|
|
padding: 1em;
|
|
}
|
|
|
|
body.ModelAdmin #SearchForm_holder {
|
|
overflow: auto;
|
|
margin-bottom:1em;
|
|
}
|
|
|
|
body.ModelAdmin #ModelClassSelector {
|
|
border-bottom: 1px #AAA solid;
|
|
padding-bottom: 0.5em;
|
|
}
|
|
|
|
|
|
body.ModelAdmin #SearchForm_holder div.ResultAssemblyBlock{
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
body.ModelAdmin #SearchForm_holder form div.field.hidden{
|
|
display: none;
|
|
}
|
|
|
|
body.ModelAdmin #SearchForm_holder form div#ResultAssembly{
|
|
margin: 0;
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
body.ModelAdmin #SearchForm_holder form div#ResultAssembly label{
|
|
width: auto;
|
|
clear: both;
|
|
margin: 0px;
|
|
}
|
|
|
|
body.ModelAdmin #SearchForm_holder form div#ResultAssembly ul.optionset li{
|
|
float: left;
|
|
width: 45%;
|
|
}
|
|
|
|
body.ModelAdmin #ResultTable_holder {
|
|
overflow:auto;
|
|
}
|
|
|
|
body.ModelAdmin #right{
|
|
overflow:auto;
|
|
}
|
|
|
|
body.ModelAdmin #right table.results {
|
|
margin:6px;
|
|
padding:0;
|
|
border-spacing:0 2px;
|
|
}
|
|
|
|
body.ModelAdmin #right table.results td {
|
|
font-size:12px;
|
|
font-weight:bold;
|
|
background-color:#fff;
|
|
padding:2px;
|
|
}
|
|
|
|
body.ModelAdmin #right table.results td.over {
|
|
background-color:#bbb;
|
|
cursor:pointer;
|
|
}
|
|
|
|
body.ModelAdmin #right table.results td.active {
|
|
background-color:#555;
|
|
color:#fff;
|
|
}
|
|
|
|
body.ModelAdmin #right .tab {
|
|
height: 450px; /* @todo add dynamic resizing */
|
|
}
|
|
|
|
body.ModelAdmin #Form_ImportForm_holder dt {
|
|
float: left;
|
|
width: 10em;
|
|
margin-right: 2em;
|
|
} |