Commit 77ec488e authored by Romain Loth's avatar Romain Loth

fix some more url typos

parent f249d538
......@@ -284,8 +284,8 @@ def login():
if safe_flag:
# if relative
if next_url[0] == '/':
next_url = url_for('rootstub', _external=True) + next_url
mlog("INFO", "reabsoluted next_url:", next_url[1:])
next_url = url_for('rootstub', _external=True) + next_url[1:]
mlog("DEBUG", "reabsoluted next_url:", next_url)
return(redirect(next_url))
else:
......
......@@ -55,14 +55,14 @@
<div class="panel panel-default">
<div class="panel-heading">
<p style="float:right">
<a target="_blank" href="http://localhost/explorerjs.html?type=%22filter%22&nodeidparam=%22%257B%257D%22">
<a target="_blank" href="/explorerjs.html?type=%22filter%22&nodeidparam=%22%257B%257D%22">
<span class="glyphicon glyphicon-new-window"></span>
Open in another window
</a>
</p>
</div>
<div class="panel-body wwwthumb">
<iframe src="http://localhost/explorerjs.html?type=%22filter%22&nodeidparam=%22%257B%257D%22" class="wwwthumbsmall" frameborder="0" scrolling="yes">
<iframe src="/explorerjs.html?type=%22filter%22&nodeidparam=%22%257B%257D%22" class="wwwthumbsmall" frameborder="0" scrolling="yes">
<p>Your web browser doesn't support iframes. :(</p>
</iframe>
</div>
......@@ -99,14 +99,14 @@
<div class="panel panel-default wwwpanel">
<div class="panel-heading">
<p style="float:right">
<a target="_blank" href="http://localhost/services/user/{% if current_user.info %}profile{% else %}register{% endif %}">
<a target="_blank" href="/services/user/{% if current_user.info %}profile{% else %}register{% endif %}">
<span class="glyphicon glyphicon-new-window"></span>
Open in another window
</a>
</p>
</div>
<div class="panel-body wwwthumb">
<iframe src="http://localhost/services/user/{% if current_user.info %}profile{% else %}register{% endif %}" class="wwwthumb" frameborder="0" scrolling="yes">
<iframe src="/services/user/{% if current_user.info %}profile{% else %}register{% endif %}" class="wwwthumb" frameborder="0" scrolling="yes">
<p>Your web browser doesn't support iframes. :(</p>
</iframe>
</div>
......@@ -145,14 +145,14 @@
<div class="panel panel-default wwwpanel">
<div class="panel-heading">
<p style="float:right">
<a target="_blank" href="http://localhost/index.html">
<a target="_blank" href="/index.html">
<span class="glyphicon glyphicon-new-window"></span>
Open in another window
</a>
</p>
</div>
<div class="panel-body wwwthumb">
<iframe src="http://localhost/queries.html" class="wwwthumb" frameborder="0" scrolling="yes">
<iframe src="/queries.html" class="wwwthumb" frameborder="0" scrolling="yes">
<p>Your web browser doesn't support iframes. :(</p>
</iframe>
</div>
......@@ -184,14 +184,14 @@
<div class="panel panel-default wwwpanel">
<div class="panel-heading">
<p style="float:right">
<a target="_blank" href="http://localhost/print_directory.php?query=%7B%7D">
<a target="_blank" href="/print_directory.php?query=%7B%7D">
<span class="glyphicon glyphicon-new-window"></span>
Open in another window
</a>
</p>
</div>
<div class="panel-body wwwthumb">
<iframe src="http://localhost/print_directory.php?query=%7B%7D" class="wwwthumb" frameborder="0" scrolling="yes">
<iframe src="/print_directory.php?query=%7B%7D" class="wwwthumb" frameborder="0" scrolling="yes">
<p>Your web browser doesn't support iframes. :(</p>
</iframe>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment