You've already forked nyx
mirror of
https://github.com/rls-moe/nyx
synced 2025-08-20 12:04:16 +00:00
Resource Fixes
This commit is contained in:
41
http/admin/admin_res/index.html
Normal file
41
http/admin/admin_res/index.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{.Config.Site.Title}} Admin Login</title>
|
||||
<link rel="stylesheet" href="/@/style.css">
|
||||
<link rel="stylesheet" href="/@/custom.css">
|
||||
<link rel="stylesheet" href="/@/admin.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="admin login">
|
||||
<form action="/admin/login.sh" method="POST">
|
||||
<input
|
||||
type="hidden"
|
||||
name="csrf_token"
|
||||
value="{{ .CSRFToken }}" />
|
||||
<div class="admin form row">
|
||||
<input
|
||||
class="admin form input"
|
||||
type="text"
|
||||
name="id"
|
||||
placeholder="admin id"
|
||||
minlength="3"/>
|
||||
</div>
|
||||
<div class="admin form row">
|
||||
<input
|
||||
class="admin form input"
|
||||
type="password"
|
||||
name="pass"
|
||||
placeholder="password"
|
||||
minlength="3"/>
|
||||
</div>
|
||||
<div class="admin form row">
|
||||
<input class="admin form input halfsize" type="submit" value="Login"/>
|
||||
<input class="admin form input halfsize" type="reset" value="Reset"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user