hedera-web/forms/account/conf/ui.xml

103 lines
2.3 KiB
XML
Raw Normal View History

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">
2017-04-08 11:42:27 +00:00
SELECT length, nAlpha, nUpper, nDigits, nPunct
FROM account.userPassword
2016-10-11 14:45:10 +00:00
</db-model>
</db-form>
2016-12-23 08:57:49 +00:00
<db-form id="user">
<db-model property="model" id="user-model" updatable="true">
2017-07-04 06:51:41 +00:00
SELECT u.id, u.name, u.email, u.recoverPass, c.mail, c.user_id
2017-04-08 11:42:27 +00:00
FROM account.userView u
LEFT JOIN customer_view c
ON u.id = c.user_id
2015-03-06 23:33:54 +00:00
</db-model>
</db-form>
</vn-group>
2017-03-17 12:42:10 +00:00
<h1 id="title">
2017-10-18 16:01:21 +00:00
_Configuration
2017-03-17 12:42:10 +00:00
</h1>
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"
2016-09-19 06:40:18 +00:00
on-click="onAddressesClick"/>
2016-10-11 14:45:10 +00:00
<htk-bar-button
icon="preferences"
tip="_Change password"
on-click="onPassChangeClick"/>
</div>
2017-03-23 16:20:51 +00:00
<div id="main" class="conf">
2016-12-23 08:57:49 +00:00
<div class="card form">
<div>
2017-10-18 16:01:21 +00:00
<label for="user-name">_Username</label>
2017-04-05 14:06:07 +00:00
<htk-text lot="user" name="name"/>
2016-12-23 08:57:49 +00:00
</div>
<div>
2017-10-18 16:01:21 +00:00
<label for="email">_Email</label>
2017-04-05 14:06:07 +00:00
<htk-entry lot="user" name="email"></htk-entry>
2016-12-23 08:57:49 +00:00
</div>
<div>
2017-10-18 16:01:21 +00:00
<label for="mail">_Receive invoices by email</label>
2017-04-05 14:06:07 +00:00
<htk-check lot="user" name="mail"/>
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">
<div property="child-node" class="htk-dialog pass-change">
2016-10-11 14:45:10 +00:00
<div>
<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>
<div class="button-bar">
<button class="thin" on-click="onPassModifyClick">
2017-10-18 16:01:21 +00:00
_Modify
</button>
<button class="thin" on-click="onPassInfoClick">
2017-10-18 16:01:21 +00:00
_Info
</button>
<div class="clear"/>
</div>
2016-10-11 14:45:10 +00:00
</div>
</htk-popup>
<htk-popup
id="password-info"
modal="true">
<div property="child-node" class="htk-dialog pass-info">
2016-10-11 14:45:10 +00:00
<h3>
2017-10-18 16:01:21 +00:00
_Password requirements
2016-10-11 14:45:10 +00:00
</h3>
<ul>
<li>
<htk-text lot="password-form" name="length"/> _characters long
2016-10-11 14:45:10 +00:00
</li>
<li>
<htk-text lot="password-form" name="nAlpha"/> _alphabetic characters
2016-10-11 14:45:10 +00:00
</li>
<li>
<htk-text lot="password-form" name="nUpper"/> _capital letters
2016-10-11 14:45:10 +00:00
</li>
<li>
<htk-text lot="password-form" name="nDigits"/> _digits
2016-10-11 14:45:10 +00:00
</li>
<li>
<htk-text lot="password-form" name="nPunct"/> _symbols
2016-10-11 14:45:10 +00:00
</li>
</ul>
</div>
</htk-popup>
2015-03-06 23:33:54 +00:00
</vn>