/usr/lib/Wt/examples/qrlogin/templates.xml is in witty-examples 3.3.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <?xml version="1.0" encoding="UTF-8" ?>
<messages>
<message id="Wt.Auth.template.login">
<div class="Wt-form Wt-auth-login">
<h2>${tr:Wt.Auth.login-form-title}</h2>
<p>${tr:Wt.Auth.login-form-info}</p>
<div style="margin: 10px 10px 30px">
This Wt example shows how the authentication system can be
extended to support other authentication methods, like for
example delegating the authentication to a mobile phone using
a QR code.
</div>
<div class="Wt-fields">
<label for="${id:user-name}">${user-name-label}
${user-name-info class="Wt-info"}
</label>
${user-name}
<label for="${id:password}">${tr:Wt.Auth.password}
${password-info class="Wt-info"}
</label>
${password}
<label for="${id:remember-me}">${tr:Wt.Auth.remember-me}
<span class="Wt-info">${remember-me-info}</span>
</label>
${remember-me}
</div>
${<if:oauth>}
<div class="Wt-col-right">
<h3>Or use:</h3>
${icons}
</div>
${</if:oauth>}
<div class="Wt-buttons">
${login}
</div>
<div class="Wt-buttons">
${lost-password} ${sep} ${register} | ${qrauth}
</div>
</div>
</message>
</messages>
|