Update index.html

This commit is contained in:
GH05T HUNTER5 2023-10-22 11:56:50 +05:30 committed by GitHub
parent 3d244ea9c3
commit 95664eb664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,14 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- https://angrytools.com/bootstrap/editor/ -->
<html lang="en"> <html lang="en">
<head> <head>
<title>DEMO</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet"> <title>DEMO</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap-theme.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap-theme.min.css" rel="stylesheet">
</head> </head>
<body> <body>
<style> <style>
@ -59,18 +56,12 @@
} }
</style> </style>
<div id="wrapper"> <div id="wrapper">
<nav class="navbar navbar-expand-lg navbar-light bg-light" role="navigation">
<nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0"> <button type="button" class="navbar-toggler" data-toggle="collapse" data-target=".navbar-collapse">
<div class="navbar-header"> <span class="navbar-toggler-icon"></span>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button> </button>
<a class="navbar-brand" href="index.html">sqlmap</a> <a class="navbar-brand" href="index.html">sqlmap</a>
</div> </nav>
<div class="navbar-default sidebar" role="navigation"> <div class="navbar-default sidebar" role="navigation">
<div class="sidebar-nav navbar-collapse"> <div class="sidebar-nav navbar-collapse">
<ul class="nav" id="side-menu"> <ul class="nav" id="side-menu">
@ -97,8 +88,6 @@
</ul> </ul>
</div> </div>
</div> </div>
</nav>
<div id="page-wrapper"> <div id="page-wrapper">
<div class="row"> <div class="row">
<h4>DEMO</h4> <h4>DEMO</h4>
@ -106,46 +95,26 @@
</div> </div>
</div> </div>
<script> <script>
/*
* metismenu - v1.0.3
* Easy menu jQuery plugin for Twitter Bootstrap 3
* https://github.com/onokumus/metisMenu
*
* Made by Osman Nuri Okumuş
* Under MIT License
*/
!function(a,b,c){function d(b,c){this.element=b,this.settings=a.extend({},f,c),this._defaults=f,this._name=e,this.init()}var e="metisMenu",f={toggle:!0};d.prototype={init:function(){var b=a(this.element),c=this.settings.toggle;this.isIE()<=9?(b.find("li.active").has("ul").children("ul").collapse("show"),b.find("li").not(".active").has("ul").children("ul").collapse("hide")):(b.find("li.active").has("ul").children("ul").addClass("collapse in"),b.find("li").not(".active").has("ul").children("ul").addClass("collapse")),b.find("li").has("ul").children("a").on("click",function(b){b.preventDefault(),a(this).parent("li").toggleClass("active").children("ul").collapse("toggle"),c&&a(this).parent("li").siblings().removeClass("active").children("ul.in").collapse("hide")})},isIE:function(){for(var a,b=3,d=c.createElement("div"),e=d.getElementsByTagName("i");d.innerHTML="<!--[if gt IE "+ ++b+"]><i></i><![endif]-->",e[0];)return b>4?b:a}},a.fn[e]=function(b){return this.each(function(){a.data(this,"plugin_"+e)||a.data(this,"plugin_"+e,new d(this,b))})}}(jQuery,window,document);
$(function() { $(function() {
$('#side-menu').metisMenu(); $('#side-menu').metisMenu();
}); });
//Loads the correct sidebar on window load, $(window).on("load resize", function() {
//collapses the sidebar on window resize. var topOffset = 50;
// Sets the min-height of #page-wrapper to window size var width = (this.innerWidth > 0) ? this.innerWidth : this.screen.width;
$(function() {
$(window).bind("load resize", function() {
topOffset = 50;
width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width;
if (width < 768) { if (width < 768) {
$('div.navbar-collapse').addClass('collapse') $('div.navbar-collapse').addClass('collapse');
topOffset = 100; // 2-row-menu topOffset = 100; // 2-row-menu
} else { } else {
$('div.navbar-collapse').removeClass('collapse') $('div.navbar-collapse').removeClass('collapse');
} }
var height = (this.innerHeight > 0) ? this.innerHeight : this.screen.height;
height = (this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height;
height = height - topOffset; height = height - topOffset;
if (height < 1) height = 1; if (height < 1) height = 1;
if (height > topOffset) { if (height > topOffset) {
$("#page-wrapper").css("min-height", (height) + "px"); $("#page-wrapper").css("min-height", (height) + "px");
} }
})
}); });
</script> </script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
</body> </body>
</html> </html>