Files
avusd/lib/modules/two-column-1-2-widgets/views/widget.html

51 lines
2.5 KiB
HTML

<div class="container">
<div class="row">
<div class="col-lg-4">
{{ apos.area(data.widget, "areaLeft", {
widgets: {
'apostrophe-images': {size: 'one-half'},
'apostrophe-rich-text': {
toolbar: ['Styles', 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', 'Split', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'Link', 'Unlink', 'Anchor', 'Table'],
styles: [
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
{name: 'Heading 2', element: 'h2', attributes: {class: "h2"} },
{name: 'Heading 3', element: 'h3', attributes: {class: "h3"} },
{name: 'Heading 4', element: 'h4', attributes: {class: "h4"} },
{name: 'Date', element: 'div', attributes: {class: "date"} },
{name: 'Highlighted', element: 'div', attributes: {class: "highlighted"} },
{name: 'Alert', element: 'div', attributes: {class: "alert"} },
{name: 'Notice', element: 'div', attributes: {class: "notice"} },
{name: 'Update', element: 'div', attributes: {class: "update"} }
]
},
'apostrophe-files': {}
}
}) }}
</div>
<div class="col-lg-8">
{{ apos.area(data.widget, "areaRight", {
widgets: {
'apostrophe-images': {size: 'original'},
'apostrophe-rich-text': {
toolbar: ['Styles', 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', 'Split', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'Link', 'Unlink', 'Anchor', 'Table'],
styles: [
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
{name: 'Heading 2', element: 'h2', attributes: {class: "h2"} },
{name: 'Heading 3', element: 'h3', attributes: {class: "h3"} },
{name: 'Heading 4', element: 'h4', attributes: {class: "h4"} },
{name: 'Date', element: 'div', attributes: {class: "date"} },
{name: 'Highlighted', element: 'div', attributes: {class: "highlighted"} },
{name: 'Alert', element: 'div', attributes: {class: "alert"} },
{name: 'Notice', element: 'div', attributes: {class: "notice"} },
{name: 'Update', element: 'div', attributes: {class: "update"} }
]
},
'apostrophe-files': {}
}
}) }}
</div>
</div>
</div>