You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
720 B

<?xml version="1.0" encoding="UTF-8"?>
<!-- Template of the timer widget -->
<templates id="template" xml:space="preserve">
<t t-name="TaskTimerTemplate" owl="1">
<span t-if="props.readonly" t-esc="durationFormatted" class="disable"/>
<input t-else="" t-att-id="props.id" t-ref="numpadDecimal"
t-att-placeholder="props.placeholder" inputmode="numeric"
class="o_input timer" readonly="1"/>
<span style="color: black;">Timer: </span>
<label class="switch">
<input type="checkbox" t-on-click="() => this.toggleFunction()"
t-ref="toggleButton"/>
<span class="slider round"/>
</label>
</t>
</templates>