Skip to content

Commit

Permalink
updated signup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hitarth-Vyas committed Dec 20, 2021
1 parent 2bb425d commit 942cd06
Show file tree
Hide file tree
Showing 38 changed files with 29 additions and 17 deletions.
Binary file modified article/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file modified article/__pycache__/admin.cpython-39.pyc
Binary file not shown.
Binary file modified article/__pycache__/apps.cpython-39.pyc
Binary file not shown.
Binary file modified article/__pycache__/forms.cpython-39.pyc
Binary file not shown.
Binary file modified article/__pycache__/models.cpython-39.pyc
Binary file not shown.
Binary file modified article/__pycache__/urls.cpython-39.pyc
Binary file not shown.
Binary file modified article/__pycache__/views.cpython-39.pyc
Binary file not shown.
Binary file modified article/migrations/__pycache__/0001_initial.cpython-39.pyc
Binary file not shown.
Binary file not shown.
Binary file modified article/migrations/__pycache__/0003_comment.cpython-39.pyc
Binary file not shown.
Binary file modified article/migrations/__pycache__/0004_like.cpython-39.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified article/migrations/__pycache__/0007_post_tags.cpython-39.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified article/migrations/__pycache__/0012_tag.cpython-39.pyc
Binary file not shown.
Binary file not shown.
Binary file modified article/migrations/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file modified oop_project/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file modified oop_project/__pycache__/settings.cpython-39.pyc
Binary file not shown.
Binary file modified oop_project/__pycache__/urls.cpython-39.pyc
Binary file not shown.
Binary file modified oop_project/__pycache__/wsgi.cpython-39.pyc
Binary file not shown.
Binary file modified user/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file modified user/__pycache__/admin.cpython-39.pyc
Binary file not shown.
Binary file modified user/__pycache__/apps.cpython-39.pyc
Binary file not shown.
Binary file modified user/__pycache__/forms.cpython-39.pyc
Binary file not shown.
Binary file modified user/__pycache__/models.cpython-39.pyc
Binary file not shown.
Binary file modified user/__pycache__/signals.cpython-39.pyc
Binary file not shown.
Binary file modified user/__pycache__/views.cpython-39.pyc
Binary file not shown.
Binary file modified user/migrations/__pycache__/0001_initial.cpython-39.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified user/migrations/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
46 changes: 29 additions & 17 deletions user/templates/user/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign up</title>

<style>
.cont {
border: 1px solid gray;
max-width: 600px;
border-radius: 7px;
}

.cont button {
background-color: #ed64a6;
color: white;
}
</style>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body>
Expand All @@ -51,24 +64,23 @@
<div class="card-body p-md-2">
<div class="row justify-content-center">
<div class="col-md-10 col-lg-6 col-xl-5 order-2 order-lg-1">

<p class="text-center h1 fw-bold mb-5 mx-1 mx-md-1 mt-4">ArticleGate-Signup</p>

<div class="container cont">
<p class="text-center h1 fw-bold mb-3 mx-1 mx-md-1 mt-4">ArticleGate-Signup</p>
<form method="POST" class="mx-1 mx-md-4">
{% csrf_token %}


<form method="POST" class="mx-1 mx-md-4">
{% csrf_token %}

<div>
<fieldset>
{{ form|crispy }}
</fieldset>
</div>
<button type="submit" class="btn btn-light border">Signup</button>
</form>
Already have an account ? <a href="{% url 'login' %}">Sign In</a>


<div>
<fieldset>
{{ form|crispy }}
</fieldset>
</div>
<button type="submit" class="btn btn-light border">Signup</button>
</form>

<div class="mx-4 my-2 account">
Already have an account ? <a href="{% url 'login' %}" class="mx-6">Sign In</a>
</div>
</div>
</div>
<div class="col-md-10 col-lg-6 col-xl-7 d-flex align-items-center order-1 order-lg-2">

Expand Down

0 comments on commit 942cd06

Please sign in to comment.