Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <meta name="description" content="">
- <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
- <meta name="generator" content="Jekyll v3.8.5">
- <title>
- <?= isset($title) ? $title : 'CIShop' ?> - Codeigniter E-Commerce
- </title>
- <link rel="canonical" href="https://getbootstrap.com/docs/4.3/examples/navbar-fixed/">
- <!-- Bootstrap core CSS -->
- <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
- <!-- Fontawesome CSS -->
- <link rel="stylesheet" href="/assets/libs/fontawesome/css/all.min.css">
- <!-- Custom styles for this template -->
- <link rel="stylesheet" href="/assets/css/app.css">
- </head>
- <body>
- <nav class="navbar navbar-expand-md navbar-light fixed-top bg-light">
- <div class="container">
- <a class="navbar-brand" href="#">CIshop</a>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse"
- aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse" id="navbarCollapse">
- <ul class="navbar-nav mr-auto">
- <li class="nav-item active">
- <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="dropdown-1" data-toggle="dropdown"
- aria-haspopup="true" aria-expanded="false">Manage</a>
- <div class="dropdown-menu" aria-labelledby="dropdown-1">
- <a href="/admin-category.html" class="dropdown-item">Kategori</a>
- <a href="/admin-product.html" class="dropdown-item">Produk</a>
- <a href="/admin-order.html" class="dropdown-item">Order</a>
- <a href="/admin-users.html" class="dropdown-item">Pengguna</a>
- </div>
- </li>
- </ul>
- <ul class="navbar-nav">
- <li class="nav-item">
- <a href="/cart.html" class="nav-link"><i class="fas fa-shopping-cart"></i>Cart (0)</a>
- </li>
- <li class="nav-item">
- <a href="/login.html" class="nav-link">Login</a>
- </li>
- <li class="nav-item">
- <a href="/register.html" class="nav-link">Register</a>
- </li>
- <li class="nav-item dropdown">
- <a class="nav-link dropdown-toggle" href="#" id="dropdown-2" data-toggle="dropdown"
- aria-haspopup="true" aria-expanded="false">Admin</a>
- <div class="dropdown-menu" aria-labelledby="dropdown-2">
- <a href="/profile.html" class="dropdown-item">Profile</a>
- <a href="/orders.html" class="dropdown-item">Orders</a>
- <a href="#" class="dropdown-item">Logout</a>
- </div>
- </li>
- </ul>
- </div>
- </div>
- </nav>
- <main role="main" class="container">
- <div class="row">
- <div class="col-md-10 mx-auto">
- <div class="card">
- <div class="card-header">
- <span>Tambah Kategori</span>
- </div>
- <div class="card-body">
- <form action="">
- <div class="form-group">
- <label for="">Kategori</label>
- <input type="text" class="form-control" id="title" onkeyup="createSlug()" required
- autofocus />
- <small class="form text text-danger">Nama Harus Diisi</small>
- </div>
- <div class="form-group">
- <label for="">Slug</label>
- <input type="text" class="form-control" id="slug" required />
- <small class="form text text-danger"></small>
- </div>
- <button type="button" class="btn btn-primary">Simpan</button>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </main>
- <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
- integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
- crossorigin="anonymous"></script>
- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.14.7/dist/umd/popper.min.js"
- integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
- crossorigin="anonymous"></script>
- <script src="/assets/js/bootstrap.bundle.min.js"></script>
- <script src="/assets/js/app.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement