Initial Commit
This commit is contained in:
24
templates/feed.html
Normal file
24
templates/feed.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<tr id="feed_{{feed.id}}">
|
||||
<td>{{feed.name}}</td>
|
||||
<td>{{feed.feed_url}}</td>
|
||||
<td>{{feed.last_pub_date.clone().unwrap_or("None".to_string())}}</td>
|
||||
<td>
|
||||
<button hx-get="/feed/{{feed.id}}/edit/inline"
|
||||
hx-target="#feed_{{feed.id}}"
|
||||
hx-swap="outerHTML">
|
||||
Edit Inline
|
||||
</button>
|
||||
<button hx-get="/feed/{{feed.id}}/edit/form"
|
||||
hx-target="body"
|
||||
hx-swap="beforeend">
|
||||
Edit Dialog
|
||||
</button>
|
||||
<button class="danger"
|
||||
hx-confirm="Are you sure?"
|
||||
hx-delete="/feed/{{feed.id}}"
|
||||
hx-target="#feed_{{feed.id}}"
|
||||
hx-swap="outerHTML">
|
||||
Delete
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
Reference in New Issue
Block a user