mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX Replaced hardcoded CSS in ReportAdminForm.ss, using $FieldHolder instead of $Field for search fields to gain better control on how they're laid out
This commit is contained in:
parent
a93994f59e
commit
f8b2363075
@ -0,0 +1,59 @@
|
||||
#ReportSelector_holder {
|
||||
background-color: #EEE;
|
||||
border-bottom: 1px #CCC solid;
|
||||
margin: 0;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#right iframe.AWStatsReport {
|
||||
width: 98%;
|
||||
height: 85%;
|
||||
}
|
||||
|
||||
.ReportAdmin h4 {
|
||||
border-bottom: 1px #AAA solid;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.ReportAdmin .right form h4 {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.ReportAdmin .filters {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.ReportAdmin .filters .field {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ReportAdmin .filters > .field {
|
||||
float: left;
|
||||
clear: none;
|
||||
margin-right: 1em;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
.ReportAdmin .right form .field label.left {
|
||||
width: auto;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.ReportAdmin .right form .field .middleColumn {
|
||||
width: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ReportAdmin .filters .field .middleColumn {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.ReportAdmin .filters .field.checkbox {
|
||||
margin-top: 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ReportAdmin .filters .field.datetime .field.date,
|
||||
.ReportAdmin .filters .field.datetime .field.time {
|
||||
float: left;
|
||||
}
|
@ -9,22 +9,18 @@
|
||||
$FieldMap.ReportTitle.FieldHolder
|
||||
$FieldMap.ReportDescription.FieldHolder
|
||||
|
||||
<!-- Filters -->
|
||||
|
||||
<% if FieldMap.Filters.Children %>
|
||||
<div style="border-bottom: 1px #AAA solid"><b><% _t('ReportAdminForm.FILTERBY', 'Filter by') %></b></div>
|
||||
<h4><% _t('ReportAdminForm.FILTERBY', 'Filter by') %></h4>
|
||||
|
||||
<div class="filters">
|
||||
<% control FieldMap.Filters %>
|
||||
<% control Children %>
|
||||
<div style="float: left; margin: 5px 10px 10px 0; height: 35px">
|
||||
<label for="$ID" style="font-weight: bold; display: block">$Title</label>
|
||||
$Field
|
||||
$FieldHolder
|
||||
<% end_control %>
|
||||
<% end_control %>
|
||||
</div>
|
||||
<% end_control %>
|
||||
<% end_control %>
|
||||
|
||||
<div id="action_updatereport" style="float: left; margin: 1px 10px 10px 0">
|
||||
<br />
|
||||
<div id="action_updatereport">
|
||||
<% if FieldMap.action_updatereport %>
|
||||
$FieldMap.action_updatereport.Field
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user