2022-05-24 18:03:31 +09:30
|
|
|
<div class="grid-x grid-padding-x">
|
|
|
|
<div class="large-12 cell">
|
|
|
|
|
2022-05-26 06:41:17 +09:30
|
|
|
<h5>Manage links</h5>
|
2022-05-24 18:03:31 +09:30
|
|
|
|
|
|
|
<table>
|
2022-05-26 06:41:17 +09:30
|
|
|
<tr>
|
2022-05-30 13:28:46 +09:30
|
|
|
<th> </th>
|
2022-05-26 06:41:17 +09:30
|
|
|
<th>title/url</th>
|
|
|
|
<th>tags</th>
|
|
|
|
<th class="show-for-large">created</th>
|
|
|
|
<th class="show-for-large">scraped</th>
|
|
|
|
</tr>
|
2022-05-24 18:03:31 +09:30
|
|
|
{{ range .bookmarks }}
|
|
|
|
<tr>
|
2022-05-30 13:28:46 +09:30
|
|
|
<th><a class="button" href="/edit/{{ .ID }}">edit</a></th>
|
2022-05-24 18:03:31 +09:30
|
|
|
<td>
|
|
|
|
<a href="{{ .URL }}">{{ .Info.Title }}</a>
|
|
|
|
<br>
|
|
|
|
<a href="{{ .URL }}">{{ niceURL .URL }}</a>
|
|
|
|
</td>
|
2022-05-26 06:41:17 +09:30
|
|
|
<td>
|
2022-05-27 22:00:24 +09:30
|
|
|
{{ range .Tags }}
|
|
|
|
<span class="label primary">{{ . }}</span>
|
|
|
|
{{ end }}
|
2022-05-26 06:41:17 +09:30
|
|
|
</td>
|
|
|
|
<td class="show-for-large">{{ (nicetime .TimestampCreated).HumanDuration }} ago</td>
|
|
|
|
<td class="show-for-large">{{ (nicetime .TimestampLastScraped).HumanDuration }} ago</td>
|
2022-05-24 18:03:31 +09:30
|
|
|
|
|
|
|
<td>
|
2022-05-26 06:41:17 +09:30
|
|
|
<a class="button" hx-swap="outerHTML" hx-post="/scrape/{{ .ID }}">scrape</button>
|
2022-05-24 18:03:31 +09:30
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|