Minor cleanups. Whitespace / indentation CSS.
There were some CSS classes that were not used in the bookmarks page. Also, fixes a small indentation / code alignment issue
This commit is contained in:
parent
8bbfcc01be
commit
11bf5c8809
@ -267,8 +267,8 @@ def qute_pdfjs(_win_id, request):
|
|||||||
def qute_bookmarks(_win_id, request):
|
def qute_bookmarks(_win_id, request):
|
||||||
"""Handler for qute:bookmarks. Show a list of all quickmarks / bookmarks"""
|
"""Handler for qute:bookmarks. Show a list of all quickmarks / bookmarks"""
|
||||||
|
|
||||||
bookmarks = sorted(objreg.get('bookmark-manager').marks.items(),
|
bookmarks = sorted(objreg.get('bookmark-manager').marks.items(),
|
||||||
key=lambda x: x[1]) # Sort by title
|
key=lambda x: x[1]) # Sort by title
|
||||||
quickmarks = sorted(objreg.get('quickmark-manager').marks.items(),
|
quickmarks = sorted(objreg.get('quickmark-manager').marks.items(),
|
||||||
key=lambda x: x[0]) # Sort by name
|
key=lambda x: x[0]) # Sort by name
|
||||||
|
|
||||||
|
@ -1,26 +1,12 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block script %}
|
|
||||||
var win_id = {{ win_id }};
|
|
||||||
var cset = function(section, option, el) {
|
|
||||||
value = el.value;
|
|
||||||
window.qute.set(win_id, section, option, value);
|
|
||||||
}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
table { border: 1px solid grey; border-collapse: collapse; width: 100%;}
|
table { border: 1px solid grey; border-collapse: collapse; width: 100%;}
|
||||||
pre { margin: 2px; }
|
|
||||||
th, td { border: 1px solid grey; padding: 0px 5px; }
|
th, td { border: 1px solid grey; padding: 0px 5px; }
|
||||||
th { background: lightgrey; }
|
th { background: lightgrey; }
|
||||||
th pre { color: grey; text-align: left; }
|
|
||||||
.noscript, .noscript-text { color:red; }
|
|
||||||
.noscript-text { margin-bottom: 5cm; }
|
|
||||||
h4 { line-height: 1.2em; }
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<noscript><h1 class="noscript">View Only</h1><p class="noscript-text">Changing settings requires javascript to be enabled!</p></noscript>
|
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user