feat: change api framework to angel3.

This commit is contained in:
2021-12-17 18:24:32 +08:00
parent 8face6f724
commit ed863ecb41
39 changed files with 1008 additions and 368 deletions
+27
View File
@@ -0,0 +1,27 @@
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
width: 100%;
display: table;
font-weight: 100;
font-family: 'Lato', sans-serif;
}
.container {
text-align: center;
display: table-cell;
vertical-align: middle;
}
.content {
text-align: center;
display: inline-block;
}
.title {
font-size: 96px;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

-29
View File
@@ -1,29 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
</head>
<body>
<div class="container">
<h1>Login</h1>
<form action="{{path}}" method="POST">
<input type="hidden" name="state" value="{{state}}">
<input type="hidden" name="client_id" value="{{client_id}}">
<input type="hidden" name="response_type" value="code">
<div class="form-group">
<label for="username">User Name</label>
<input type="text" class="form-control" name="username" placeholder="Please enter your user name">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" name="password" placeholder="Please enter your password">
</div>
<button type="submit" class="btn btn-success">Login</button>
</form>
</div>
</body>
</html>
+2
View File
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /admin