Skip to content

Commit

Permalink
ren uploaderX to uploaderHtmx
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Apr 1, 2024
1 parent e5938e9 commit 0be842c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion view/app/layout.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<div class="container-xxl">
{{- block "modal" . -}}{{ "<!-- Modal popup content here -->" | safeHTML -}}{{end}}
{{- block "uploader" . -}}{{ "<!-- Uploader content here -->" | safeHTML -}}{{end}}
{{- block "uploaderX" . -}}{{ "<!-- Uploader content here -->" | safeHTML -}}{{end}}
{{- block "uploaderHtmx" . -}}{{ "<!-- Uploader htmx content here -->" | safeHTML -}}{{end}}
<hr>
{{- if eq (index . "dbError") true -}}
<div class="alert alert-danger" role="alert">
Expand Down
8 changes: 4 additions & 4 deletions view/app/uploaderHtmx.tmpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{- /* uploaderHtmx.tmpl */}}
{{- define "uploaderX" -}}
<div class="modal fade" id="uploader-demozoo" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="uploaderDZXLabel" aria-hidden="true">
{{- define "uploaderHtmx" -}}
<div class="modal fade" id="uploader-demozoo" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="uploader-demozoo-label" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="uploaderDZXLabel">Demozoo production or graphic</h1>
<h1 class="modal-title fs-5" id="uploader-demozoo-label">Demozoo production or graphic</h1>
<button type="button" id="demozoo-submission-close" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Expand Down Expand Up @@ -39,7 +39,7 @@
<div class="modal-footer"></div>
</div>
</div>
</div>
</div>
<script defer>(() => {
const closeBtn = document.getElementById("demozoo-submission-close");
const input = document.getElementById("demozoo-submission");
Expand Down
2 changes: 1 addition & 1 deletion view/app/uploader_null.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{- /* uploader_null.tmpl */}}
{{- define "uploader" -}}{{end}}
{{- define "uploaderX" -}}{{end}}
{{- define "uploaderHtmx" -}}{{end}}

0 comments on commit 0be842c

Please sign in to comment.