etiquette/templates/bookmarks.html

59 lines
1.2 KiB
HTML
Raw Normal View History

2016-11-29 04:18:44 +00:00
<!DOCTYPE html5>
<html>
<head>
{% import "header.html" as header %}
<title>Bookmarks</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="/static/common.css">
<script src="/static/common.js"></script>
<style>
#bookmarks
{
display: flex;
flex: 0 0 auto;
flex-direction: column;
}
.bookmark_card
{
background-color: #ffffd4;
display: inline-flex;
flex: 0 0 auto;
flex-direction: column;
padding: 8px;
margin: 8px;
border-radius: 8px;
}
.bookmark_card .bookmark_url
{
color: #aaa;
}
2016-11-29 04:18:44 +00:00
</style>
</head>
<body>
{{header.make_header(session=session)}}
2016-11-29 04:18:44 +00:00
<div id="content_body">
<div id="bookmarks">
{% for bookmark in bookmarks %}
<div class="bookmark_card">
<a href="{{bookmark.url}}" class="bookmark_title">
{% if bookmark.title %}
{{bookmark.title}}
{% else %}
{{bookmark.id}}
{% endif %}
</a>
<a href="{{bookmark.url}}" class="bookmark_url">{{bookmark.url}}</a>
</div>
{% endfor %}
</div>
2016-11-29 04:18:44 +00:00
</div>
</body>
<script type="text/javascript">
</script>
</html>