Added skeleton website from kbauth
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
21
static/404.tpl
Normal file
21
static/404.tpl
Normal file
@ -0,0 +1,21 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="error-template">
|
||||
<h1>
|
||||
Oops!</h1><br>
|
||||
<h2>
|
||||
404 Not Found</h2>
|
||||
<div class="error-details">
|
||||
Sorry, an error has occured, Requested page not found!
|
||||
</div>
|
||||
<br>
|
||||
<div class="error-actions">
|
||||
<a href="/" class="btn btn-primary btn-lg"><span class="glyphicon glyphicon-home"></span>
|
||||
Take Me Home </a> <a href="mailto://rudi@nmare.net" class="btn btn-default btn-lg"><span class="glyphicon glyphicon-envelope"></span> Contact Support </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
</div>
|
||||
21
static/500.tpl
Normal file
21
static/500.tpl
Normal file
@ -0,0 +1,21 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="error-template">
|
||||
<h1>
|
||||
Oops!</h1><br>
|
||||
<h2>Something has gone HORRIBLY wrong! Congrats!</h2>
|
||||
<div class="error-details">
|
||||
Not really sorry, but an error has occured. 500 means something went wrong on the server side, but.. Let's be honest. It was really a user malfunction.
|
||||
</div>
|
||||
<br>
|
||||
<div class="error-actions">
|
||||
<a href="/" class="btn btn-primary btn-lg"><span class="glyphicon glyphicon-home"></span>
|
||||
Take Me Home </a> <a href="mailto://rudi@nmare.net" class="btn btn-default btn-lg"><span class="glyphicon glyphicon-envelope"></span> Contact Support </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/t3otBjVZzT0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
</div>
|
||||
11
static/card.tpl
Normal file
11
static/card.tpl
Normal file
@ -0,0 +1,11 @@
|
||||
<br><br>
|
||||
<div class="container h-100 d-flex justify-content-center align-items-center">
|
||||
|
||||
<div class="card" style="width: 50rem;">
|
||||
<div class="card-body col">
|
||||
<h2 class="card-title">$TITLE</h1>
|
||||
<p class="card-text">$CONTENT</p>
|
||||
<p class="card-text">$FOOTER</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
41
static/header.tpl
Normal file
41
static/header.tpl
Normal file
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Thanos</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
|
||||
<link rel="icon" type="image/png" href="https://lh6.googleusercontent.com/BvczCCYhJUsKIs3dsowl1vuvnBtCGSDcMDekt5PehwQk3cQLfHkEn80cR3IuMxUFmd5Sh_UQ=w16383">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
|
||||
|
||||
<!-- Navigation -->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="/">
|
||||
<img src="" alt="">
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarResponsive">
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item active">
|
||||
<a class="nav-link" href="/">Home
|
||||
<span class="sr-only">(current)</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/pass">Request Token</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="/login">$LOGIN</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
</head>
|
||||
15
static/home.tpl
Normal file
15
static/home.tpl
Normal file
@ -0,0 +1,15 @@
|
||||
<br><br>
|
||||
<div class="container h-100 d-flex justify-content-center align-items-center">
|
||||
|
||||
|
||||
<div class="container h-100 d-flex justify-content-center align-items-center">
|
||||
|
||||
<div class="card" style="width: 50rem;">
|
||||
<div class="card-body col">
|
||||
<h2 class="card-title">Cookie Policy</h1>
|
||||
<p class="card-text">What website doesn't use cookies nowadays?</p>
|
||||
<p class="card-text">This website does not use any 3rd party cookies. All cookies are encrypted and only used by this website. </p>
|
||||
<p class="card-text">If you are actually reading this, chances are your data isn't valuable enough for me to care about tracking you.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
31
static/login.tpl
Normal file
31
static/login.tpl
Normal file
@ -0,0 +1,31 @@
|
||||
<div class="container-fluid">
|
||||
<div class="row no-gutter">
|
||||
<div class="d-none d-md-flex col-md-4 col-lg-6 bg-image"></div>
|
||||
<div class="col-md-8 col-lg-6">
|
||||
<div class="login d-flex align-items-center py-5">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-9 col-lg-8 mx-auto">
|
||||
<h3 class="login-heading mb-4">Thanos OTP Login</h3>
|
||||
<form action="/api/login">
|
||||
<div class="form-label-group">
|
||||
<input type="text" name="UserName" id="Username" class="form-control" placeholder="Username" required autofocus>
|
||||
<label for="inputEmail">Username</label>
|
||||
</div>
|
||||
|
||||
<div class="form-label-group">
|
||||
<input type="password" name="TempPass" id="TempPassword" class="form-control" placeholder="Do Not Use Your Discord Password" required>
|
||||
<label for="inputPassword">Temporary Password</label>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-lg btn-primary btn-block btn-login text-uppercase font-weight-bold mb-2" type="submit">Sign in</button>
|
||||
<div class="text-center">
|
||||
<a class="small" href="/pass">Need to request a password?</a></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
31
static/pass.tpl
Normal file
31
static/pass.tpl
Normal file
@ -0,0 +1,31 @@
|
||||
<body>
|
||||
<br><br>
|
||||
<div class="row h-100 justify-content-center align-items-center">
|
||||
<div class="card">
|
||||
<div class="container">
|
||||
<form action="/api/passreq">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Discord User:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="UserName" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
</td>
|
||||
<td>
|
||||
<input type="submit" value="Submit" class="btn btn-primary" style="float: right;">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<p>Click the "Submit" button and a temporary password will be sent to the Discord User.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user