1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

ui: tweak head insert text for proxy

This commit is contained in:
Ilya Kreymer 2014-07-31 18:56:35 -07:00
parent 2ca4757599
commit 92daad3b2b

View File

@ -73,10 +73,9 @@ function init_banner() {
if (wbinfo.proxy_magic && wbinfo.url) {
var select_url = wbinfo.proxy_magic + "/" + wbinfo.url;
var query_url = wbinfo.proxy_magic + "/*/" + wbinfo.url;
text += '&nbsp;<a target="_self" href="//query.' + query_url + '">All Capture Times</a>';
text += '<br/>'
text += 'From <b>' + wbinfo.coll + '</b>&nbsp;<a href="//select.' + select_url + '">[Switch]</a>';
text += '&nbsp;&nbsp;';
text += '<a href="//query.' + query_url + '">View All Captures</a>';
text += 'From collection <b>' + wbinfo.coll + '</b>&nbsp;<a target="_self" href="//select.' + select_url + '">All Collections</a>';
}
banner.innerHTML = text;