Commit efbfd30d authored by Thathsarani R.P.H.S.R's avatar Thathsarani R.P.H.S.R

Modified register.html

parent 4432a417
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>zenBot Conversation</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<!------ display shortcut icon ------>
<link rel = "shortcut icon" href = "../static/logo.png">
<style>
.navbar {
background-color: #0b0b45;
}
.container {
border-radius: 10px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body style="background-image: url(../static/);">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
<nav class="navbar">
<div class="container-fluid">
<!-- <a class="navbar-brand" href="#">
<img src="logo.png" alt="" width="30" height="24" class="d-inline-block align-text-top">
zenFlow
</a> -->
<img src="../static/logo.svg" alt="" width="200" height="50" style="position: relative; left: 45%;">
<form class="d-flex">
<input class="form-control me-2" type="search" placeholder="Search" aria-label="Search" hidden>
<!-- <button class="btn btn-outline-primary" type="submit">Register</button> -->
</form>
</div>
</nav>
<div class="container mt-5" style="background-color: white; width : 50%; justify-content: center;">
<br>
<form action="/register" method="post"></form>
<center> <h3 style="color: #0b0b45;">Create Account for zenBot</h3> </center>
<hr style="border: 2px #0b0b45 solid;">
<br>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label"> <b> Username </b> </label>
<input type="text" class="form-control" id="exampleFormControlInput1" placeholder="Enter User's Username" required>
</div>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label"> <b> Password </b> </label>
<input type="password" class="form-control" id="exampleFormControlInput1" placeholder="Enter Password for User" required>
</div>
<br>
<div class="d-grid gap-2 d-md-block" style="float: right;">
<button class="btn btn-success" type="reset">Reset</button>
<button class="btn btn-primary" type="submit">Submit</button>
</div>
<br>
<br>
</form>
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register</title>
<link rel="stylesheet" href="../static/style.css">
<script src="../static/script.js"> </script>
</head>
<body>
<h2>Register</h2>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul class="flash-messages">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
<form method="POST" action="/register">
<label for="username">Username:</label>
<input type="text" name="username" required><br>
<label for="password">Password:</label>
<input type="password" name="password" required><br>
<button type="submit">Register</button>
</form>
<p>Already have an account? <a href="/login">Login here</a></p>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment