Add a warning if javascript is disabled

Fix #64
master
Daniel Berteaud 11 years ago
parent 0fd8f42776
commit eb90707b39
  1. 1
      lib/Vroom/I18N/en.pm
  2. 1
      lib/Vroom/I18N/fr.pm
  3. 1
      templates/default/help.html.ep
  4. 1
      templates/default/index.html.ep
  5. 1
      templates/default/join.html.ep
  6. 9
      templates/default/noscript.html.ep

@ -12,6 +12,7 @@ our %Lexicon = (
"ERROR_ROOM_s_LOCKED" => "The room %s is locked, you cannot join it",
"ERROR_OCCURRED" => "An error occurred",
"ERROR_NOT_LOGGED_IN" => "Sorry, your not logged in",
"JS_REQUIRED" => "VROOM needs javascript to work properly",
"EMAIL_INVITATION" => "Video conference invitation",
"INVITE_SENT_TO_s" => "An invitation was sent to %s",
"YOU_ARE_INVITED_TO_A_MEETING" => "You are awaited on a video conferecing room. " .

@ -14,6 +14,7 @@ our %Lexicon = (
"ERROR_ROOM_s_LOCKED" => "Le salon %s est verrouillé, vous ne pouvez pas le rejoindre",
"ERROR_OCCURRED" => "Une erreur est survenue",
"ERROR_NOT_LOGGED_IN" => "Désolé, vous n'êtes pas identifié",
"JS_REQUIRED" => "VROOM nécessite l'activation du javascript",
"EMAIL_INVITATION" => "Invitation à une conférence vidéo",
"YOU_ARE_INVITED_TO_A_MEETING" => "Vous êtes attendu sur un salon de vidéo conférence. " .
"Avant de le rejoindre, assurez vous de disposer de tout le nécessaire",

@ -2,6 +2,7 @@
%= include 'header'
%= include 'public_toolbar'
<div class="container-fluid">
%= include 'noscript'
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">

@ -3,6 +3,7 @@
%= include 'public_toolbar'
<div class="container-fluid">
%= include 'noscript'
<div class="well publicForm">
<h2>
<center>

@ -731,6 +731,7 @@
</div>
</div>
</div>
%= include 'noscript'
<div class="frame">
<div id="chatMenu" class="nav-collapse collapse">
<div id="chatHistory" class="form-control">

@ -0,0 +1,9 @@
<noscript>
<div class="row">
<div class="col-md-6 col-md-offset-3 alert alert-danger">
<center>
<%=l 'JS_REQUIRED' %>
</center>
</div>
</div>
</noscript>
Loading…
Cancel
Save