a lot of changes
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
<!--PAGENAME=You have rights-->
|
||||
<h2>Welcome</h2>
|
||||
<p>Logged in as an admin: <template name="username"></p>
|
||||
<template name="gravatar_image">
|
||||
<!--PAGENAME=Hello, <template name="username">-->
|
||||
<!--PAGESTYLE=/styles/pages/admin/style.css-->
|
||||
|
||||
<header class="admin-index-header">
|
||||
<div class="admin-index-header-text" id="headerText">
|
||||
<h1 class="admin fade-in">Hello,</h1>
|
||||
<h2 class="admin-index-h2 fade-in">Welcome back, Admin <span class="outlined-text"><template name="username"></template></span></h2>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
<script src="/scripts/pages/admin/main.js" defer></script>
|
@@ -31,6 +31,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
}
|
||||
?>
|
||||
|
||||
<!--PAGENAME=Login-->
|
||||
|
||||
<h2>Login</h2>
|
||||
<form action="" method="post">
|
||||
<input type="email" name="email" id="email-field" placeholder="E-Mail" required>
|
||||
|
@@ -1,3 +1,6 @@
|
||||
|
||||
<!--PAGENAME=Register-->
|
||||
|
||||
<h2>Register</h2>
|
||||
<form action="register.php" method="post">
|
||||
<input type="text" name="username" id="username-field" pattern=".{3,32}" placeholder="Username" required>
|
||||
|
@@ -1,5 +1,6 @@
|
||||
<!--PAGENAME=Hello, <template name="username">-->
|
||||
<!--PAGESTYLE=/styles/pages/user/style.css-->
|
||||
|
||||
<header class="user-index-header">
|
||||
<div class="user-index-header-text" id="headerText">
|
||||
<h1 class="user-index-h1 fade-in">Hello, <span class="outlined-text"><template name="username"></template></span>.</h1>
|
||||
@@ -8,4 +9,4 @@
|
||||
</header>
|
||||
|
||||
|
||||
<script src="/scripts/pages/user/main.js" defer></script>
|
||||
<script src="/scripts/pages/admin/main.js" defer></script>
|
Reference in New Issue
Block a user