added admin panel & fixed user registration
This commit is contained in:
@ -1,16 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1><%= name %></h1>
|
||||
<style>
|
||||
iframe{
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<%- include('./static/start.ejs',{name:"admin",async: true}) %>
|
||||
<%- include('./header.ejs') %>
|
||||
|
||||
<h1>hello admin</h1>
|
||||
<form action="/add_user">
|
||||
<input type="submit" value="add">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
<iframe src="/reg" frameborder="0"></iframe>
|
||||
|
||||
<%- include('./static/end.ejs') %>
|
||||
Reference in New Issue
Block a user