113 lines
4.5 KiB
HTML
113 lines
4.5 KiB
HTML
|
<!-- Footer -->
|
|||
|
<footer class="sticky-footer bg-white">
|
|||
|
<div class="container my-auto">
|
|||
|
<div class="copyright text-center my-auto">
|
|||
|
<span>Made with <a href="https://github.com/startbootstrap/startbootstrap-sb-admin-2/" target="_github">SB Admin 2</a></span><br/>
|
|||
|
<span>Powered by <a href="https://www.workerman.net/webman" target="_webman">Webman Framework</a></span><br/>
|
|||
|
<span>DNS by <a href="https://laysense.com/dns/webman" target="_webman-dns">Laysense Webman-DNS</a></span><br />
|
|||
|
This product includes GeoLite2 data created by MaxMind, available from
|
|||
|
<a href="https://www.maxmind.com">https://www.maxmind.com</a>.
|
|||
|
<hr/>
|
|||
|
<strong class="highspeaker">HighSpeaker(高声语)</strong> DNS Manager System<sup>0.0.1</sup><br/>
|
|||
|
<span>© Laysense.com </span>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</footer>
|
|||
|
<!-- End of Footer -->
|
|||
|
|
|||
|
</div>
|
|||
|
<!-- End of Content Wrapper -->
|
|||
|
|
|||
|
</div>
|
|||
|
<!-- End of Page Wrapper -->
|
|||
|
|
|||
|
<!-- Scroll to Top Button-->
|
|||
|
<a class="scroll-to-top rounded" href="#page-top">
|
|||
|
<i class="fas fa-angle-up"></i>
|
|||
|
</a>
|
|||
|
|
|||
|
<!-- Logout Modal-->
|
|||
|
<div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
|
|||
|
aria-hidden="true">
|
|||
|
<div class="modal-dialog" role="document">
|
|||
|
<div class="modal-content">
|
|||
|
<div class="modal-header">
|
|||
|
<h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
|
|||
|
<button class="close" type="button" data-dismiss="modal" aria-label="Close">
|
|||
|
<span aria-hidden="true">×</span>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
<div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
|
|||
|
<div class="modal-footer">
|
|||
|
<button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
|
|||
|
<a class="btn btn-primary" href="login.html">Logout</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<!-- Search-->
|
|||
|
<div class="modal fade" id="Search" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
|
|||
|
aria-hidden="true">
|
|||
|
<div class="modal-dialog" role="document">
|
|||
|
<div class="modal-content">
|
|||
|
<div class="modal-header">
|
|||
|
<h5 class="modal-title" id="exampleModalLabel">查询</h5>
|
|||
|
<button class="close" type="button" data-dismiss="modal" aria-label="Close">
|
|||
|
<span aria-hidden="true">×</span>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
<div class="modal-body" id="SearchNotice">查询中请稍等</div>
|
|||
|
<div class="modal-footer">
|
|||
|
<button class="btn btn-secondary" type="button" data-dismiss="modal">关闭</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<!-- Bootstrap core JavaScript-->
|
|||
|
<script src="vendor/jquery/jquery.min.js"></script>
|
|||
|
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|||
|
|
|||
|
<!-- Core plugin JavaScript-->
|
|||
|
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
|
|||
|
|
|||
|
<!-- Custom scripts for all pages-->
|
|||
|
<script src="js/sb-admin-2.min.js"></script>
|
|||
|
|
|||
|
<script>
|
|||
|
function search($search){
|
|||
|
var content = $("$search").val();
|
|||
|
if(content==""){
|
|||
|
$('#SearchNotice').html('未输入任何内容');
|
|||
|
return false;
|
|||
|
}
|
|||
|
$.ajax({
|
|||
|
type: "POST",
|
|||
|
url: '/login/check',
|
|||
|
data: {'name':name,'password':password},
|
|||
|
async: false,
|
|||
|
dataType: 'json',
|
|||
|
cache: false,
|
|||
|
beforeSubmit: function () {
|
|||
|
$('#notice').html('正在登录');
|
|||
|
},
|
|||
|
success: function (data) {
|
|||
|
if (data.code == 200) {
|
|||
|
$('#notice').html('操作成功,即将刷新页面');
|
|||
|
$(location).attr('href',goto);
|
|||
|
} else {
|
|||
|
$('#notice').html(data.msg);
|
|||
|
}
|
|||
|
},
|
|||
|
clearForm: false,
|
|||
|
resetForm: false
|
|||
|
});
|
|||
|
}
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
|