| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<templates id="template" xml:space="preserve"> |
| 3 |
<t t-name="point_of_sale.LoginScreen"> |
| 4 |
<div class="login-overlay o_attendance_background fixed-top w-100 h-100 p-4 d-flex flex-column"> |
| 5 |
<div class="screen-login-header d-flex justify-content-between"> |
| 6 |
<div t-if="!ui.isSmall" class="screen-login-timer d-flex align-items-center gap-2 bg-transparent"> |
| 7 |
<div class="timer-hours fs-1" t-esc="time.hours"> </div> |
| 8 |
<div class="timer-date-container d-flex flex-column smaller"> |
| 9 |
<div class="timer-day" t-esc="time.day"> </div> |
| 10 |
<div class="timer-date" t-esc="time.date"> </div> |
| 11 |
</div> |
| 12 |
</div> |
| 13 |
<div t-attf-class="screen-login-logo {{ ui.isSmall ? 'mx-auto' : 'ms-auto'}}"> |
| 14 |
<img t-attf-src="/web/image?model=res.company&id={{pos.company.id}}&field=logo" alt="Logo"/> |
| 15 |
</div> |
| 16 |
</div> |
| 17 |
<div class="screen-login flex-grow-1 d-flex flex-column"> |
| 18 |
<div class="login-body d-flex flex-column flex-md-row gap-3 m-auto"> |
| 19 |
<button class="open-register-btn btn btn-light btn-lg d-flex flex-column align-items-center flex-grow-1 flex-basis-100 gap-2 p-5 rounded-4 lh-lg" t-on-click="() => this.openRegister()"> |
| 20 |
<i class="fa fa-shopping-basket fa-3x" aria-hidden="true"></i> |
| 21 |
<span class="d-flex flex-grow-1 align-items-center">Open Register</span> |
| 22 |
</button> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
<div class="w-100 d-flex justify-content-center"> |
| 26 |
<button class="select-logout btn btn-dark btn-lg" t-on-click="() => this.clickBack()"> |
| 27 |
<span class="d-flex flex-grow-1 align-items-center" t-esc="backBtnName"/> |
| 28 |
</button> |
| 29 |
</div> |
| 30 |
</div> |
| 31 |
</t> |
| 32 |
</templates> |