[IMP] web: remove unused legacy templates
task-3439226 Part-of: odoo/odoo#133289
This commit is contained in:
@@ -1,21 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<!-- Owl Templates -->
|
||||
|
||||
<t t-name="web.ViewSwitcherButton">
|
||||
<t t-set="buttonLabel">View %s</t>
|
||||
<button type="button"
|
||||
t-att-accesskey="view.accessKey"
|
||||
t-attf-class="btn btn-light o_switch_view o_{{ view.type }} {{ view.icon }}"
|
||||
t-att-class="{ active: env.view.type === view.type }"
|
||||
t-att-aria-label="sprintf(buttonLabel.toString(), view.type)"
|
||||
t-att-data-tooltip="view.name"
|
||||
tabindex="-1"
|
||||
t-on-click="() => this.trigger('switch-view', { view_type: view.type })"
|
||||
/>
|
||||
</t>
|
||||
|
||||
<!-- Legacy Templates -->
|
||||
|
||||
<t t-name="FormButton.tooltip">
|
||||
@@ -27,28 +12,4 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="web.datepicker">
|
||||
<t t-set="placeholder" t-value="widget.getParent().node and widget.getParent().node.attrs.placeholder"/>
|
||||
<t t-set="datepickerID" t-value="uniqueId('datepicker')"/>
|
||||
<div class="o_datepicker" aria-atomic="true" t-att-id="datepickerID" data-target-input="nearest">
|
||||
<input type="text"
|
||||
class="o_datepicker_input o_input datetimepicker-input"
|
||||
t-att-name="widget.name"
|
||||
t-att-placeholder="placeholder"
|
||||
t-attf-data-target="##{datepickerID}"
|
||||
autocomplete="off"/>
|
||||
<span class="o_datepicker_button"/>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<t t-name="Throbber">
|
||||
<div>
|
||||
<div class="oe_blockui_spin" style="height: 50px">
|
||||
<img src="/web/static/img/spin.png" style="animation: fa-spin 1s infinite steps(12);" alt="Loading..."/>
|
||||
</div>
|
||||
<br />
|
||||
<div class="oe_throbber_message" style="color:white"></div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
|
||||
@@ -23,8 +23,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
<div t-name="web.LegacyWarningDialog" class="o_dialog_warning" role="alert">
|
||||
<p t-esc="widget.message" style="white-space: pre-wrap;"/>
|
||||
</div>
|
||||
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user