Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Draft (unfiltered) bookmarks view.
Browse files Browse the repository at this point in the history
  • Loading branch information
alcinnz committed Jun 4, 2020
1 parent 39ea2f9 commit 9d4d6e4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/pages/about-pages.gresource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<file>home</file>
<file>butterick.css</file>
<file>history</file>
<file>bookmarks</file>
<file>credits</file>
<file>privacy</file>
<file>feedreaders</file>
Expand Down
21 changes: 21 additions & 0 deletions data/pages/bookmarks
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>{% trans %}Favourites{% endtrans %}</title>
<style>@import url(odysseus:butterick.css)</style>
</head>
<body>
<nav>
{% query %}SELECT url, title, desc FROM favs;{% each-row %}
<figure>
<a href="{{ url }}" title="{{ desc }}">
<img width="132" height="132"
{% query %}SELECT image FROM screenshot_v2 WHERE uri = {{ url }};
{% each-row %}
src="data:image/png;base64,{{ image }}"
{% endquery %} alt="{{ desc }}" />
</a>
<legend>{{ title }}</legend>
</figure>{% endquery %}
</body>
</html>

0 comments on commit 9d4d6e4

Please sign in to comment.