etiquette/templates/bookmarks.html
Ethan Dalool 8b05a26ff7 checkpoint
Add Bookmark class; Add user.html; Add more commit loggers; Fix warning_bag attributeerror when it was None
2017-02-04 18:30:02 -08:00

58 lines
1.2 KiB
HTML

<!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;
}
</style>
</head>
<body>
{{header.make_header(session=session)}}
<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>
</div>
</body>
<script type="text/javascript">
</script>
</html>