| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<templates xml:space="preserve"> |
| 3 |
|
| 4 |
<t t-name="web.CalendarQuickCreate"> |
| 5 |
<Dialog size="'sm'" title="dialogTitle"> |
| 6 |
<div class="o-calendar-quick-create mb-3"> |
| 7 |
<label for="title" class="col-form-label o_form_label"> |
| 8 |
Name: |
| 9 |
</label> |
| 10 |
<input |
| 11 |
type="text" |
| 12 |
class="o_input o_required_modifier o-calendar-quick-create--input" |
| 13 |
name="title" |
| 14 |
t-ref="title" |
| 15 |
t-on-keyup="onInputKeyup" |
| 16 |
t-att-value="props.title" |
| 17 |
/> |
| 18 |
</div> |
| 19 |
<t t-set-slot="footer"> |
| 20 |
<button class="btn btn-primary o-calendar-quick-create--create-btn" t-on-click="onCreateBtnClick"> |
| 21 |
Create |
| 22 |
</button> |
| 23 |
<button class="btn btn-secondary o-calendar-quick-create--edit-btn" t-on-click="onEditBtnClick"> |
| 24 |
Edit |
| 25 |
</button> |
| 26 |
<button class="btn btn-secondary o-calendar-quick-create--cancel-btn" t-on-click="onCancelBtnClick"> |
| 27 |
Cancel |
| 28 |
</button> |
| 29 |
</t> |
| 30 |
</Dialog> |
| 31 |
</t> |
| 32 |
|
| 33 |
</templates> |