diff --git a/fedcode/templates/user_profile.html b/fedcode/templates/user_profile.html index ca1bdea..5120958 100644 --- a/fedcode/templates/user_profile.html +++ b/fedcode/templates/user_profile.html @@ -19,27 +19,73 @@ tbody tr:nth-child(even):hover { background-color: #d3d3d3 !important; } + + .image-container { + position: relative; + text-align: center; + } + + /* Camera icon styling */ + .edit-button { + position: absolute; + bottom: -5%; + left: 70%; + transform: translateX(-50%); + background-color: #ffffffc6; + color: #252525; + border-radius: 50%; + padding: 10px; + cursor: pointer; + visibility: hidden; + border-color: #ffffffc6; + } + + .image-container:hover .edit-button { + visibility: visible; + } + + .modal { + display: none; + position: fixed; + z-index: 1050; + left: 0; + top: 0; + width: 100%; + height: 100%; + background-color: #000000b3; + justify-content: center; + align-items: center; + } + + .modal-content { + background: #ffffff; + padding: 20px; + border-radius: 5px; + max-width: 500px; + width: 80%; + } + + .modal.is-active { + display: flex; + } {% endblock %} {% block content %}
-
- -
-

- @{{ person.user.username }} -

-

- We use - - gravatar.com +

+
+ Profile Picture +
+
+
+

+ @{{ person.user.username }}

-

{{ person.summary }}

-
@@ -118,4 +162,35 @@
+ + + +{% endblock %} + +{% block scripts %} + {% endblock %} \ No newline at end of file