Skip to content

Commit

Permalink
Merge pull request #313 from jwjacobson/list
Browse files Browse the repository at this point in the history
List
  • Loading branch information
jwjacobson authored Sep 19, 2024
2 parents 9c5e59c + b9759af commit d52593f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tune/templates/tune/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ <h5 class="card-title">Tune Search</h5>
<div>
<form hx-post="{% url 'tune:tune_list' %}"
hx-target="#table_count"
hx-swap="outerHTML">
hx-swap="outerHTML"
hx-trigger="submit">
{% csrf_token %}
<label for="basic_search"></label>
<input id="search_term" type="text" name="search_term" value="{{ search_term_string }}" class="ms-0 ps-0">
Expand Down
4 changes: 3 additions & 1 deletion tune/templates/tune/partials/_table_browse.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div id="table_count">
<div class="row mt-4 align-items-end justify-content-evenly">
<div class="col-10">
<h1
Expand Down Expand Up @@ -57,4 +58,5 @@ <h4>
</tr>
{% endfor %}
</tbody>
</table>
</table>
</div>
2 changes: 2 additions & 0 deletions tune/templates/tune/partials/_table_list.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<div id="table_count">
<div class="row mt-4 align-items-end justify-content-evenly">
<div class="col-10">
<h1
Expand Down Expand Up @@ -77,3 +78,4 @@ <h4>
{% endfor %}
</tbody>
</table>
</div>

0 comments on commit d52593f

Please sign in to comment.