Show hostname in history page.
This commit is contained in:
parent
38294c1ca6
commit
18082526f4
@ -47,6 +47,13 @@ table {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hostname {
|
||||
color: #858585;
|
||||
font-size: 0.9em;
|
||||
margin-left: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h1>Browsing history</h1>
|
||||
|
@ -111,7 +111,11 @@ window.loadHistory = (function() {
|
||||
var link = document.createElement("a");
|
||||
link.href = itemUrl;
|
||||
link.innerHTML = itemTitle;
|
||||
var host = document.createElement("span");
|
||||
host.className = "hostname";
|
||||
host.innerHTML = link.hostname;
|
||||
title.appendChild(link);
|
||||
title.appendChild(host);
|
||||
|
||||
var time = document.createElement("td");
|
||||
time.className = "time";
|
||||
|
Loading…
Reference in New Issue
Block a user