diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -351,24 +351,32 @@ <h3 class="text-center">Sign up</h3> </div> <div class="modal-body"> - <form class="form" method="post"> - <div class="form-group" bs-has-error=""> + <form id="formSignUp" class="form" action=""> + <div class="form-group"> <label class="control-label small">Username</label> <input class="form-control" name="username" id="modalSignUpUsername" type="text" placeholder="desired username" pattern="^[a-z,A-Z,0-9,_]{5,15}$" data-valid-min="5" title="Choose a alpha-numeric username of 5-15 characters" required=""> </div> <div class="form-group"> + <label class="control-label small">Display name</label> + <input class="form-control" name="name" id="modalSignUpName" type="text" placeholder="desired display name" title="Display name"> + </div> + <div class="form-group"> + <label class="control-label small">E-mail</label> + <input class="form-control" name="email" id="modalSignUpEmail" type="email" placeholder="email" title="E-mail" required=""> + </div> + <div class="form-group"> <label class="control-label small">Password</label> - <input class="form-control" name="password" id="modalSignUpPassword" type="password" placeholder="password" pattern="^[a-z,A-Z,0-9,_]{6,15}$" data-valid-min="6" title="Choose a alpha-numeric password of a least 6 characters" required=""> + <input class="form-control" name="password" id="modalSignUpPassword" type="password" placeholder="password" pattern="^[a-z,A-Z,0-9,_]{6,}$" data-valid-min="6" title="Choose a alpha-numeric password of a least 6 characters" required=""> </div> <div class="form-group"> <label class="control-label small">Verify (repeat password)</label> - <input class="form-control" name="verify" id="modalSignUpVerify" type="password" placeholder="password (again)" pattern="^[a-z,A-Z,0-9,_]{6,15}$" data-valid-min="6" title="Choose a alpha-numeric password of a least 6 characters" required=""> + <input class="form-control" name="verify" id="modalSignUpVerify" type="password" placeholder="password (again)" pattern="^[a-z,A-Z,0-9,_]{6,}$" data-valid-min="6" title="Choose a alpha-numeric password of a least 6 characters" required=""> </div> </form><!--/row--> </div><!--/modal-body--> <div class="modal-footer"> <button class="btn btn-default" data-dismiss="modal" aria-hidden="true" data-toggle="modal" data-target="#modalLogIn">Cancel</button> - <button class="btn btn-primary" id="btnSignUp" type="submit" onclick="codeq.profile.signup()">Sign up</button> + <input form="formSignUp" class="btn btn-primary" id="btnSignUp" type="submit" value="Sign up"> </div><!--/modal-footer--> </div> </div> @@ -409,7 +417,7 @@ <h3 class="text-center">Arnes AAI</h3> </div> <div class="modal-body" style="padding: 0;"> - <iframe width="100%" height="500px" frameborder="0" scrolling="no" allowtransparency="true" src="https://codeq.si/login"></iframe> + <iframe width="100%" height="500px" frameborder="0" scrolling="no" allowtransparency="true" src="https://codeq.si/Shibboleth.sso/Login?forceAuthn=1"></iframe> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> |