templates/signup.html (73 lines of code) (raw):
<!-- Copyright 2022 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="{% static 'assets/images/favicon.png' %}" rel="icon" type="image/png">
<title>Sign Up - Pet Social Media</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{% static 'assets/css/icons.css' %}">
<link rel="stylesheet" href="{% static 'assets/css/uikit.css' %}">
<link rel="stylesheet" href="{% static 'assets/css/style.css' %}">
<link rel="stylesheet" href="{% static 'assets/css/tailwind.css' %}">
</head>
<body class="bg-gray-100">
<div id="wrapper" class="flex flex-col justify-between h-screen">
<!-- header-->
<div class="bg-white py-4 shadow dark:bg-gray-800">
<div class="max-w-6xl mx-auto">
<div class="flex items-center lg:justify-between justify-around">
<b><h1 style="font-size: 1.5rem;">Pet Social Media</h1></b>
<div class="capitalize flex font-semibold hidden lg:block my-2 space-x-3 text-center text-sm">
<a href="/signin" class="bg-pink-500 pink-500 px-6 py-3 rounded-md shadow text-white">Login</a>
</div>
</div>
</div>
</div>
<!-- Content-->
<div>
<div class="lg:p-12 max-w-md max-w-xl lg:my-0 my-12 mx-auto p-6 space-y-">
<h1 class="lg:text-3xl text-xl font-semibold mb-6"> Sign Up</h1>
<!--<p class="mb-2 text-black text-lg"> Register to manage your account </p>-->
<div>
<style>
h5{
color: red;
}
</style>
{% for message in messages %}
<h5>{{message}}</h5>
{% endfor %}
</div>
<form action="" method="POST">
{% csrf_token %}
<input type="text" id="username" name="username" placeholder="Username" class="bg-gray-200 mb-2 shadow-none dark:bg-gray-800" style="border: 1px solid #d3d5d8 !important;">
<input type="email" id="name" name="email" placeholder="Email" class="bg-gray-200 mb-2 shadow-none dark:bg-gray-800" style="border: 1px solid #d3d5d8 !important;">
<input type="password" id="password" name="password" placeholder="Password" class="bg-gray-200 mb-2 shadow-none dark:bg-gray-800" style="border: 1px solid #d3d5d8 !important;">
<input type="password" id="password2" name="password2" placeholder="Confirm Password" class="bg-gray-200 mb-2 shadow-none dark:bg-gray-800" style="border: 1px solid #d3d5d8 !important;">
<button type="submit" class="bg-gradient-to-br from-pink-500 py-3 rounded-md text-white text-xl to-red-400 w-full">Sign Up</button>
<div class="text-center mt-5 space-x-2">
<p class="text-base"> Do you have an account? <a href="/signin"> Login </a></p>
</div>
</form>
</div>
</div>
<!-- Footer -->
<div class="lg:mb-5 py-3 uk-link-reset">
<div class="flex flex-col items-center justify-between lg:flex-row max-w-6xl mx-auto lg:space-y-0 space-y-3">
<div class="flex space-x-2 text-gray-700 uppercase">
<a href="#"> About</a>
<a href="#"> Help</a>
<a href="#"> Terms</a>
<a href="#"> Privacy</a>
</div>
<p class="capitalize"> © copyright 2022 by Google</p>
</div>
</div>
</div>
</script>-->
<!-- Scripts
================================================== -->
<script src="{% static 'assets/js/tippy.all.min.js' %}"></script>
<script src="{% static 'assets/js/jquery-3.3.1.min.js' %}"></script>
<script src="{% static 'assets/js/uikit.js' %}"></script>
<script src="{% static 'assets/js/simplebar.js' %}"></script>
<script src="{% static 'assets/js/custom.js' %}"></script>
</body>
</html>