Commit 8c849eb4 authored by Marc Duez's avatar Marc Duez

server : redirect page vidjil

parent af119810
{{('message' in globals())}}
{{extend 'layout.html'}}
<html>
<header>
<title>Hi!</title>
<script>
function init() {
var browser_url = document.URL.replace("/vidjil/default/index#", "/browser")
.replace("/vidjil", "/browser")
.replace("https", "http")
var database_url = document.URL.replace("/default/index#", "/")
.replace("/vidjil", "/vidjil/")
document.getElementById("browser").href = browser_url
document.getElementById("db").innerHTML = database_url
}
</script>
</header>
<body onload="init()">
<h4>Hi!</h4>
It seems you've found me ... nice to meet you.
</br></br>
I'm a vidjil database, you can try to connect to me with a vidjil browser just copy this address "<span id="db" ></span>" in your browser js/config.js file as DB_ADDRESS.
</br></br>
If your vidjil browser redirected you here to validate a certificat, it's ok now you can close this page.
</br></br>
Here you can found the online browser <a id="browser" href="#">Clik!</a>
</br></br>
Bye
</body>
{{if 'message' in globals():}}
<h3>{{=message}}</h3>
<h4>{{=T('Hi')}}</h4>
Vidjil !!
{{elif 'content' in globals():}}
{{=content}}
{{else:}}
{{=BEAUTIFY(response._vars)}}
{{pass}}
</html>
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