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