added site header in forms routes
This commit is contained in:
@@ -1,22 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="<%= config.language %">
|
||||
<head>
|
||||
<%- include("../partials/head") %>
|
||||
</head>
|
||||
<body>
|
||||
<form action="<%= config.site_path %>/submit_edit_user" method="POST">
|
||||
<input name="userID" type="hidden" value="<%= userID %>">
|
||||
<label><%= locale.password %>:</label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
<html lang="<%= config.language %>">
|
||||
<head>
|
||||
<%- include("../partials/head") %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="main">
|
||||
<header id="site-header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
</header>
|
||||
<form action="<%= config.site_path %>/submit_edit_user" method="POST">
|
||||
<input name="userID" type="hidden" value="<%= userID %>">
|
||||
<label><%= locale.password %>:</label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
|
||||
<label><%= locale.prettyname %>:</label><br/>
|
||||
<input name="prettyname" value="<%= user.prettyname %>"><br/><br/>
|
||||
<label><%= locale.prettyname %>:</label><br/>
|
||||
<input name="prettyname" value="<%= user.prettyname %>"><br/><br/>
|
||||
|
||||
<label><%= locale.description %>:</label><br/>
|
||||
<textarea name="description"><%= user.description %></textarea><br/><br/>
|
||||
<label><%= locale.description %>:</label><br/>
|
||||
<textarea name="description"><%= user.description %></textarea><br/><br/>
|
||||
|
||||
<label><%- locale.delete_account_confirmation %>: </label><input type="checkbox" name="agreement"><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</body>
|
||||
<label><%- locale.delete_account_confirmation %>: </label><input type="checkbox" name="agreement"><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+24
-19
@@ -1,27 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="<%= config.language %>">
|
||||
<head>
|
||||
<%- include("../partials/head") %>
|
||||
</head>
|
||||
<body>
|
||||
<form action="<%= config.site_path %>/submit_edit_post" method="POST" onsubmit="sha512password()">
|
||||
<input name="userID" type="hidden" value="<%= post['userID'] %>">
|
||||
<input name="postID" type="hidden" value="<%= postID %>">
|
||||
<head>
|
||||
<%- include("../partials/head") %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="main">
|
||||
<header id="site-header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
</header>
|
||||
<form action="<%= config.site_path %>/submit_edit_post" method="POST" onsubmit="sha512password()">
|
||||
<input name="userID" type="hidden" value="<%= post['userID'] %>">
|
||||
<input name="postID" type="hidden" value="<%= postID %>">
|
||||
|
||||
<label><%= locale.password %>:</label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
<label><%= locale.password %>:</label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
|
||||
<label><%= locale.title %>:</label><br/>
|
||||
<input value="<%=post['title'] %>" required name="title"><br/><br/>
|
||||
<label><%= locale.title %>:</label><br/>
|
||||
<input value="<%=post['title'] %>" required name="title"><br/><br/>
|
||||
|
||||
<label><%= locale.post_content %>:</label><br/>
|
||||
<textarea required name="content"><%= post['content'] %></textarea><br/><br/>
|
||||
<label><%= locale.post_content %>:</label><br/>
|
||||
<textarea required name="content"><%= post['content'] %></textarea><br/><br/>
|
||||
|
||||
<label><%= locale.tags %>:</label><br/>
|
||||
<input value="<%= post['tags'] %>" name="tags"><br/><br/>
|
||||
<label><%= locale.tags %>:</label><br/>
|
||||
<input value="<%= post['tags'] %>" name="tags"><br/><br/>
|
||||
|
||||
<label>Delete forever (no undo): </label><input name="delete" type="checkbox"><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</body>
|
||||
<label>Delete forever (no undo): </label><input name="delete" type="checkbox"><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+20
-14
@@ -4,22 +4,28 @@
|
||||
<%- include('../partials/head.ejs') %>
|
||||
</head>
|
||||
<body>
|
||||
<form action="<%= config.site_path %>/submit_post" method="POST">
|
||||
<label><%= locale.username %>:</label><br/>
|
||||
<input required name="username"><br/><br/>
|
||||
<div id="main">
|
||||
<header id="site-header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
</header>
|
||||
<form action="<%= config.site_path %>/submit_post" method="POST">
|
||||
<label><%= locale.username %>:</label><br/>
|
||||
<input required name="username"><br/><br/>
|
||||
|
||||
<label><%= locale.password %>:</label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
<label><%= locale.password %>:</label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
|
||||
<label><%= locale.title %>:</label><br/>
|
||||
<input required name="title"><br/><br/>
|
||||
<label><%= locale.title %>:</label><br/>
|
||||
<input required name="title"><br/><br/>
|
||||
|
||||
<label><%= locale.post_content %>:</label><br/>
|
||||
<textarea required name="content"></textarea><br/><br/>
|
||||
<label><%= locale.post_content %>:</label><br/>
|
||||
<textarea required name="content"></textarea><br/><br/>
|
||||
|
||||
<label><%= locale.tags %>:</label><br/>
|
||||
<input name="tags"><br/><br/>
|
||||
<label><%= locale.tags %>:</label><br/>
|
||||
<input name="tags"><br/><br/>
|
||||
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</body>
|
||||
</form></html>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+22
-17
@@ -1,24 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
</html lang="<%= config.language %>">
|
||||
<head>
|
||||
<%- include("../partials/head") %>
|
||||
</head>
|
||||
<body>
|
||||
<form action="<%= config.site_path %>/submit_signup" method="POST">
|
||||
<label><%= locale.username %></label><br/>
|
||||
<input required name="username"><br/><br/>
|
||||
<head>
|
||||
<%- include("../partials/head") %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="main">
|
||||
<header id="site-header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
</header>
|
||||
<form action="<%= config.site_path %>/submit_signup" method="POST">
|
||||
<label><%= locale.username %></label><br/>
|
||||
<input required name="username"><br/><br/>
|
||||
|
||||
<label><%= locale.prettyname %></label><br/>
|
||||
<input required name="prettyname"><br/><br/>
|
||||
<label><%= locale.prettyname %></label><br/>
|
||||
<input required name="prettyname"><br/><br/>
|
||||
|
||||
<label><%= locale.password %></label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
<label><%= locale.password %></label><br/>
|
||||
<input type="password" required id="password" name="password"><br/><br/>
|
||||
|
||||
<label><%= locale.description %></label><br/>
|
||||
<textarea id="description" name="description"></textarea><br/><br/>
|
||||
<label><%= locale.description %></label><br/>
|
||||
<textarea id="description" name="description"></textarea><br/><br/>
|
||||
|
||||
<label><%- locale.signup_agreement %>: </label><input type="checkbox" name="agreement" required><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</body>
|
||||
<label><%- locale.signup_agreement %>: </label><input type="checkbox" name="agreement" required><br/>
|
||||
<input type="submit" value="Submit"><br/>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user