diff options
author | Florian Bruhin <git@the-compiler.org> | 2018-02-12 22:54:43 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2018-02-12 22:54:43 +0100 |
commit | 9f163d90e1ced1fcbb160b5d4877c06b4b7092e8 (patch) | |
tree | 2112b8d23a421261d3648c62afcb6001fa82d93a /qutebrowser/html | |
parent | 15fd5526164cf64b3b6163f2152c8cd7e329071f (diff) | |
parent | ca199b0d3dc1fd6c7aab41e0832a90203ced396f (diff) | |
download | qutebrowser-9f163d90e1ced1fcbb160b5d4877c06b4b7092e8.tar.gz qutebrowser-9f163d90e1ced1fcbb160b5d4877c06b4b7092e8.zip |
Merge remote-tracking branch 'origin/pr/3450'
Diffstat (limited to 'qutebrowser/html')
-rw-r--r-- | qutebrowser/html/tabs.html | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/qutebrowser/html/tabs.html b/qutebrowser/html/tabs.html new file mode 100644 index 000000000..fff8bdca3 --- /dev/null +++ b/qutebrowser/html/tabs.html @@ -0,0 +1,58 @@ +{% extends "styled.html" %} + +{% block style %} +{{super()}} +h1 { + margin-bottom: 10px; +} + +.url a { + color: #444; +} + +th { + text-align: left; +} + +.qmarks .name { + padding-left: 5px; +} + +.empty-msg { + background-color: #f8f8f8; + color: #444; + display: inline-block; + text-align: center; + width: 100%; +} + +details { + margin-top: 20px; +} +{% endblock %} + +{% block content %} + +<h1>Tab list</h1> +{% for win_id, tabs in tab_list_by_window.items() %} +<h2>Window {{ win_id }}</h2> +<table class="tabs_win{{win_id}}"> + <tbody> + {% for name, url in tabs %} + <tr> + <td class="name"><a href="{{url}}">{{name}}</a></td> + <td class="url"><a href="{{url}}">{{url}}</a></td> + </tr> + {% endfor %} + </tbody> +</table> +{% endfor %} +<details> + <summary>Raw list</summary> +<code> +{% for win_id, tabs in tab_list_by_window.items() %}{% for name, url in tabs %} +{{url}}</br>{% endfor %} +{% endfor %} +</code> +</details> +{% endblock %} |