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>
|
2017-02-05 02:30:02 +00:00
|
|
|
#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>
|
2016-12-18 13:12:14 +00:00
|
|
|
{{header.make_header(session=session)}}
|
2016-11-29 04:18:44 +00:00
|
|
|
<div id="content_body">
|
2017-02-05 02:30:02 +00:00
|
|
|
<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>
|