mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-28 04:18:37 +00:00
index.html: added forgot password link with instructions modal.
This commit is contained in:
@@ -60,9 +60,12 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-3 col-sm-8">
|
||||
<div class="col-sm-offset-3 col-sm-4">
|
||||
<button id="btnLogin" type="submit" class="btn btn-primary" data-loading-text="Working..." onclick="return login();">Login</button>
|
||||
</div>
|
||||
<div class="col-sm-4" style="padding: 6px; text-align: right;">
|
||||
<a href="#" data-toggle="modal" data-target="#modalForgotPassword">Forgot Password?</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -756,6 +759,30 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="modalForgotPassword" class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Forgot Password?</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Follow these steps to reset 'admin' password:</p>
|
||||
<ol>
|
||||
<li>Find the DNS Server config folder and locate the <b>dns.config</b> file. The config folder will be found where the DNS Server is installed.</li>
|
||||
<li>Rename the <b>dns.config</b> file as <b>reset.config</b></li>
|
||||
<li>Restart the DNS Server to complete the password reset process.</li>
|
||||
<li>Just refresh this web page in the web browser to auto login with default credentials and quickly change the password.</li>
|
||||
</ol>
|
||||
<p>Note: To reset 'admin' password, you will need file system access on the server running this DNS Server. </p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user