diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/pos_hr/static/src/xml/HeaderLockButton.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/pos_hr/static/src/xml/HeaderLockButton.xml')
| -rw-r--r-- | addons/pos_hr/static/src/xml/HeaderLockButton.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/pos_hr/static/src/xml/HeaderLockButton.xml b/addons/pos_hr/static/src/xml/HeaderLockButton.xml new file mode 100644 index 00000000..d24a9f74 --- /dev/null +++ b/addons/pos_hr/static/src/xml/HeaderLockButton.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<templates id="template" xml:space="preserve"> + + <t t-name="HeaderLockButton" owl="1"> + <div class="header-button lock-button" t-on-mouseover="onMouseOver(true)" + t-on-click="showLoginScreen" t-on-mouseout="onMouseOver(false)"> + <span class="lock-button"> + <i class="fa" + t-att-class="{ 'fa-unlock': state.isUnlockIcon, 'fa-lock': !state.isUnlockIcon }" + role="img" t-att-aria-label="state.title" t-att-title="state.title"></i> + </span> + </div> + </t> + +</templates> |
