2022-06-06 22:05:56 +09:30
|
|
|
|
|
|
|
<table id="manage-results">
|
|
|
|
<tr>
|
|
|
|
<th> </th>
|
2025-05-01 23:39:51 +09:30
|
|
|
<th>title</th>
|
2022-06-06 22:05:56 +09:30
|
|
|
<th>tags</th>
|
2025-05-01 23:39:51 +09:30
|
|
|
<th>created</th>
|
|
|
|
<th>scraped</th>
|
2022-06-06 22:05:56 +09:30
|
|
|
</tr>
|
2025-05-01 23:39:51 +09:30
|
|
|
{{ range .results }}
|
2022-06-06 22:05:56 +09:30
|
|
|
<tr>
|
2025-05-01 23:39:51 +09:30
|
|
|
<th><a class="button" href="/edit/{{ .Bookmark.ID }}">edit</a></th>
|
2022-06-06 22:05:56 +09:30
|
|
|
<td>
|
2025-05-01 23:39:51 +09:30
|
|
|
<a href="{{ .Bookmark.URL }}">{{ .Bookmark.Info.Title }}</a>
|
2022-06-06 22:05:56 +09:30
|
|
|
<br>
|
2025-05-01 23:39:51 +09:30
|
|
|
<a href="{{ .Bookmark.URL }}">{{ niceURL .Bookmark.URL }}</a>
|
2022-06-06 22:05:56 +09:30
|
|
|
</td>
|
|
|
|
<td>
|
2025-05-01 23:39:51 +09:30
|
|
|
{{ range .Bookmark.Tags }}
|
2022-06-06 22:05:56 +09:30
|
|
|
<span class="label primary">{{ . }}</span>
|
|
|
|
{{ end }}
|
|
|
|
</td>
|
2025-05-01 23:39:51 +09:30
|
|
|
<td class="show-for-large">{{ (nicetime .Bookmark.TimestampCreated).HumanDuration }} ago</td>
|
|
|
|
<td class="show-for-large">{{ (nicetime .Bookmark.TimestampLastScraped).HumanDuration }} ago</td>
|
2022-06-06 22:05:56 +09:30
|
|
|
|
|
|
|
<td>
|
2025-05-01 23:39:51 +09:30
|
|
|
<a class="button" hx-swap="outerHTML" hx-post="/scrape/{{ .Bookmark.ID }}">scrape</button>
|
2022-06-06 22:05:56 +09:30
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|