diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-09-30 12:47:06 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-09-30 12:47:06 +0800 |
| commit | d383f8295b1c2c38c8fe0a499896285f89200ba3 (patch) | |
| tree | 9ecd428b375629879b8b6fc2566b752d435bbfc2 /pages | |
init
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/login/login.html | 48 | ||||
| -rw-r--r-- | pages/login/register.html | 45 |
2 files changed, 93 insertions, 0 deletions
diff --git a/pages/login/login.html b/pages/login/login.html new file mode 100644 index 00000000..af351d55 --- /dev/null +++ b/pages/login/login.html @@ -0,0 +1,48 @@ +<!DOCTYPE html5> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>littleblack111</title> + <link rel="stylesheet" href="/src/css/style.css"> + <link rel="stylesheet" href="/src/css/login.css"> + </head> + <body> + <!-- header --> + <header id="navBarHeader"> + <nav class="navBar"> + <div class="left"> + <a id="btnHome" href="/">home<span></span></span></a> + </div> + <div class="right"> + <a href="/pages/login/login.html" id="btnLogin" class="active">login</a> + <a href="/" id="btnContact">contact</a> + </div> + </nav> + </header> + + <!-- index page --> + <section class="loginPage"> + <div class="window"> + <div class="placeholder" id="infos"> + <div class="text"> + <h1 class="title">login</h1> + <object class="br"></object> + <h2>username</h2> + <input id="username" type="text"> + <h2>password</h2> + <input id="password" type="password"> + <br><br> + <button onclick="test()">login</button> + </div> + </div> + </div> + <div style="position: flex;"> + <a href="/pages/login/register.html" style="position: absolute; bottom: 5px; color: #F4E8C1; background-color: #331E38;"> + or create a new account + </a> + </div> + </section> + <script src="/src/js/login.js"></script> + </body> +</html> diff --git a/pages/login/register.html b/pages/login/register.html new file mode 100644 index 00000000..530f1c9f --- /dev/null +++ b/pages/login/register.html @@ -0,0 +1,45 @@ +<!DOCTYPE html5> +<html lang="en"> + <head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>littleblack111</title> + <link rel="stylesheet" href="/src/css/style.css"> + <link rel="stylesheet" href="/src/css/register.css"> + </head> + <body> + <!-- header --> + <header id="navBarHeader"> + <nav class="navBar"> + <div class="left"> + <a id="btnHome" href="/">home<span></span></span></a> + </div> + <div class="right"> + <a href="/pages/login/login.html" id="btnLogin" class="active">login</a> + <a href="/" id="btnContact">contact</a> + </div> + </nav> + </header> + + <!-- index page --> + <section class="registerPage"> + <div class="window"> + <div class="placeholder" id="infos"> + <div class="text"> + <h1 class="title">create account</h1> + <object class="br"></object> + <h2>username</h2> + <input id="username" type="text"> + <h2>password</h2> + <input id="password" type="text"> + <h2>verify password</h2> + <input id="verify-password" type="text"> + <br><br> + <button onclick="createAccount()">create account</button> + </div> + </div> + </div> + </section> + <script src="/src/js/register.js"></script> + </body> +</html> |
