diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-10-13 15:27:01 +0200 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-10-13 15:27:01 +0200 |
commit | 0977874bac2a1ec5a7fee0c276b1da74ce2e1c90 (patch) | |
tree | f696e01a87fa6e0833d613709b09a3ecbe4fc19e /index.html | |
parent | d82ad6356586e74f41869647d57157993a3d6161 (diff) |
moved login from a popup to its own page and made some changes to the logout button
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 61 |
1 files changed, 54 insertions, 7 deletions
@@ -128,7 +128,54 @@ </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> + </div> + <div class="row"><!--class="modal-body"--> + <div class="row"> + <div class="col-md-12"> + Login via + <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 + <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> + </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--> + </div> + <div class="form-group"> + <button class="btn btn-primary btn-block" type="button" id="submit">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="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> + </div> + </div><!--/modal-footer--> + <!--/div--> + </div> + </div> <!-- main screen: programming language selection, settings, etc. --> <div class="container" id="screen_language" style="text-align: center; display: none;"> @@ -299,7 +346,7 @@ <!-- 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 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"> @@ -323,7 +370,7 @@ <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--> + <!--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">Sign in</button> @@ -332,19 +379,19 @@ <label> <input type="checkbox"> keep me logged-in </label> - </div--> + </div-> </form> </div> </div> - </div><!--/modal-body--> + </div><!--/modal-body-> <div 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> </div> - </div><!--/modal-footer--> + </div><!--/modal-footer-> </div> </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;"> |