mirror of https://github.com/ColorlibHQ/AdminLTE
Fixed broken links
parent
10bde1cf79
commit
dd8bfbc5d6
|
@ -181,10 +181,14 @@ $.AdminLTE.layout = {
|
|||
var sidebar_height = $(".main-sidebar, .left-side").height();
|
||||
//Set the min-height of the content and sidebar based on the
|
||||
//the height of the document.
|
||||
if (window_height >= sidebar_height) {
|
||||
$(".content-wrapper, .main-sidebar, .left-side, .right-side").css('min-height', window_height - neg);
|
||||
if ($("body").hasClass("fixed")) {
|
||||
$(".content-wrapper, .right-side").css('min-height', window_height - $('.main-footer').outerHeight());
|
||||
} else {
|
||||
$(".content-wrapper, .main-sidebar, .left-side, .right-side").css('min-height', sidebar_height);
|
||||
if (window_height >= sidebar_height) {
|
||||
$(".content-wrapper, .main-sidebar, .left-side, .right-side").css('min-height', window_height - neg);
|
||||
} else {
|
||||
$(".content-wrapper, .main-sidebar, .left-side, .right-side").css('min-height', sidebar_height);
|
||||
}
|
||||
}
|
||||
},
|
||||
fixSidebar: function () {
|
||||
|
@ -194,7 +198,7 @@ $.AdminLTE.layout = {
|
|||
$(".sidebar").slimScroll({destroy: true}).height("auto");
|
||||
}
|
||||
return;
|
||||
} else if(typeof $.fn.slimScroll == 'undefined' && console) {
|
||||
} else if (typeof $.fn.slimScroll == 'undefined' && console) {
|
||||
console.error("Error: the fixed layout requires the slimscroll plugin!");
|
||||
}
|
||||
//Enable slimscroll for fixed layout
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -278,19 +278,19 @@
|
|||
<small class="label pull-right bg-yellow">12</small>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview active">
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder"></i> <span>Examples</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
|
||||
<li><a href="login.html"><i class="fa fa-circle-o"></i> Login</a></li>
|
||||
<li><a href="register.html"><i class="fa fa-circle-o"></i> Register</a></li>
|
||||
<li><a href="lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
|
||||
<li><a href="404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
|
||||
<li><a href="500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
|
||||
<li><a href="blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
|
||||
<li><a href="../examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
|
||||
<li><a href="../examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li>
|
||||
<li><a href="../examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li>
|
||||
<li><a href="../examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
|
||||
<li><a href="../examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
|
||||
<li><a href="../examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
|
||||
<li><a href="../examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
|
@ -333,8 +333,8 @@
|
|||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Blank page
|
||||
<small>it all starts here</small>
|
||||
Boxed Layout
|
||||
<small>Blank example to the boxed layout</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
|
|
|
@ -278,19 +278,19 @@
|
|||
<small class="label pull-right bg-yellow">12</small>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview active">
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder"></i> <span>Examples</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
|
||||
<li><a href="login.html"><i class="fa fa-circle-o"></i> Login</a></li>
|
||||
<li><a href="register.html"><i class="fa fa-circle-o"></i> Register</a></li>
|
||||
<li><a href="lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
|
||||
<li><a href="404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
|
||||
<li><a href="500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
|
||||
<li><a href="blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
|
||||
<li><a href="../examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
|
||||
<li><a href="../examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li>
|
||||
<li><a href="../examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li>
|
||||
<li><a href="../examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
|
||||
<li><a href="../examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
|
||||
<li><a href="../examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
|
||||
<li><a href="../examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
|
@ -333,8 +333,8 @@
|
|||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Blank page
|
||||
<small>it all starts here</small>
|
||||
Fixed Layout
|
||||
<small>Blank example to the fixed layout</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
|
|
Loading…
Reference in New Issue