2015-03-06 23:33:54 +00:00
|
|
|
<vn>
|
|
|
|
<vn-group>
|
2016-10-11 14:45:10 +00:00
|
|
|
<db-form id="password-form">
|
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
|
|
|
SELECT length, nAlpha, nUpper, nDigits, nPunct
|
|
|
|
FROM account.userPassword
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
</db-form>
|
2015-07-23 15:58:48 +00:00
|
|
|
<db-form id="user-form">
|
2015-11-17 10:34:33 +00:00
|
|
|
<db-model property="model" id="user-model" updatable="true">
|
|
|
|
<custom>
|
2021-03-31 10:18:25 +00:00
|
|
|
SELECT u.id, u.name, u.email, u.nickname,
|
|
|
|
u.lang, c.isToBeMailed, c.id clientFk
|
2018-05-11 09:25:10 +00:00
|
|
|
FROM account.myUser u
|
2018-01-02 13:16:41 +00:00
|
|
|
LEFT JOIN myClient c
|
|
|
|
ON u.id = c.id
|
2015-11-17 10:34:33 +00:00
|
|
|
</custom>
|
2015-03-06 23:33:54 +00:00
|
|
|
</db-model>
|
|
|
|
</db-form>
|
|
|
|
</vn-group>
|
2015-09-11 09:37:16 +00:00
|
|
|
<div id="title">
|
|
|
|
<h1><t>Configuration</t></h1>
|
|
|
|
</div>
|
2015-09-16 16:11:15 +00:00
|
|
|
<div id="actions">
|
2016-09-19 06:40:18 +00:00
|
|
|
<htk-bar-button
|
|
|
|
icon="place"
|
2015-09-16 16:11:15 +00:00
|
|
|
tip="_Addresses"
|
2022-05-30 01:30:33 +00:00
|
|
|
on-click="$.hash.setAll({form: 'account/address-list'})"/>
|
2016-10-11 14:45:10 +00:00
|
|
|
<htk-bar-button
|
2022-05-21 21:31:56 +00:00
|
|
|
icon="lock_reset"
|
2016-10-11 14:45:10 +00:00
|
|
|
tip="_Change password"
|
2022-05-24 21:11:12 +00:00
|
|
|
on-click="this.onPassChangeClick()"/>
|
2015-09-11 09:37:16 +00:00
|
|
|
</div>
|
2015-03-19 19:36:11 +00:00
|
|
|
<div id="form" class="conf">
|
2022-05-26 06:08:31 +00:00
|
|
|
<div class="form box vn-w-sm vn-pa-lg">
|
|
|
|
<h5 class="vn-mb-md">
|
|
|
|
<t>Personal information</t>
|
|
|
|
</h5>
|
2022-05-21 21:31:56 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<htk-entry
|
|
|
|
placeholder="_Username"
|
|
|
|
disabled="true"
|
|
|
|
form="user-form"
|
|
|
|
column="name"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-entry
|
|
|
|
placeholder="_Email"
|
|
|
|
form="user-form"
|
|
|
|
column="email">
|
|
|
|
</htk-entry>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-entry
|
|
|
|
placeholder="_Display name"
|
|
|
|
form="user-form"
|
|
|
|
column="nickname"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<htk-combo
|
|
|
|
placeholder="_Language"
|
|
|
|
form="user-form"
|
|
|
|
column="lang">
|
|
|
|
<db-model property="model">
|
|
|
|
<custom>
|
|
|
|
SELECT code, name FROM language WHERE isActive
|
|
|
|
</custom>
|
|
|
|
</db-model>
|
|
|
|
</htk-combo>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>
|
2018-01-02 13:16:41 +00:00
|
|
|
<htk-check form="user-form" column="isToBeMailed"/>
|
2022-05-21 21:31:56 +00:00
|
|
|
<t>Receive invoices by email</t>
|
|
|
|
</label>
|
2015-03-06 23:33:54 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-10-11 14:45:10 +00:00
|
|
|
<htk-popup
|
|
|
|
id="change-password"
|
|
|
|
modal="true">
|
2022-05-26 06:08:31 +00:00
|
|
|
<div property="child-node" class="htk-dialog vn-w-xs vn-pa-lg">
|
2022-05-21 21:31:56 +00:00
|
|
|
<div class="form">
|
2022-05-26 06:08:31 +00:00
|
|
|
<h5 class="vn-mb-md">
|
|
|
|
<t>Change password</t>
|
|
|
|
</h5>
|
2016-10-11 14:45:10 +00:00
|
|
|
<input
|
|
|
|
id="old-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_Old password"/>
|
|
|
|
<input
|
|
|
|
id="new-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_New password"/>
|
|
|
|
<input
|
|
|
|
id="repeat-password"
|
|
|
|
type="password"
|
|
|
|
placeholder="_Repeat password"/>
|
|
|
|
</div>
|
2016-10-20 08:37:08 +00:00
|
|
|
<div class="button-bar">
|
2022-05-24 21:11:12 +00:00
|
|
|
<button class="thin" on-click="this.onPassModifyClick()">
|
2016-10-20 08:37:08 +00:00
|
|
|
<t>Modify</t>
|
|
|
|
</button>
|
2022-05-24 21:11:12 +00:00
|
|
|
<button class="thin" on-click="this.onPassInfoClick()">
|
2022-05-21 21:31:56 +00:00
|
|
|
<t>Requirements</t>
|
2016-10-20 08:37:08 +00:00
|
|
|
</button>
|
|
|
|
<div class="clear"/>
|
|
|
|
</div>
|
2016-10-11 14:45:10 +00:00
|
|
|
</div>
|
|
|
|
</htk-popup>
|
|
|
|
<htk-popup
|
|
|
|
id="password-info"
|
|
|
|
modal="true">
|
2022-05-26 06:08:31 +00:00
|
|
|
<div property="child-node" class="htk-dialog pass-info vn-w-xs vn-pa-lg">
|
|
|
|
<h5 class="vn-mb-md">
|
2016-10-11 14:45:10 +00:00
|
|
|
<t>Password requirements</t>
|
2022-05-26 06:08:31 +00:00
|
|
|
</h5>
|
2016-10-11 14:45:10 +00:00
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="length"/>
|
|
|
|
<t>characters long</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nAlpha"/>
|
|
|
|
<t>alphabetic characters</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nUpper"/>
|
|
|
|
<t>capital letters</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nDigits"/>
|
|
|
|
<t>digits</t>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<htk-text form="password-form" column="nPunct"/>
|
|
|
|
<t>symbols</t>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</htk-popup>
|
2015-03-06 23:33:54 +00:00
|
|
|
</vn>
|