11<div class =" container mt-5" >
2- <div class =" col-md-4 offset-md-4" >
3- <h1 >Sign in Required</h1 >
2+ <div class =" col-md-4 offset-md-4" >
3+ <h1 >Sign in Required</h1 >
44
5- <p >You must be logged in to use Backslash</p >
5+ <p >You must be logged in to use Backslash</p >
66
7- <form class =" login-form" >
8- <div class =" form-group" >
9- <label class =" control-label" for =" username" >Username/Email</label >
10- {{ input type =" username" class = (concat " form-control" (if login_error " is-invalid" )) id =" username"
11- value =username required =true }}
12- </div >
7+ <form class =" login-form" >
8+ <div class =" form-group" >
9+ <label class =" control-label" for =" username" >Username/Email</label >
10+ {{ input type =" username" class = (concat " form-control" (if login_error " is-invalid" )) id =" username" value =username required =true }}
11+ </div >
1312
14- <div class =" form-group" >
15- <label class =" control-label" for =" password" >Password</label >
16- {{ input type =" password" class = (concat " form-control" (if login_error " is-invalid" )) id =" password"
17- value =password required =true }}
18- {{ #if login_error }}
19- <p class =" help-block" >Login failed - {{ login_error }} </p >
20- {{ /if }}
21- </div >
13+ <div class =" form-group" >
14+ <label class =" control-label" for =" password" >Password</label >
15+ {{ input type =" password" class = (concat " form-control" (if login_error " is-invalid" )) id =" password" value =password required =true }}
16+ {{ #if login_error }}
17+ <p class =" help-block" >Login failed - {{ login_error }} </p >
18+ {{ /if }}
19+ </div >
2220
23- <div class =" form-group" >
24- <button class =" btn btn-success btn-lg w-100" {{ action " login" }} >Sign In</button >
25- </div >
21+ <div class =" form-group" >
22+ <button class =" btn btn-success btn-lg w-100" {{ action " login" }} >Sign In</button >
23+ </div >
2624
2725
28- </form >
29- {{ #if runtime_config.google_oauth2_enabled }}
30- <p class =" text-center" >
31- Or
32- </p >
26+ </form >
27+ {{ #if runtime_config.google_oauth2_enabled }}
28+ <p class =" text-center" >
29+ Or
30+ </p >
3331
34- <div class =" form-group" >
35- <button class =" btn btn-lg btn-outline-secondary w-100" {{ action " login_google" }} >
36- <i class =" fa fa-google" ></i > Sign in with Google
37- </button >
38- </div >
39- {{ /if }}
32+ <div class =" form-group" >
33+ <button class =" btn btn-lg btn-outline-secondary w-100" {{ action " login_google" }} >
34+ <i class =" fa fa-google" ></i > Sign in with Google
35+ </button >
36+ </div >
37+ {{ /if }}
4038
41- {{ #if runtime_config.azure_oauth2_enabled }}
42- <p class =" text-center" >
43- Or
44- </p >
39+ {{ #if runtime_config.azure_oauth2_enabled }}
40+ <p class =" text-center" >
41+ Or
42+ </p >
4543
46- <div class =" form-group" >
47- <button class =" btn btn-lg btn-outline-secondary w-100" {{ action " login_azure" }} >
48- <svg id =" bdb56329-4717-4410-aa13-4505ecaa4e46" xmlns =" http://www.w3.org/2000/svg" width =" 18" height =" 18"
49- viewBox =" 0 0 18 18" >
50- <defs >
51- <linearGradient id =" ba2610c3-a45a-4e7e-a0c0-285cfd7e005d" x1 =" 13.25" y1 =" 13.02" x2 =" 8.62"
52- y2 =" 4.25" gradientUnits =" userSpaceOnUse" >
53- <stop offset =" 0" stop-color =" #1988d9" />
54- <stop offset =" 0.9" stop-color =" #54aef0" />
55- </linearGradient >
56- <linearGradient id =" bd8f618b-4f2f-4cb7-aff0-2fd2d211326d" x1 =" 11.26" y1 =" 10.47" x2 =" 14.46"
57- y2 =" 15.99" gradientUnits =" userSpaceOnUse" >
58- <stop offset =" 0.1" stop-color =" #54aef0" />
59- <stop offset =" 0.29" stop-color =" #4fabee" />
60- <stop offset =" 0.51" stop-color =" #41a2e9" />
61- <stop offset =" 0.74" stop-color =" #2a93e0" />
62- <stop offset =" 0.88" stop-color =" #1988d9" />
63- </linearGradient >
64- </defs >
65- <title >Icon-identity-221</title >
66- <polygon points =" 1.01 10.19 8.93 15.33 16.99 10.17 18 11.35 8.93 17.19 0 11.35 1.01 10.19"
67- fill =" #50e6ff" />
68- <polygon points =" 1.61 9.53 8.93 0.81 16.4 9.54 8.93 14.26 1.61 9.53" fill =" #fff" />
69- <polygon points =" 8.93 0.81 8.93 14.26 1.61 9.53 8.93 0.81" fill =" #50e6ff" />
70- <polygon points =" 8.93 0.81 8.93 14.26 16.4 9.54 8.93 0.81"
71- fill =" url(#ba2610c3-a45a-4e7e-a0c0-285cfd7e005d)" />
72- <polygon points =" 8.93 7.76 16.4 9.54 8.93 14.26 8.93 7.76" fill =" #53b1e0" />
73- <polygon points =" 8.93 14.26 1.61 9.53 8.93 7.76 8.93 14.26" fill =" #9cebff" />
74- <polygon points =" 8.93 17.19 18 11.35 16.99 10.17 8.93 15.33 8.93 17.19"
75- fill =" url(#bd8f618b-4f2f-4cb7-aff0-2fd2d211326d)" />
76- </svg > Sign in with Azure AD
77- </button >
78- </div >
79- {{ /if }}
44+ <div class =" form-group" >
45+ <button class =" btn btn-lg btn-outline-secondary w-100" {{ action " login_azure" }} >
46+ <svg id =" bdb56329-4717-4410-aa13-4505ecaa4e46" xmlns =" http://www.w3.org/2000/svg" width =" 18" height =" 18"
47+ viewBox =" 0 0 18 18" >
48+ <defs >
49+ <linearGradient id =" ba2610c3-a45a-4e7e-a0c0-285cfd7e005d" x1 =" 13.25" y1 =" 13.02" x2 =" 8.62"
50+ y2 =" 4.25" gradientUnits =" userSpaceOnUse" >
51+ <stop offset =" 0" stop-color =" #1988d9" />
52+ <stop offset =" 0.9" stop-color =" #54aef0" />
53+ </linearGradient >
54+ <linearGradient id =" bd8f618b-4f2f-4cb7-aff0-2fd2d211326d" x1 =" 11.26" y1 =" 10.47" x2 =" 14.46"
55+ y2 =" 15.99" gradientUnits =" userSpaceOnUse" >
56+ <stop offset =" 0.1" stop-color =" #54aef0" />
57+ <stop offset =" 0.29" stop-color =" #4fabee" />
58+ <stop offset =" 0.51" stop-color =" #41a2e9" />
59+ <stop offset =" 0.74" stop-color =" #2a93e0" />
60+ <stop offset =" 0.88" stop-color =" #1988d9" />
61+ </linearGradient >
62+ </defs >
63+ <title >Icon-identity-221</title >
64+ <polygon points =" 1.01 10.19 8.93 15.33 16.99 10.17 18 11.35 8.93 17.19 0 11.35 1.01 10.19"
65+ fill =" #50e6ff" />
66+ <polygon points =" 1.61 9.53 8.93 0.81 16.4 9.54 8.93 14.26 1.61 9.53" fill =" #fff" />
67+ <polygon points =" 8.93 0.81 8.93 14.26 1.61 9.53 8.93 0.81" fill =" #50e6ff" />
68+ <polygon points =" 8.93 0.81 8.93 14.26 16.4 9.54 8.93 0.81"
69+ fill =" url(#ba2610c3-a45a-4e7e-a0c0-285cfd7e005d)" />
70+ <polygon points =" 8.93 7.76 16.4 9.54 8.93 14.26 8.93 7.76" fill =" #53b1e0" />
71+ <polygon points =" 8.93 14.26 1.61 9.53 8.93 7.76 8.93 14.26" fill =" #9cebff" />
72+ <polygon points =" 8.93 17.19 18 11.35 16.99 10.17 8.93 15.33 8.93 17.19"
73+ fill =" url(#bd8f618b-4f2f-4cb7-aff0-2fd2d211326d)" />
74+ </svg > Sign in with Azure AD
75+ </button >
8076 </div >
81- </div >
77+ {{ /if }}
78+
79+ </div >
80+ </div >
0 commit comments