Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
6a685425
Commit
6a685425
authored
Mar 15, 2017
by
LE GAC Renaud
Browse files
Redesign the HistoryFilter in order to use colapsible fieldset instead of accordion layout.
parent
d32fded1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
16 deletions
+24
-16
static/plugin_event/src/grid/HistoryFilter.js
static/plugin_event/src/grid/HistoryFilter.js
+24
-16
No files found.
static/plugin_event/src/grid/HistoryFilter.js
View file @
6a685425
...
...
@@ -35,14 +35,11 @@ Ext.define('Event.grid.HistoryFilter', {
people
=
[];
// the arcordeon layout
me
.
layout
=
{
multi
:
true
,
titleCollapse
:
true
,
type
:
'
accordion
'
};
me
.
layout
=
"
anchor
"
;
me
.
defaults
=
{
frame
:
true
frame
:
true
,
layout
:
"
form
"
};
// collect fields for each sub-panel
...
...
@@ -86,31 +83,42 @@ Ext.define('Event.grid.HistoryFilter', {
// create the new item structure by adding sub-panel
me
.
items
=
[{
title
:
me
.
textMetadata
,
collapsed
:
false
,
items
:
metadata
title
:
me
.
textMetadata
,
collapsible
:
true
,
collapsed
:
false
,
items
:
metadata
,
xtype
:
"
fieldset
"
},
{
title
:
me
.
textPeople
,
collapsible
:
true
,
collapsed
:
true
,
items
:
people
items
:
people
,
xtype
:
"
fieldset
"
},
{
title
:
me
.
textObject
,
collapsible
:
true
,
collapsed
:
true
,
items
:
object
items
:
object
,
xtype
:
"
fieldset
"
},
{
title
:
me
.
textEventData
,
collapsible
:
true
,
collapsed
:
true
,
layout
:
'
fit
'
,
items
:
eventdata
items
:
eventdata
,
layout
:
'
anchor
'
,
xtype
:
"
fieldset
"
},
{
title
:
me
.
textPeriod
,
collapsible
:
true
,
collapsed
:
true
,
items
:
period
items
:
period
,
xtype
:
"
fieldset
"
},
{
title
:
me
.
textFunding
,
collapsible
:
true
,
collapsed
:
true
,
layout
:
'
fit
'
,
items
:
funding
items
:
funding
,
xtype
:
"
fieldset
"
}];
// initialise the base class
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment