File: email_validation.html

package info (click to toggle)
tryton-modules-web-user 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 468 kB
  • sloc: python: 890; xml: 140; makefile: 11; sh: 3
file content (26 lines) | stat: -rw-r--r-- 1,187 bytes parent folder | download
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
<!DOCTYPE html>
<html xmlns:py="http://genshi.edgewall.org/" xmlns:i18n="http://genshi.edgewall.org/i18n">
    <head>
        <title>Email Validation</title>
    </head>
    <body>
        <py:for each="user in records">
        <div style="display: block; text-align: center">
            <div>
                <h1>Just one more step..</h1>
                <p i18n:msg="email">${user.email}</p>
                <a href="${user.get_email_validation_url()}"
                   style="display: block; text-decoration: none; width: max-content; margin: 0 auto; padding: 0.5em 1em; font-size:2em; border: 1px solid #2E6DA4; border-radius: 4px; color: #FFF; background-color: #337AB7;">
                    Validate
                </a>
            </div>
            <hr style="margin-top: 20px; border-style: solid none none; border-color: #EEE"></hr>
            <div style="font-size: 80%; color: #777">
                <p>Button is not working? Paste this into your browser:</p>
                <p>${user.get_email_validation_url()}</p>
                <p>If you received this email by mistake, just ignore it.</p>
            </div>
        </div>
        </py:for>
    </body>
</html>