8 <script type="text/javascript" src="/js/source/entries/login.js"></script>
11 <div class="modal fade" id="site_login_dialog" name="site_login_dialog" tabindex="-1" role="dialog" aria-labelledby="site_login_dialog_title">
12 <div class="modal-dialog modal-sm" role="document">
13 <div class="modal-content">
14 <div class="modal-header" style="text-align:center">
15 <h3 class="modal-title" id="site_login_dialog_title">Login</h3>
17 <div class="modal-body">
18 <form id="login_form" name="login_form">
19 <div class="container-fluid">
21 <input class="form-control" style="width:240px" id="username" name="username" placeholder="Username" type="text" />
23 <input class="form-control" style="width:240px" id="password" name="password" placeholder="Password" type="password" />
25 <div style="margin-bottom:40px">
26 <a class="btn btn-default btn-sm" id="reset_password_modal_show" style="float:left">Forgot password?</a>
27 <a class="btn btn-default btn-sm" id="new_user_modal_show" style="float:right">New User</a>
30 <input type="hidden" value="<% $goto_url %>" id="goto_url" name="goto_url" />
33 <button class="btn btn-secondary" id="cancel_login" type="reset" style="float:left" >Reset</button>
34 <button class="btn btn-primary" id="submit_password" name="submit_password" type="submit" style="float:right">Login</button>
41 <div class="modal-footer">
42 <button id="close_site_login_dialog_button" type="button" class="btn btn-default" data-dismiss="modal" style="float:left">Close</button>
48 <div class="modal fade" id="site_login_reset_password_dialog" name="site_login_reset_password_dialog" tabindex="-1" role="dialog" aria-labelledby="site_login_reset_password_dialog_title">
49 <div class="modal-dialog" role="document">
50 <div class="modal-content">
51 <div class="modal-header" style="text-align:center">
52 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
53 <h3 class="modal-title" id="site_login_reset_password_dialog_title">Reset Password</h3>
55 <div class="modal-body">
57 To reset your password, please enter your email address. A link will be sent to that address with a link that will enable you to reset your password.
60 <div style="white-space:nowrap">
61 <form id="password_reset_form" name="password_reset_form" style="white-space:nowrap">
62 <div style="white-space:nowrap; align:center">
63 <label class="textlabel">Email Address</label>
64 <input class="form-control" style="width:200px; white-space:nowrap; float:center" id="password_reset_email" name="password_reset_email" /><br />
65 <button type="submit" class="btn btn-primary" id="submit_password_reset_email" style="float:center" >Get link</button>
70 <div class="modal-footer">
71 <button id="close_site_login_reset_password_dialog_button" type="button" class="btn btn-default" data-dismiss="modal" style="float:left">Close</button>
79 <!-- End login dialog -->