mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
ui: tweak head insert text for proxy
This commit is contained in:
parent
2ca4757599
commit
92daad3b2b
@ -73,10 +73,9 @@ function init_banner() {
|
|||||||
if (wbinfo.proxy_magic && wbinfo.url) {
|
if (wbinfo.proxy_magic && wbinfo.url) {
|
||||||
var select_url = wbinfo.proxy_magic + "/" + wbinfo.url;
|
var select_url = wbinfo.proxy_magic + "/" + wbinfo.url;
|
||||||
var query_url = wbinfo.proxy_magic + "/*/" + wbinfo.url;
|
var query_url = wbinfo.proxy_magic + "/*/" + wbinfo.url;
|
||||||
|
text += ' <a target="_self" href="//query.' + query_url + '">All Capture Times</a>';
|
||||||
text += '<br/>'
|
text += '<br/>'
|
||||||
text += 'From <b>' + wbinfo.coll + '</b> <a href="//select.' + select_url + '">[Switch]</a>';
|
text += 'From collection <b>' + wbinfo.coll + '</b> <a target="_self" href="//select.' + select_url + '">All Collections</a>';
|
||||||
text += ' ';
|
|
||||||
text += '<a href="//query.' + query_url + '">View All Captures</a>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
banner.innerHTML = text;
|
banner.innerHTML = text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user