Compare commits
2 Commits
7d1be226b6
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 791dd3b0c4 | |||
| 3d6a853be0 |
@@ -13,7 +13,7 @@ A simple, lightweight web application for managing user profile photos in a Free
|
|||||||
## Prerequisites
|
## Prerequisites
|
||||||
* **Go 1.26+** installed on your machine.
|
* **Go 1.26+** installed on your machine.
|
||||||
* Access to a **FreeIPA Server**.
|
* Access to a **FreeIPA Server**.
|
||||||
* A Service Account with permission to search and modify the `jpegPhoto` attribute.
|
* A Service Account with permission to search and modify the `jpegPhoto` attribute and read the `krbPasswordExpiration` attribute.
|
||||||
|
|
||||||
## Setup & Installation
|
## Setup & Installation
|
||||||
|
|
||||||
|
|||||||
@@ -88,17 +88,6 @@
|
|||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--<div id="password_errors">
|
|
||||||
<div class="password_error">Error 1</div>
|
|
||||||
<div class="password_error">Error 2</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="password_warnings">
|
|
||||||
<div class="password_error">Error 1</div>
|
|
||||||
<div class="password_error">Error 2</div>
|
|
||||||
</div>-->
|
|
||||||
|
|
||||||
<button id="final_change_password_button">Change Password</button>
|
<button id="final_change_password_button">Change Password</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -107,7 +96,12 @@
|
|||||||
<img id="new_profile_image" alt="new-profile-image" />
|
<img id="new_profile_image" alt="new-profile-image" />
|
||||||
<div id="darken_part"></div>
|
<div id="darken_part"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="resize_photo_box"></div>
|
<div id="resize_photo_box">
|
||||||
|
<div id="top_left_resize" class="resize_anchor"></div>
|
||||||
|
<div id="top_right_resize" class="resize_anchor"></div>
|
||||||
|
<div id="bottom_left_resize" class="resize_anchor"></div>
|
||||||
|
<div id="bottom_right_resize" class="resize_anchor"></div>
|
||||||
|
</div>
|
||||||
<button id="confirm_change">Confirm Change</button>
|
<button id="confirm_change">Confirm Change</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+22
-19
@@ -200,23 +200,26 @@
|
|||||||
z-index: 4;
|
z-index: 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
.resize_anchor {
|
||||||
|
|
||||||
#resize_photo_box:hover {
|
|
||||||
cursor: grab;
|
|
||||||
}
|
|
||||||
|
|
||||||
#new_profile_image {
|
|
||||||
height: 350px;
|
|
||||||
position: absolute;
|
|
||||||
transform: translateX(5px) translateY(5px);
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#image_container {
|
|
||||||
height: 350px;
|
|
||||||
width: fit-content;
|
|
||||||
position: absolute;
|
|
||||||
background-color: red;
|
background-color: red;
|
||||||
}*/
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#top_left_resize {
|
||||||
|
transform: translateX(-50%) translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
#top_right_resize {
|
||||||
|
transform: translateX(340px) translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
#bottom_left_resize {
|
||||||
|
transform: translateY(340px) translateX(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
#bottom_right_resize {
|
||||||
|
transform: translateX(340px) translateY(340px);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user