Edited aesthetics of edit profile form.

Removed stock images in the media folder.
parent b601d081
...@@ -392,4 +392,25 @@ nav a { ...@@ -392,4 +392,25 @@ nav a {
.profile-element { .profile-element {
margin-top: .5rem; margin-top: .5rem;
margin-bottom: .5rem; margin-bottom: .5rem;
}
/*===== EDIT PROFILE FORM =====*/
.edit-profile-container {
margin: 0 auto;
padding: 1rem;
}
.profile-form-container{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 3rem;
}
.profile-submit-button {
border: none;
border-radius: 0.5rem;
padding: .3rem;
background-color: #F9BD82;
} }
\ No newline at end of file
...@@ -9,32 +9,22 @@ ...@@ -9,32 +9,22 @@
{% block content %} {% block content %}
<div class="container"> <div class="edit-profile-container">
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<div class="row"> <div class="">
<div class="col-lg-7 col-md-6">ITEM IMAGE CONTAINER <div class="profile-form-container">
<div class="item-image-container"></div> <div class="">EDIT PROFILE PICTURE
</div> <div class="profile-image-container"></div>
<div class=" col-lg-5 col-md-6">ITEM FORM CONTAINER
<div class="item-form-container">
<form action="" method="POST">
{% csrf_token %}
{{ form.as_p }}
</div> </div>
<button type="submit" name="Add Item"> Save Changes </button> <form action="" method="POST">
{% csrf_token %}
{{ form.as_p }}
<button class="profile-submit-button" type="submit" name="Add Item"> Save Changes </button>
</form> </form>
</div> </div>
</div> </div>
<!--img goes here-->
</div> </div>
<!-- Form with fields:
[Item name]
[Item Description]
[Floor Price] -->
<!-- Image, if no image add image -->
{% endblock %} {% endblock %}
\ No newline at end of file
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