Bootstrap — Simple Admin Template Free Codepen
// Optional: small responsive adjustment for fun: add border to chart card on analytics hover const chartCard = document.querySelector('.col-lg-7 .story-card'); if(chartCard) chartCard.addEventListener('mouseenter', () => chartCard.style.transition = '0.2s'; ); // Simple console story teaser (just for developer warmth) console.log("📘 Bootstrap Simple Admin Template — Story mode active: free, responsive, ready on CodePen"); </script> <!-- Bootstrap JS Bundle (optional for toggles, but not mandatory for core) --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script> </body> </html>
<!-- Orders Table: A crucial part of the admin story --> <div class="story-card card mb-5"> <div class="card-header bg-transparent border-bottom d-flex flex-wrap justify-content-between align-items-center"> <h5 class="fw-semibold mb-0"><i class="bi bi-receipt"></i> Latest Orders & Story Insights</h5> <a href="#" class="btn btn-sm btn-outline-primary rounded-pill">View all <i class="bi bi-arrow-right-short"></i></a> </div> <div class="card-body p-0"> <div class="table-responsive"> <table class="table table-hover align-middle mb-0 table-custom"> <thead> <tr><th>Order ID</th><th>Customer</th><th>Product</th><th>Amount</th><th>Status</th><th>Story moment</th></tr> </thead> <tbody> <tr><td>#OR-9842</td><td><i class="bi bi-person-circle me-1"></i> Michael Chen</td><td>Analytics Pro</td><td>$249.00</td><td><span class="badge bg-success bg-opacity-10 text-success px-3 py-1 rounded-pill">Completed</span></td><td><i class="bi bi-trophy"></i> First-time buyer</td></tr> <tr><td>#OR-9843</td><td><i class="bi bi-person-circle me-1"></i> Jessica Walsh</td><td>Bootstrap UI Kit</td><td>$89.00</td><td><span class="badge bg-warning bg-opacity-15 text-warning px-3 py-1 rounded-pill">Pending</span></td><td><i class="bi bi-hourglass-split"></i> Awaiting payment</td></tr> <tr><td>#OR-9845</td><td><i class="bi bi-person-circle me-1"></i> David Kim</td><td>Admin Template</td><td>$149.00</td><td><span class="badge bg-success bg-opacity-10 text-success px-3 py-1 rounded-pill">Shipped</span></td><td><i class="bi bi-truck"></i> On the way</td></tr> <tr><td>#OR-9847</td><td><i class="bi bi-person-circle me-1"></i> Sophia Rodriguez</td><td>Data Story Pack</td><td>$399.00</td><td><span class="badge bg-primary bg-opacity-10 text-primary px-3 py-1 rounded-pill">Processing</span></td><td><i class="bi bi-arrow-repeat"></i> Review stage</td></tr> <tr><td>#OR-9850</td><td><i class="bi bi-person-circle me-1"></i> Liam O'Sullivan</td><td>Chart.js Pro</td><td>$59.00</td><td><span class="badge bg-success bg-opacity-10 text-success px-3 py-1 rounded-pill">Completed</span></td><td><i class="bi bi-gift"></i> Referral bonus</td></tr> </tbody> </table> </div> </div> <div class="card-footer bg-transparent small text-secondary"> 📖 The admin story unfolds: more than 230 orders processed this month. </div> </div> bootstrap simple admin template free codepen
// --- simple interactive "story" navigation: highlight active link & small dynamic content update (cosmetic) const navLinks = document.querySelectorAll('.nav-link-custom'); const mainTitle = document.querySelector('.greeting-highlight'); const subtitleEl = document.querySelector('.text-secondary-emphasis'); // Optional: small responsive adjustment for fun: add
<footer class="mt-5 pt-3 pb-2 text-center text-secondary small"> <i class="bi bi-bootstrap-fill me-1"></i> Bootstrap Simple Admin Template | Free Story Edition — Crafted for CodePen & modern dashboards </footer> </div> </div> </div> chartCard.style.transition = '0.2s'
function setActive(activeId) navLinks.forEach(link => link.classList.remove('active'); if (link.id === activeId) link.classList.add('active'); ); // Change story context based on section (just a playful narrative effect) if (activeId === 'nav-dashboard') if (mainTitle) mainTitle.innerHTML = '✨ Admin Dashboard — A Simple Bootstrap Story'; if (subtitleEl) subtitleEl.innerHTML = 'Welcome back, Olivia. Here\'s your latest performance & narrative.'; else if (activeId === 'nav-analytics') if (mainTitle) mainTitle.innerHTML = '📊 Analytics Story — Deep Data Insights'; if (subtitleEl) subtitleEl.innerHTML = 'Exploring growth metrics and conversion chapters.'; // scroll to chart for better experience document.querySelector('.story-card canvas')?.scrollIntoView( behavior: 'smooth', block: 'center' ); else if (activeId === 'nav-orders') if (mainTitle) mainTitle.innerHTML = '📦 Orders Chronicle — Transaction Stories'; if (subtitleEl) subtitleEl.innerHTML = 'Manage your latest orders and fulfillment narrative.'; document.querySelector('.table-responsive')?.scrollIntoView( behavior: 'smooth', block: 'start' ); else if (activeId === 'nav-customers') if (mainTitle) mainTitle.innerHTML = '👥 Customer Journey — People Behind the Story'; if (subtitleEl) subtitleEl.innerHTML = 'Discover your community: 1,429 new faces this month.'; // display small alert-like story const tempMsg = document.createElement('div'); tempMsg.className = 'alert alert-light story-card mt-2 d-flex align-items-center'; tempMsg.innerHTML = '<i class="bi bi-emoji-smile fs-4 me-2"></i> Customer story: Engagement rate +12% this week!'; const container = document.querySelector('.row.g-4.mb-5').parentNode; const existingAlert = document.querySelector('.temp-story-alert'); if(existingAlert) existingAlert.remove(); tempMsg.classList.add('temp-story-alert'); container.insertBefore(tempMsg, document.querySelector('.row.g-4.mb-5').nextSibling); setTimeout(() => if(tempMsg) tempMsg.style.opacity = '0'; setTimeout(() => tempMsg?.remove(), 800); , 3000); else if (activeId === 'nav-settings') if (mainTitle) mainTitle.innerHTML = '⚙️ Settings & Preferences — Tailor Your Story'; if (subtitleEl) subtitleEl.innerHTML = 'Customize your admin experience and theme narrative.';
<div class="container-fluid px-0"> <div class="row g-0"> <!-- SIDEBAR - The admin navigation story begins --> <div class="col-md-3 col-lg-2 admin-sidebar"> <div class="sidebar-brand d-flex align-items-center"> <i class="bi bi-stars"></i> <span>AdminStory</span> </div> <div class="mt-4"> <a href="#" class="nav-link-custom active d-block" id="nav-dashboard"> <i class="bi bi-speedometer2"></i> Dashboard </a> <a href="#" class="nav-link-custom d-block" id="nav-analytics"> <i class="bi bi-graph-up"></i> Analytics </a> <a href="#" class="nav-link-custom d-block" id="nav-orders"> <i class="bi bi-bag-check"></i> Orders </a> <a href="#" class="nav-link-custom d-block" id="nav-customers"> <i class="bi bi-people"></i> Customers </a> <a href="#" class="nav-link-custom d-block" id="nav-settings"> <i class="bi bi-gear"></i> Settings </a> </div> <div class="position-absolute bottom-0 start-0 p-3 d-none d-lg-block" style="opacity:0.6;"> <small class="text-white-50"><i class="bi bi-dot"></i> v2.0 · Bootstrap Admin</small> </div> </div>








