Fixed sidebar navigation on second scroll
This commit is contained in:
33
dist/examples/register.html
vendored
33
dist/examples/register.html
vendored
@@ -4,12 +4,14 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>AdminLTE 4 | Register Page</title>
|
||||
|
||||
<!--begin::Accessibility Meta Tags-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<meta name="color-scheme" content="light dark" />
|
||||
<meta name="theme-color" content="#007bff" media="(prefers-color-scheme: light)" />
|
||||
<meta name="theme-color" content="#1a1a1a" media="(prefers-color-scheme: dark)" />
|
||||
<!--end::Accessibility Meta Tags-->
|
||||
|
||||
<!--begin::Primary Meta Tags-->
|
||||
<meta name="title" content="AdminLTE 4 | Register Page" />
|
||||
<meta name="author" content="ColorlibHQ" />
|
||||
@@ -22,11 +24,13 @@
|
||||
content="bootstrap 5, bootstrap, bootstrap 5 admin dashboard, bootstrap 5 dashboard, bootstrap 5 charts, bootstrap 5 calendar, bootstrap 5 datepicker, bootstrap 5 tables, bootstrap 5 datatable, vanilla js datatable, colorlibhq, colorlibhq dashboard, colorlibhq admin dashboard, accessible admin panel, WCAG compliant"
|
||||
/>
|
||||
<!--end::Primary Meta Tags-->
|
||||
|
||||
<!--begin::Accessibility Features-->
|
||||
<!-- Skip links will be dynamically added by accessibility.js -->
|
||||
<meta name="supported-color-schemes" content="light dark" />
|
||||
<link rel="preload" href="../css/adminlte.css" as="style" />
|
||||
<!--end::Accessibility Features-->
|
||||
|
||||
<!--begin::Fonts-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
@@ -37,6 +41,7 @@
|
||||
onload="this.media='all'"
|
||||
/>
|
||||
<!--end::Fonts-->
|
||||
|
||||
<!--begin::Third Party Plugin(OverlayScrollbars)-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
@@ -44,6 +49,7 @@
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
<!--end::Third Party Plugin(OverlayScrollbars)-->
|
||||
|
||||
<!--begin::Third Party Plugin(Bootstrap Icons)-->
|
||||
<link
|
||||
rel="stylesheet"
|
||||
@@ -51,6 +57,7 @@
|
||||
crossorigin="anonymous"
|
||||
/>
|
||||
<!--end::Third Party Plugin(Bootstrap Icons)-->
|
||||
|
||||
<!--begin::Required Plugin(AdminLTE)-->
|
||||
<link rel="stylesheet" href="../css/adminlte.css" />
|
||||
<!--end::Required Plugin(AdminLTE)-->
|
||||
@@ -66,18 +73,25 @@
|
||||
<div class="card">
|
||||
<div class="card-body register-card-body">
|
||||
<p class="register-box-msg">Register a new membership</p>
|
||||
|
||||
<form action="../index3.html" method="post">
|
||||
<div class="input-group mb-3">
|
||||
<input type="text" class="form-control" placeholder="Full Name" />
|
||||
<div class="input-group-text"><span class="bi bi-person"></span></div>
|
||||
<div class="input-group-text">
|
||||
<span class="bi bi-person"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-group mb-3">
|
||||
<input type="email" class="form-control" placeholder="Email" />
|
||||
<div class="input-group-text"><span class="bi bi-envelope"></span></div>
|
||||
<div class="input-group-text">
|
||||
<span class="bi bi-envelope"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-group mb-3">
|
||||
<input type="password" class="form-control" placeholder="Password" />
|
||||
<div class="input-group-text"><span class="bi bi-lock-fill"></span></div>
|
||||
<div class="input-group-text">
|
||||
<span class="bi bi-lock-fill"></span>
|
||||
</div>
|
||||
</div>
|
||||
<!--begin::Row-->
|
||||
<div class="row">
|
||||
@@ -99,6 +113,7 @@
|
||||
</div>
|
||||
<!--end::Row-->
|
||||
</form>
|
||||
|
||||
<div class="social-auth-links text-center mb-3 d-grid gap-2">
|
||||
<p>- OR -</p>
|
||||
<a href="#" class="btn btn-primary">
|
||||
@@ -109,6 +124,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.social-auth-links -->
|
||||
|
||||
<p class="mb-0">
|
||||
<a href="login.html" class="text-center"> I already have a membership </a>
|
||||
</p>
|
||||
@@ -117,6 +133,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.register-box -->
|
||||
|
||||
<!--begin::Third Party Plugin(OverlayScrollbars)-->
|
||||
<script
|
||||
src="https://cdn.jsdelivr.net/npm/overlayscrollbars@2.11.0/browser/overlayscrollbars.browser.es6.min.js"
|
||||
@@ -144,7 +161,15 @@
|
||||
};
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const sidebarWrapper = document.querySelector(SELECTOR_SIDEBAR_WRAPPER);
|
||||
if (sidebarWrapper && OverlayScrollbarsGlobal?.OverlayScrollbars !== undefined) {
|
||||
|
||||
// Disable OverlayScrollbars on mobile devices to prevent touch interference
|
||||
const isMobile = window.innerWidth <= 992;
|
||||
|
||||
if (
|
||||
sidebarWrapper &&
|
||||
OverlayScrollbarsGlobal?.OverlayScrollbars !== undefined &&
|
||||
!isMobile
|
||||
) {
|
||||
OverlayScrollbarsGlobal.OverlayScrollbars(sidebarWrapper, {
|
||||
scrollbars: {
|
||||
theme: Default.scrollbarTheme,
|
||||
|
||||
Reference in New Issue
Block a user