Skip to content

Commit

Permalink
Updated icons for register/login fields
Browse files Browse the repository at this point in the history
also fixed issue with registration
  • Loading branch information
noahcussatti committed Oct 29, 2023
1 parent 8fd9316 commit 5d85b4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ACMAS/app/ACMAS_Web/templates/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ <h1 class="text-5xl font-semibold text-white leading-tight -mt-8 mb-6" style="co
<div class="flex items-center space-x-6 p-6 bg-white rounded-xl shadow-lg hover:shadow-xl transition duration-500">
<div class="flex-col flex space-y-4 w-full">
<div class="grid gap-6 md:grid-cols-2 w-full">
{% component "field" component_type="text" placeholder="Enter username..." name="username" icon_name="academic-cap" %}
{% component "field" component_type="text" placeholder="Enter email..." name="email" icon_name="academic-cap" %}
{% component "field" component_type="password" placeholder="Enter password..." name="password" icon_name="academic-cap" %}
{% component "field" component_type="password" placeholder="Confirm password..." name="password" icon_name="academic-cap" %}
{% component "field" component_type="text" placeholder="Enter username..." name="username" icon_name="user" %}
{% component "field" component_type="text" placeholder="Enter email..." name="email" icon_name="inbox" %}
{% component "field" component_type="password" placeholder="Enter password..." name="password1" icon_name="lock-closed" %}
{% component "field" component_type="password" placeholder="Confirm password..." name="password2" icon_name="lock-closed" %}
</div>
</div>
<div class="mx-auto">
Expand Down
4 changes: 2 additions & 2 deletions ACMAS/app/ACMAS_Web/templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ <h1 class="text-5xl font-semibold text-white leading-tight -mt-8 mb-6" style="co
<form method="POST" class="form-group"> {% csrf_token %}
<div class="flex items-center space-x-6 p-6 bg-white rounded-xl shadow-lg hover:shadow-xl transition duration-500">
<div class="flex-col flex space-y-4 w-full">
{% component "field" component_type="text" placeholder="Enter username..." name="username" icon_name="academic-cap" %}
{% component "field" component_type="password" placeholder="Enter password..." name="password" icon_name="academic-cap" %}
{% component "field" component_type="text" placeholder="Enter username..." name="username" icon_name="user" %}
{% component "field" component_type="password" placeholder="Enter password..." name="password" icon_name="lock-closed" %}
</div>
<div class="mx-auto">
{% component "button" text="Login" component_type="primary" value="submit" %}
Expand Down

0 comments on commit 5d85b4b

Please sign in to comment.