-
-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added rating and indicator in "instant_search_with_htmx"
- Loading branch information
1 parent
4b8b89d
commit 34238a4
Showing
9 changed files
with
179 additions
and
140 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,18 @@ | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css" /> | ||
<script src="https://cdn.jsdelivr.net/npm/htmx.org/dist/htmx.min.js"></script> | ||
</head> | ||
<body> | ||
<section class="section"> | ||
<body hx-indicator="#spinner"> | ||
<section class="section" > | ||
<div class="columns"> | ||
<div class="column is-one-third is-offset-one-third"> | ||
<input type="text" class="input" placeholder="Search" name="query" hx-get="/search" | ||
<input type="text" class="input" placeholder="Search" name="query" hx-get="/search" | ||
hx-trigger="keyup changed delay:500ms" hx-target="#results" hx-push-url="true" /> | ||
</div> | ||
<div class="column is-one-third"> | ||
<p class="subtitle is-6">⭐ DMVCFramework + HTMX :: Instant Search Demo ⭐</p> | ||
</div> | ||
</div> | ||
<progress id="spinner" class="htmx-indicator progress is-large is-info" max="100">ciao</progress> | ||
<div id="results">{{include "search_results.html"}}</div> | ||
</section> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.