-
Notifications
You must be signed in to change notification settings - Fork 0
/
pa2.zip
157 lines (134 loc) · 4.09 KB
/
pa2.zip
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html lang="en" class="bg-dark">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
PrairieLearn
</title>
<link href="/cacheable_node_modules/30200b7b4bbaba6b/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link href="/cacheable_node_modules/b6150cfd60718dd0/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet" />
<link href="/assets/b227c56bf3a9abc3/stylesheets/colors.css" rel="stylesheet" />
<link href="/assets/b227c56bf3a9abc3/stylesheets/local.css" rel="stylesheet" />
<script src="/cacheable_node_modules/9e60de0d254eb9be/jquery/dist/jquery.min.js"></script>
<script src="/cacheable_node_modules/30200b7b4bbaba6b/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="/cacheable_node_modules/2394b7a64dc20f32/@fortawesome/fontawesome-free/js/all.min.js"></script>
<script src="/cacheable_node_modules/d01c4e9bf10ed63e/js-cookie/src/js.cookie.js"></script>
<style>
html, body {
height: 100%;
background-color: #e9ecef;
}
.login-container-wrapper {
width: 100%;
height: 100%;
}
.login-container {
background-color: white;
padding: 20px;
height: 100%;
}
.login-methods > :not(:last-child) {
margin-bottom: 0.5rem;
}
@media (min-width: 576px) {
.login-container-wrapper {
max-width: 500px;
margin: auto;
height: auto;
}
.login-container {
border-radius: 5px;
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
height: auto;
margin: 20px;
}
}
.subheader {
font-weight: 300;
font-size: 1.2rem;
}
.btn .social-icon {
position: absolute;
left: 7px;
height: 24px;
top: 0;
bottom: 0;
margin: auto;
}
.btn-shib {
background-color: #002145;
border-color: #002145;
color: white;
}
.btn-shib:hover {
background-color: #001022;
border-color: #001022;
color: white;
}
.btn-shib:focus {
box-shadow: 0 0 0 0.2rem rgba(0, 33, 69, 0.35);
}
.btn-shib:active {
background-color: #000000;
border-color: #000000;
color: white;
}
.institution-header {
overflow: hidden;
text-align: center;
}
.institution-header:before, .institution-header:after {
background-color: #000;
content: "";
display: inline-block;
height: 1px;
position: relative;
vertical-align: middle;
width: 50%;
}
.institution-header:before {
right: 0.5em;
margin-left: -50%;
}
.institution-header:after {
left: 0.5em;
margin-right: -50%;
}
</style>
</head>
<body class="d-flex bg-dark">
<div class="login-container-wrapper">
<div class="login-container">
<div>
<h1 class="text-center">PrairieLearn</h1>
<h2 class="text-center subheader">
Sign in
</h2>
<div class="login-methods mt-5">
<a class="btn btn-shib w-100 position-relative" href="/pl/shibcallback" role="button">
<img src="/branding/UBC-logo-2018-crest-white-rgb72.png" class="social-icon"/>
<span class="font-weight-bold">Sign in with UBC</span>
</a>
<a class="btn btn-primary w-100 position-relative" href="/pl/oauth2login" role="button">
<img src="/images/google_logo.svg" class="social-icon"/>
<span class="font-weight-bold">Sign in with Google
</a>
</div>
<div class="institution-header text-muted my-3">
Institution sign-on
</div>
<div class="login-methods">
<a href="/pl/auth/institution/6/saml/login" class="btn btn-outline-dark btn-block">
University of Victoria (uvic.ca)
</a>
<a href="/pl/oauth2login" class="btn btn-outline-dark btn-block">
York University (yorku.ca)
</a>
</div>
</div>
</div>
</div>
</body>
</html>