satitm-sso-node/login.html
2024-05-03 16:11:08 +07:00

228 lines
No EOL
4.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=8; IE=EDGE">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body {
height: 100%;
font-family: Helvetica, Arial, sans-serif;
color: #6a6a6a;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
background: url(https://sso.satitm.chula.ac.th/img/bg_landscape.png) no-repeat;
background-size: cover;
overflow: hidden;
}
.form-container {
background-color: rgba(255, 255, 255, 0.8);
padding: 20px;
border-radius: 10px;
}
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
select,
textarea {
color: #262626;
vertical-align: baseline;
margin: .2em;
border-style: solid;
border-width: 1px;
border-color: #a9a9a9;
background-color: #fff;
box-sizing: border-box;
padding: 2px .5em;
appearance: none;
border-radius: 0;
}
input:focus {
border-color: #646464;
box-shadow: 0 0 1px 0 #a2a2a2;
outline: 0;
}
button {
padding: .5em 1em;
border: 1px solid;
border-radius: 3px;
min-width: 6em;
font-weight: 400;
font-size: .8em;
cursor: pointer;
}
button.primary {
color: #fff;
background-color: rgb(47, 113, 178);
border-color: rgb(34, 103, 173);
}
.form-body {
display: flex;
margin-left: auto;
margin-right: auto;
align-items: center;
align-content: center;
}
.message-container {
height: 1280px;
width: 1280px;
padding: 0;
margin: 10px;
}
.logo {
height: 800px;
object-fit: contain;
}
table {
background-color: #fff;
border-spacing: 0;
margin: 1em;
}
table>tbody>tr>td:first-of-type:not([colspan]) {
white-space: nowrap;
color: rgba(0, 0, 0, .5);
}
table>tbody>tr>td:first-of-type {
vertical-align: top;
}
table>tbody>tr>td {
padding: .3em .3em;
}
.field {
display: table-row;
}
.field> :first-child {
display: table-cell;
width: 20%;
}
.field.single> :first-child {
display: inline;
}
.field> :not(:first-child) {
width: auto;
max-width: 100%;
display: inline-flex;
align-items: baseline;
virtical-align: top;
box-sizing: border-box;
margin: .3em;
}
.field> :not(:first-child)>input {
width: 230px;
}
.form-footer {
display: inline-flex;
justify-content: flex-start;
}
.form-footer>* {
margin: 1em;
}
.text-scrollable {
overflow: auto;
height: 150px;
border: 1px solid rgb(200, 200, 200);
padding: 5px;
font-size: 1em;
}
.text-centered {
text-align: center;
}
.text-container {
margin: 1em 1.5em;
}
.flex-container {
display: flex;
}
.flex-container.column {
flex-direction: column;
}
</style>
<title>
Firewall Authentication
</title>
</head>
<body>
<div class="message-container">
<div class="logo">
<div class="container">
<div class="form-body">
<div class="form-container">
<h1 style="text-align: center; margin-top: 0;">
SATITM SSO
</h1>
<form action="%%AUTH_POST_URL%%" method="post">
<input type="hidden" name="%%REDIRID%%" value="%%PROTURI%%">
<input type="hidden" name="%%MAGICID%%" value="%%MAGICVAL%%">
<input type="hidden" name="%%METHODID%%" value="%%METHODVAL%%">
<p>
%%QUESTION%%
</p>
<div class="field">
<label for="ft_un">
Email
</label>
<div>
<input name="%%USERNAMEID%%" id="ft_un" type="text" autocorrect="off" autocapitalize="off">
</div>
</div>
<div class="field">
<label for="ft_pd">
Password
</label>
<div>
<input name="%%PASSWORDID%%" id="ft_pd" type="password" autocomplete="off">
</div>
</div>
<div class="form-footer" >
<button class="primary" type="submit" style="margin-bottom: 0;">
Continue
</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>