Reformat templates. Work Completed
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
### GET request to index
|
||||
GET http://{{host}}:{{port}}/
|
||||
|
||||
###
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"dev": {
|
||||
"host": "127.0.0.1",
|
||||
"port": "3000"
|
||||
}
|
||||
}
|
||||
@@ -6,15 +6,20 @@
|
||||
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.8/dist/cdn.min.js"></script>
|
||||
<style>
|
||||
[x-cloak] { display: none !important; }
|
||||
.htmx-indicator{
|
||||
display:none;
|
||||
[x-cloak] {
|
||||
display: none !important;
|
||||
}
|
||||
.htmx-request .htmx-indicator{
|
||||
display:inline;
|
||||
|
||||
.htmx-indicator {
|
||||
display: none;
|
||||
}
|
||||
.htmx-request.htmx-indicator{
|
||||
display:inline;
|
||||
|
||||
.htmx-request .htmx-indicator {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.htmx-request.htmx-indicator {
|
||||
display: inline;
|
||||
}
|
||||
</style>
|
||||
{% block head %}{% endblock %}
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
<header>
|
||||
<h2>Modify RSS Feed subscription</h2>
|
||||
</header>
|
||||
<form id="modify_form" hx-put="/feed/{{feed.id}}" hx-target="#feed_{{feed.id}}" hx-swap="outerHTML" hx-indicator="#mod_indicator" @htmx:after-on-load="document.getElementById('modal').remove()">
|
||||
<form id="modify_form" hx-put="/feed/{{feed.id}}" hx-target="#feed_{{feed.id}}" hx-swap="outerHTML"
|
||||
hx-indicator="#mod_indicator"
|
||||
@htmx:after-on-load="document.getElementById('modal').remove()">
|
||||
<label>
|
||||
Name
|
||||
<input type="text" name="name" value="{{feed.name}}">
|
||||
|
||||
@@ -67,7 +67,8 @@
|
||||
<button form="create_form" type="reset" @click="isModalOpen = false">Close</button>
|
||||
<button form="create_form" type="submit">
|
||||
Submit
|
||||
<img id="indicator" class="htmx-indicator" src="/assets/oval.svg" style="height: 1rem; margin-left: 2px" alt="...">
|
||||
<img id="indicator" class="htmx-indicator" src="/assets/oval.svg" style="height: 1rem; margin-left: 2px"
|
||||
alt="...">
|
||||
</button>
|
||||
</footer>
|
||||
</dialog>
|
||||
|
||||
Reference in New Issue
Block a user