Skip to content

Commit

Permalink
Add messages show button.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesturner246 committed Oct 9, 2024
1 parent a6af3ba commit 2891687
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions process_manager/templates/process_manager/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
class="btn btn-danger"
name="action"
onclick="return confirm('Kill selected processes?')">
<button id="message-show"
type="button"
class="btn btn-info"
_="on load hide me on click hide me show #message-panel">Show Messages</button>
<div hx-get="{% url 'process_manager:process_table' %}"
hx-swap="outerHTML"
hx-trigger="load"></div>
Expand All @@ -44,11 +48,11 @@
<div class="card">
<div class="card-header">
Messages
<button class="btn-close"
id="message-hide"
<button id="message-hide"
type="button"
aria-label="Close"
_="on click hide #message-panel"></button>
class="btn-close"
aria-label="Hide Messages"
_="on click hide #message-panel show #message-show"></button>
</div>
<div class="card-body" id="message-list">
<ul class="list-group">
Expand Down

0 comments on commit 2891687

Please sign in to comment.