2014-11-29 14:39:37 -05:00
|
|
|
extends /templates/core/modal-base
|
2014-08-11 16:24:08 -04:00
|
|
|
|
|
|
|
block modal-header-content
|
2015-01-16 16:08:32 -05:00
|
|
|
h1(data-i18n="editor.add_components") Add Components
|
2014-08-11 16:24:08 -04:00
|
|
|
|
|
|
|
block modal-body-content
|
|
|
|
form
|
|
|
|
ul.list-group
|
|
|
|
for system in systems
|
|
|
|
li.list-group-item
|
|
|
|
div.item-title(data-toggle="collapse", data-target="##{system}").collapsed
|
2015-04-23 15:58:57 -04:00
|
|
|
span.glyphicon.glyphicon-chevron-down.text-muted.spr
|
|
|
|
span.glyphicon.glyphicon-chevron-up.text-muted.spr
|
|
|
|
a= system
|
2014-08-11 16:24:08 -04:00
|
|
|
span.spl.text-muted= nameLists[system]
|
|
|
|
.collapse-panel.collapse(id=system)
|
|
|
|
for component in components[system]
|
|
|
|
.checkbox
|
|
|
|
label
|
|
|
|
input(type='checkbox', value=component.id)
|
|
|
|
span.spr #{component.get('name')}:
|
|
|
|
span.text-muted= component.get('description')
|