mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
(merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@59969 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5000d0a227
commit
4b5ab8a997
@ -303,12 +303,12 @@ class MemberTableField extends ComplexTableField {
|
||||
}
|
||||
$fields->push(new HiddenField('ctf[ID]', null, $this->group->ID));
|
||||
|
||||
return new TabularStyle(new Form($this->controller,'AddRecordForm',
|
||||
return new TabularStyle(new NestedForm(new Form($this, 'AddRecordForm',
|
||||
$fields,
|
||||
new FieldSet(
|
||||
new FormAction('addtogroup', _t('MemberTableField.ADD','Add'))
|
||||
)
|
||||
));
|
||||
)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -23,5 +23,33 @@ body.ModelAdmin #AddForm_holder {
|
||||
|
||||
body.ModelAdmin #SearchForm_holder {
|
||||
overflow: auto;
|
||||
height: 300px;
|
||||
margin-bottom:1em;
|
||||
}
|
||||
|
||||
body.ModelAdmin #ResultTable_holder {
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
body.ModelAdmin #ResultTable_holder table {
|
||||
margin:6px;
|
||||
padding:0;
|
||||
border-spacing:0 2px;
|
||||
width:230px;
|
||||
}
|
||||
|
||||
body.ModelAdmin #ResultTable_holder table td {
|
||||
font-size:11px;
|
||||
font-weight:bold;
|
||||
background-color:#fff;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
body.ModelAdmin #ResultTable_holder table td.over {
|
||||
background-color:#bbb;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
body.ModelAdmin #ResultTable_holder table td.active {
|
||||
background-color:#555;
|
||||
color:#fff;
|
||||
}
|
Loading…
Reference in New Issue
Block a user