| 1 |
<templates id="template" xml:space="preserve"> |
| 2 |
<t t-name="html_editor.MediaDialog"> |
| 3 |
<Dialog contentClass="contentClass" |
| 4 |
size="size" |
| 5 |
title="title" |
| 6 |
modalRef="modalRef"> |
| 7 |
<Notebook pages="notebookPages" onPageUpdate.bind="onTabChange" defaultPage="state.activeTab"/> |
| 8 |
<t t-set-slot="footer"> |
| 9 |
<button class="btn btn-primary" t-on-click="() => this.save()" t-ref="add-button" data-hotkey="q">Add</button> |
| 10 |
<button class="btn btn-secondary" t-on-click="() => this.props.close()" data-hotkey="x">Discard</button> |
| 11 |
</t> |
| 12 |
</Dialog> |
| 13 |
</t> |
| 14 |
</templates> |