-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathget_html_template.py
More file actions
33 lines (29 loc) · 1.16 KB
/
Copy pathget_html_template.py
File metadata and controls
33 lines (29 loc) · 1.16 KB
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
LOGIN_TO_CONTINUE_HTML = (
lambda authorization_url: f'''
<h1 style="font-family: sans-serif; font-size: 20px; font-weight: bold;">
Login to continue
<a style="font-family: 'Trebuchet MS'; font-size: 20px; color: #0077C9;" target="_self"
href="{authorization_url}">Login</a>
</h1>
'''
)
ACCOUNT_NOT_ALLOWED_HTML = (
lambda authorization_url: f'''
<h1 style="font-family: sans-serif; font-size: 20px; font-weight: bold;">
This account is not allowed or the page was refreshed.<br>
Please try again:
<a style="font-family: 'Trebuchet MS'; font-size: 20px; color: #0077C9;" target="_self"
href="{authorization_url}">Login</a>
</h1>
'''
)
USER_SESSION_ENDED_HTML = (
lambda authorization_url: f'''
<h1 style="font-family: sans-serif; font-size: 20px; font-weight: bold;">
Login session has ended,
Please login again to continue:
<a style="font-family: 'Trebuchet MS'; font-size: 20px; color: #0077C9;" target="_self"
href="{authorization_url}">Login</a>
</h1>
'''
)