summaryrefslogtreecommitdiff
path: root/addons/pos_hr/static/src/xml/HeaderLockButton.xml
blob: d24a9f749ef35f44e9f0223fc790763d2d9c9937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>