-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
116 lines (105 loc) · 2.63 KB
/
login.html
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
{% extends "templates/login.html" %}
{% block main %}
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* {
box-sizing: border-box;
}
.hero-image {
background-image: url('/static/images/coffea_casa_trans.png');
background-repeat: no-repeat;
background-position: center;
background-size:400px ;
height: 267px;
position: relative;
}
.hero-text {
text-align: center;
position: absolute;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
color: #E41C38;
}
h1 {text-align: center;}
h2 {text-align: center;}
h3 {text-align: center;}
p {text-align: center;}
div {text-align: center;}
.row::after {
content: "";
clear: both;
display: table;
}
html {
font-family: "Lucida Sans", sans-serif;
}
.header {
background-color: #E41C38;
color: #ffffff;
}
.menu ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.menu li {
padding: 8px;
margin-bottom: 7px;
background-color: #33b5e5;
color: #ffffff;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.menu li:hover {
background-color: #0099cc;
}
button,.btn,.btn-lg,.btn-jupyter {
background-color: #E41C38;
transition-duration: 0.4s;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.btn-jupyter:hover {
background-color: #fff;
color: #C8394D;
}
.btn-jupyter:focus{
color: #fff;
background-color: #C8394D;
}
.btn-jupyter:active{
color: #fff;
background-color: #C8394D;
transform: scale(0.95);
}
.btn-jupyter:focus:active{
color: #fff;
background-color: #C8394D;
transform: scale(.95);
}
</style>
</head>
<body>
<div class="header">
<h2>CMS Analysis Facility @ T2_US_Nebraska</h1>
</div>
<div class="hero-image">
<div class="hero-text">
</div>
</div>
<H1>Authorized CMS Users Only!</H1>
<center>
<p>To login into the Coffea-Casa Analysis Facility, you will need to get a CMS OAuth token.</i></p>
To get a token you need to a) be member of CMS and b) register with the OAuth service at: <a href="https://cms-auth.web.cern.ch"> CMS-Auth.web.cern.ch </a></p>
<H2>Useful Links</H2>
<a href="https://github.com/CoffeaTeam/coffea-casa/discussions/categories/unl-tech-support" target="_blank">Coffea-Casa Support Page</a>
<a href="https://coffea-casa.readthedocs.io/en/latest/" target="_blank"> Coffea-Casa Docs</a>
<h2>News</h2>
Watch here for announcements!
<div class="service-login">
<a role="button" class='btn btn-jupyter btn-lg' href='{{authenticator_login_url}}'>
Authorized CMS Users Only: <br> Sign in with {{login_service}}
</a>
</div>
</div>
{% endblock %}