120 lines
6.0 KiB
Vue
120 lines
6.0 KiB
Vue
<template>
|
|
<div>
|
|
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
|
|
<!-- Navbar Brand-->
|
|
<a class="navbar-brand ps-3" href="/">Start Bootstrap</a>
|
|
<!-- Sidebar Toggle-->
|
|
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i
|
|
class="fas fa-bars"></i></button>
|
|
<!-- Navbar Search-->
|
|
<form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
|
|
<div class="input-group">
|
|
<input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..."
|
|
aria-describedby="btnNavbarSearch" />
|
|
<button class="btn btn-primary" id="btnNavbarSearch" type="button"><i
|
|
class="fas fa-search"></i></button>
|
|
</div>
|
|
</form>
|
|
<!-- Navbar-->
|
|
<ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
|
|
<li class="nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button"
|
|
data-bs-toggle="dropdown" aria-expanded="false"><i class="fas fa-user fa-fw"></i></a>
|
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
|
|
<li><a class="dropdown-item" href="#!">Settings</a></li>
|
|
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
|
<li>
|
|
<hr class="dropdown-divider" />
|
|
</li>
|
|
<li><a class="dropdown-item" href="#!">Logout</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
<div id="layoutSidenav">
|
|
<div id="layoutSidenav_nav">
|
|
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
|
<div class="sb-sidenav-menu">
|
|
<div class="nav">
|
|
<div class="sb-sidenav-menu-heading">Core</div>
|
|
<a class="nav-link" href="/">
|
|
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
|
Dashboard
|
|
</a>
|
|
|
|
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse"
|
|
data-bs-target="#collapsePages" aria-expanded="false" aria-controls="collapsePages">
|
|
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
|
|
Pages
|
|
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
|
</a>
|
|
<div class="collapse" id="collapsePages" aria-labelledby="headingTwo"
|
|
data-bs-parent="#sidenavAccordion">
|
|
<nav class="sb-sidenav-menu-nested nav accordion" id="sidenavAccordionPages">
|
|
|
|
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse"
|
|
data-bs-target="#pagesCollapseError" aria-expanded="false"
|
|
aria-controls="pagesCollapseError">
|
|
TTEST_FILE_1
|
|
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
|
</a>
|
|
<div class="collapse" id="pagesCollapseError" aria-labelledby="headingOne"
|
|
data-bs-parent="#sidenavAccordionPages">
|
|
<nav class="sb-sidenav-menu-nested nav">
|
|
<a class="nav-link" href="/test_file_1/user-vip125-n-LEO">LEO_PAGE</a>
|
|
<a class="nav-link" href="/test_file_1">test_file_1</a>
|
|
</nav>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="sb-sidenav-footer">
|
|
<div class="small">Logged in as:</div>
|
|
Start Bootstrap
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
<div id="layoutSidenav_content">
|
|
<NuxtPage></NuxtPage>
|
|
<footer class="py-4 bg-light mt-auto">
|
|
<div class="container-fluid px-4">
|
|
<div class="d-flex align-items-center justify-content-between small">
|
|
<div class="text-muted">Copyright © Your Website 2022</div>
|
|
<div>
|
|
<a href="#">Privacy Policy</a>
|
|
·
|
|
<a href="#">Terms & Conditions</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useHead } from '#app'
|
|
|
|
useHead({
|
|
title: 'Static Navigation - SB Admin',
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ 'http-equiv': 'X-UA-Compatible', content: 'IE=edge' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1, shrink-to-fit=no' },
|
|
{ name: 'description', content: '' },
|
|
{ name: 'author', content: '' }
|
|
],
|
|
link: [
|
|
{ rel: 'stylesheet', href: '/css/styles.css' } // 確保 `styles.css` 位於 public/css 資料夾中
|
|
],
|
|
script: [
|
|
{ src: 'https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js', crossorigin: 'anonymous' },
|
|
{ src: '/js/scripts.js' }
|
|
]
|
|
})
|
|
</script>
|