Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit a8f78b20 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

database.js/: end-user messages to validate the SSL certificate

parent 17999458
......@@ -69,10 +69,10 @@ Database.prototype = {
check_cert: function () {
if (typeof sslCertTrusted == 'undefined' || !sslCertTrusted){
var msg = " Warning : </br>"
+ "It seems the database you try to access don't have a valid certificate or use a self signed one. </br>"
+ "If you want to use this database you need to accept this certificate, please follow this link and add this address to the trusted site list. </br>"
+ "<a href='"+DB_ADDRESS+"' target='_blank' > click me ! <a/>"
var msg = " Welcome to Vidjil! </br>"
+ "Your browser currently does not recognize our SSL certificate. </br>"
+ "To use the sample database, you need to accept this certificate and/or tag this website as a trusted one. </br>"
+ "<a href='"+DB_ADDRESS+"' target='_blank'>Follow this link<a/>"
function init() {
var browser_url = document.URL.replace("/vidjil/default/index#", "/browser")
......@@ -16,16 +16,14 @@
<body onload="init()">
It seems you've found me ... nice to meet you.
<h4>Welcome to Vidjil !</h4>
The certificate is now validated.
<a id="browser" href="#">Go to Vidjil</a>
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.
If your vidjil browser redirected you here to validate a certificat, it's ok now you can close this page.
Here you can found the online browser <a id="browser" href="#">Clik!</a>
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