diff --git a/index.html b/index.html index 50196c2..1da8699 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,18 @@ {{.Config.Title}} + + + +
@@ -27,6 +39,15 @@ const UserJWTValid = {{if .JWTAuthOK}}true{{else}}false{{end}}; const UserJWTClaims = {{.JWTClaims.ToJSON}}; const CachedBlocklist = {{.CachedBlocklist}}; + + // Show the photo detail modal. + function setModalImage(url) { + let $modalImg = document.querySelector("#modalImage"), + $modal = document.querySelector("#photo-modal"); + $modalImg.src = url; + $modal.classList.add("is-active"); + return false; + } diff --git a/src/App.vue b/src/App.vue index b8873e0..09f3a78 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,13 @@ - +import LoginModal from './components/LoginModal.vue'; +import ExplicitOpenModal from './components/ExplicitOpenModal.vue'; +import ReportModal from './components/ReportModal.vue'; -