diff --git a/acmsite/templates/admin/index.html b/acmsite/templates/admin/index.html index 6665263..290ff60 100644 --- a/acmsite/templates/admin/index.html +++ b/acmsite/templates/admin/index.html @@ -4,4 +4,7 @@
Use the navbar up top to navigate to a user dashboard, event dashboard, and bulk mail tool (when/if it works...).
+ +Update your Officer photo here {% endblock app_content %} diff --git a/acmsite/templates/admin/officer_photo.html b/acmsite/templates/admin/officer_photo.html index ea3cdf6..26cc425 100644 --- a/acmsite/templates/admin/officer_photo.html +++ b/acmsite/templates/admin/officer_photo.html @@ -25,8 +25,6 @@ - - @@ -40,7 +38,6 @@ img_h = document.querySelector('.img-h'), options = document.querySelector('.options'), save = document.querySelector('.save'), cropped = document.querySelector('.cropped'), -dwn = document.querySelector('.download'), upload = document.querySelector('#file-input'), cropper = ''; @@ -95,9 +92,6 @@ save.addEventListener('click', e => { window.location = `/admin/officer/${user_id}` } }); - dwn.classList.remove('hide'); - dwn.download = 'imagename.png'; - dwn.setAttribute('href', imgSrc); }); {% endblock %}