qutebrowser/qutebrowser/html/bookmarks.html

67 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "styled.html" %}
{% block style %}
{{super()}}
2017-02-21 11:42:38 +01:00
h1 {
margin-bottom: 10px;
}
.url a {
color: #444;
}
th {
text-align: left;
}
.qmarks .name {
padding-left: 5px;
}
.empty-msg {
2017-02-21 11:42:38 +01:00
background-color: #f8f8f8;
color: #444;
display: inline-block;
text-align: center;
width: 100%;
}
{% endblock %}
{% block content %}
2017-02-21 11:42:38 +01:00
<h1>Quickmarks</h1>
{% if quickmarks|length %}
<table class="qmarks">
<tbody>
{% for name, url in quickmarks %}
<tr>
2017-02-21 11:42:38 +01:00
<td class="name"><a href="{{url}}">{{name}}</a></td>
<td class="url"><a href="{{url}}">{{url}}</a></td>
</tr>
{% endfor %}
2017-02-21 11:42:38 +01:00
</tbody>
</table>
{% else %}
<span class="empty-msg">You have no quickmarks</span>
2017-02-21 11:42:38 +01:00
{% endif %}
<h1>Bookmarks</h1>
{% if bookmarks|length %}
<table class="bmarks">
<tbody>
{% for url, title in bookmarks %}
<tr>
2017-02-23 15:29:49 +01:00
<td class="name"><a href="{{url}}">{{title | default(url, true)}}</a></td>
2017-02-21 11:42:38 +01:00
<td class="url"><a href="{{url}}">{{url}}</a></td>
</tr>
{% endfor %}
2017-02-21 11:42:38 +01:00
</tbody>
</table>
2017-02-21 11:42:38 +01:00
{% else %}
<span class="empty-msg">You have no bookmarks</span>
2017-02-21 11:42:38 +01:00
{% endif %}
{% endblock %}