summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html116
1 files changed, 13 insertions, 103 deletions
diff --git a/index.html b/index.html
index 5f73cf0..a9e1667 100644
--- a/index.html
+++ b/index.html
@@ -65,7 +65,6 @@
<select class="form-control" id="gui_lang_select">
<option value="sl">Slovensko</option>
<option value="en">English</option>
- <!--<option value="d">Dolgooooooooooooooooooooooooooooooooooooooooooooooo</option>-->
</select>
</div>
<div class="form-group">
@@ -73,29 +72,6 @@
<a class="text-muted" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="left" data-html="true" data-content="<span class='small'>Set the robot's IP address.</span>" data-original-title="" title=""><i class="glyphicon glyphicon-question-sign"></i></a><br>
<input type="text" class="form-control" id="robot_address_input" />
</div>
- <!--<div class="form-group">
- <span class="small" data-tkey="language">
- Language
- </span>
- <a class="text-muted" data-container="body" data-toggle="popover" data-trigger="hover" data-placement="left" data-html="true" data-content="<span class='small'>Select the UI language.</span>" data-original-title="" title=""><i class="glyphicon glyphicon-question-sign"></i></a><br>
- <div>
- <div class="radio">
- <label>
- <input name="lang" value="en" type="radio">English
- </label>
- </div>
- <div class="radio">
- <label>
- <input name="lang" value="sl" type="radio">Slovensko
- </label>
- </div>
- <div class="radio">
- <label>
- <input name="lang" value="d" type="radio">Dolgooooooooooooooooooooooooooooooooooooooooooooooo
- </label>
- </div>
- </div>
- </div>-->
<div class="form-group">
<div class="text-right">
<button type="button" class="btn btn-default" data-target="settingsDropdown" data-toggle="dropdown" id="settings_cancel_btn">Close</button>
@@ -111,52 +87,35 @@
</div>
</div>
- <!-- login screen -->
- <!--div class="container" id="screen_login">
- <form class="form-signin">
- <h2 class="form-signin-heading">Please login</h2>
- <div class="form-group">
- <label for="username" class="sr-only">Username</label>
- <input type="text" id="username" class="form-control" placeholder="Username" required="" autofocus="">
- <label for="password" class="sr-only">Password</label>
- <input type="password" id="password" class="form-control" placeholder="Password" required="">
- <button class="btn btn-lg btn-default btn-block" type="button" id="submit">Login</button>
- </div>
- <div class="form-group">
- <a href="" data-dismiss="modal" data-toggle="modal" role="button" data-target="#modalSignUp">New User? Sign-up..</a>
- </div>
- </form>
- </div-->
<!--TODO -->
<!-- login screen -->
<div class="container" id="screen_login" style="display: none;">
<div class="modal-dialog modal-sm">
<!--div class="modal-content"-->
<div class="row"><!--class="modal-header"-->
- <h3 class="text-center">Please sign in</h3>
+ <h3 class="text-center" data-tkey="signin_header">Please sign in</h3>
</div>
<div class="row"><!--class="modal-body"-->
<div class="row">
<div class="col-md-12">
- Login via
+ <span data-tkey="signin_via">Login via</span>
<div class="ssa-buttons">
<a href="#" class="ssa-buttons" role="button" data-dismiss="modal" data-toggle="modal" data-target="#modalAAI">
<img src="res/gumb_aaiprijava.png" style="width: 49%">
</a>
</div>
- or
+ <span data-tkey="signin_or">or</span>
<form class="form" role="form" method="post" action="login" accept-charset="UTF-8" id="login-nav">
<div class="form-group">
- <label class="sr-only" for="username">Username</label>
- <input type="text" class="form-control" id="username" placeholder="Username" required>
+ <label class="sr-only" for="username" data-tkey="username">Username</label>
+ <input type="text" class="form-control" id="username" data-tkey-placeholder="username" placeholder="Username" required>
</div>
<div class="form-group">
- <label class="sr-only" for="password">Password</label>
- <input type="password" class="form-control" id="password" placeholder="Password" required>
- <!--div class="help-block text-right"><a href="#">Forgot the password?</a></div-->
+ <label class="sr-only" for="password" data-tkey="password">Password</label>
+ <input type="password" class="form-control" id="password" data-tkey-placeholder="password" placeholder="Password" required>
</div>
<div class="form-group">
- <button class="btn btn-primary btn-block" type="button" id="submit">Sign in</button>
+ <button class="btn btn-primary btn-block" type="button" id="submit" data-tkey="signin_button">Sign in</button>
</div>
<!--div class="checkbox">
<label>
@@ -169,7 +128,11 @@
</div><!--/modal-body-->
<div class="row"><!-- class="modal-footer"-->
<div class="text-center">
- New here ? <a href="#" role="button" data-dismiss="modal" data-toggle="modal" data-target="#modalSignUp"><b>Sign Up</b></a>
+ <span data-tkey="signin_footer">New here ? </span><a href="#" role="button" data-dismiss="modal" data-toggle="modal" data-target="#modalSignUp"><b data-tkey="signin_footer_signup">Sign Up</b></a>
+ </div>
+ <br>
+ <div class="text-center small">
+ <a role="button" onclick="codeq.setLang('sl')">Slovenščina</a> | <a role="button" onclick="codeq.setLang('en')">English</a>
</div>
</div><!--/modal-footer-->
<!--/div-->
@@ -349,59 +312,6 @@
</div><!--container-->
<!-- Modals -->
-
- <!--<div id="modalLogIn" class="modal fade in" tabindex="-1" role="dialog" aria-hidden="false" data-keyboard="false" data-backdrop="static" style="display: none;">
- <div class="modal-dialog modal-sm">
- <div class="modal-content">
- <div class="modal-header">
- <h3 class="text-center" data-tkey="signin_header">Please sign in</h3>
- </div>
- <div class="modal-body">
- <div class="row">
- <div class="col-md-12">
- <span data-tkey="signin_via">Login via</span>
- <div class="ssa-buttons">
- <a href="#" class="ssa-buttons" role="button" data-dismiss="modal" data-toggle="modal" data-target="#modalAAI">
- <img src="res/gumb_aaiprijava.png" style="width: 49%">
- </a>
- </div>
- <span data-tkey="signin_or">or</span>
- <form class="form" role="form" method="post" action="login" accept-charset="UTF-8" id="login-nav">
- <div class="form-group">
- <label class="sr-only" for="username" data-tkey="username">Username</label>
- <input type="text" class="form-control" id="username" data-tkey-placeholder="username" placeholder="Username" required>
- </div>
- <div class="form-group">
- <label class="sr-only" for="password" data-tkey="password">Password</label>
- <input type="password" class="form-control" id="password" data-tkey-placeholder="password" placeholder="Password" required>
- <!--div class="help-block text-right"><a href="#">Forgot the password?</a></div->
- </div>
- <div class="form-group">
- <button class="btn btn-primary btn-block" type="button" id="submit" data-tkey="signin_button">Sign in</button>
- </div>
- <!--div class="checkbox">
- <label>
- <input type="checkbox"> keep me logged-in
- </label>
- </div->
- </form>
- </div>
- </div>
- </div><!--/modal-body->
- <div class="modal-footer">
- <div class="text-center">
- <span data-tkey="signin_footer">New here ? </span><a href="#" role="button" data-dismiss="modal" data-toggle="modal" data-target="#modalSignUp"><b data-tkey="signin_footer_signup">Sign Up</b></a>
- </div>
- <br>
- <div class="text-center small">
- <a role="button" onclick="codeq.setLang('sl')">Slovenščina</a> | <a role="button" onclick="codeq.setLang('en')">English</a>
- </div>
- </div><!--/modal-footer-->
- </div>
- </div>
- </div>-->
-
-
<div id="modalSignUp" class="modal fade in" tabindex="-1" role="dialog" aria-hidden="false" data-keyboard="false" data-backdrop="static" style="display: none;">
<div class="modal-dialog modal-sm">
<div class="modal-content">