parent
9124e66e28
commit
d3364af395
@ -1,5 +1,9 @@
|
|||||||
/target
|
/target
|
||||||
|
/resources
|
||||||
/.env
|
/.env
|
||||||
/*.db
|
/*.db
|
||||||
/*.db-shm
|
/*.db-shm
|
||||||
/*.db-wal
|
/*.db-wal
|
||||||
|
|
||||||
|
/node_modules
|
||||||
|
/*.lockb
|
||||||
@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="JavaScriptLibraryMappings">
|
|
||||||
<file url="file://$PROJECT_DIR$" libraries="{alpinejs}" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"plugins": ["prettier-plugin-tailwindcss"]
|
||||||
|
}
|
||||||
@ -0,0 +1,21 @@
|
|||||||
|
# inventory-app
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
1. Rust & Cargo
|
||||||
|
1. [bun.sh](https://bun.sh/)
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
To install dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bun install
|
||||||
|
```
|
||||||
|
|
||||||
|
To run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bun run index.ts
|
||||||
|
```
|
||||||
|
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -0,0 +1,42 @@
|
|||||||
|
use std::process::Command;
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
println!("cargo:rerun-if-changed=templates");
|
||||||
|
println!("cargo:rerun-if-changed=assets");
|
||||||
|
println!("cargo:rerun-if-changed=tailwind.config.js");
|
||||||
|
|
||||||
|
std::fs::remove_dir_all("resources").unwrap_or_default();
|
||||||
|
|
||||||
|
Command::new("bun")
|
||||||
|
.args([
|
||||||
|
"run",
|
||||||
|
"tailwindcss",
|
||||||
|
"-c",
|
||||||
|
"tailwind.config.js",
|
||||||
|
"-i",
|
||||||
|
"assets/public/css/tailwind.css",
|
||||||
|
"-o",
|
||||||
|
"resources/main.css",
|
||||||
|
"--minify",
|
||||||
|
])
|
||||||
|
.status()
|
||||||
|
.expect("failed to run tailwindcss");
|
||||||
|
|
||||||
|
copy_files("assets/static");
|
||||||
|
}
|
||||||
|
|
||||||
|
fn copy_files(dir: &str) {
|
||||||
|
for entry in std::fs::read_dir(dir).expect("failed to read dir `public`") {
|
||||||
|
let entry = entry.expect("failed to read entry");
|
||||||
|
|
||||||
|
if entry.file_type().unwrap().is_dir() {
|
||||||
|
copy_files(entry.path().to_str().unwrap());
|
||||||
|
} else {
|
||||||
|
let path = entry.path();
|
||||||
|
let filename = path.file_name().unwrap().to_str().unwrap();
|
||||||
|
let dest = format!("resources/{}", filename);
|
||||||
|
|
||||||
|
std::fs::copy(path, dest).expect("failed to copy file");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "inventory-app",
|
||||||
|
"dependencies": {},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/bun": "latest",
|
||||||
|
"prettier": "^3.4.2",
|
||||||
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||||
|
"tailwindcss": "^3.4.17"
|
||||||
|
},
|
||||||
|
"type": "module"
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,19 @@
|
|||||||
|
export const content = ["./templates/**/*.html"]
|
||||||
|
export const theme = {
|
||||||
|
fontFamily: {
|
||||||
|
sans: ['Graphik', 'sans-serif'],
|
||||||
|
serif: ['Merriweather', 'serif'],
|
||||||
|
},
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
'space-cadet':'#1f2041ff',
|
||||||
|
'english-violet':'#4b3f72ff',
|
||||||
|
'sunglow':'#ffc857ff',
|
||||||
|
'dark-cyan':'#119da4ff',
|
||||||
|
'paynes-gray':'#19647eff',
|
||||||
|
'cerise': '#da4167ff',
|
||||||
|
'orchid-pink': '#f0bcd4ff'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
}
|
||||||
@ -1,11 +1,14 @@
|
|||||||
<div class="card">
|
<div class="mx-auto ">
|
||||||
<ul class="list-group list-group-flush">
|
<div class="flex flex-col">
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
<li id="item-{{item.id}}-entry" class="list-group-item">
|
<div class="mb-4 mx-1 flex flex-row">
|
||||||
<div class="row">
|
<div class="basis-1/2">
|
||||||
<div class="col-6"><a href="/item/{{item.id}}/" hx-push-url="true">{{ item.name }}</a></div>
|
<a class="font-medium text-paynes-gray dark:text-paynes-gray hover:underline"
|
||||||
|
href="/item/{{item.id}}/" hx-push-url="true">
|
||||||
|
{{ item.name }}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,16 +1,22 @@
|
|||||||
|
|
||||||
{% if items.len() > 0 %}
|
{% if items.len() > 0 %}
|
||||||
<div class="card">
|
<div class="mx-auto ">
|
||||||
<ul class="list-group list-group-flush">
|
<div class="flex flex-col">
|
||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
<li id="item-{{item.id}}-entry" class="list-group-item">
|
<div class="mb-4 mx-1 flex flex-row">
|
||||||
<div class="row">
|
<div class="basis-1/2">
|
||||||
<div class="col-6"><a href="/item/{{item.id}}/" hx-push-url="true">{{ item.name }}</a></div>
|
<a class="font-medium text-paynes-gray dark:text-paynes-gray hover:underline"
|
||||||
<div class="col">Count: <span id="item-{{item.id}}-count" hx-get="/item/{{item.id}}/count" hx-trigger="load">0</span></div>
|
href="/item/{{item.id}}/" hx-push-url="true">
|
||||||
<div class="col">Reorder Point: {{ item.reorder_point }}</div>
|
{{ item.name }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="basis-1/4">
|
||||||
|
Count: <span id="item-{{item.id}}-count" hx-get="/item/{{item.id}}/count" hx-trigger="load">0</span>
|
||||||
|
</div>
|
||||||
|
<div class="basis-1/4">
|
||||||
|
Reorder Point: {{ item.reorder_point }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -1,65 +1,82 @@
|
|||||||
<form hx-post="/item/{{item_id}}/adjustment/negative"
|
<form hx-post="/item/{{item_id}}/adjustment/negative"
|
||||||
hx-target="this" hx-swap="outerHTML"
|
hx-target="this" hx-swap="outerHTML"
|
||||||
x-ref="formNegativeAdjustment"
|
x-ref="formNegativeAdjustment"
|
||||||
x-data="{ reason: 'Sale' }">
|
x-data="{ reason: 'Sale', reason_dropdown_show: false }">
|
||||||
<input id="reason" name="reason" type="hidden" x-model="reason"/>
|
<div class="mb-5">
|
||||||
<div class="row">
|
<label for="amount" class="block mb-2 text-sm font-medium">Amount</label>
|
||||||
<div class="col">
|
<input type="number"
|
||||||
<!--<label for="amount" class="form-label">Amount</label>-->
|
id="amount"
|
||||||
<input type="number"
|
name="amount"
|
||||||
id="amount"
|
step="0.01"
|
||||||
name="amount"
|
class="border border-neutral-900 text-neutral-900 dark:text-slate-100 text-sm rounded-lg focus:ring-paynes-gray focus:border-paynes-gray block max-w-56 p-2.5"
|
||||||
step="0.01"
|
placeholder="Amount"
|
||||||
class="form-control"
|
aria-label="amount"
|
||||||
placeholder="Amount"
|
required
|
||||||
aria-label="amount"
|
{% if !amount_error.is_empty() -%}
|
||||||
required
|
aria-invalid="true"
|
||||||
{% if !amount_error.is_empty() -%}
|
aria-describedby="invalid-amount"
|
||||||
aria-invalid="true"
|
{% endif -%}
|
||||||
aria-describedby="invalid-amount"
|
/>
|
||||||
{% endif -%}
|
{% if !amount_error.is_empty() -%}
|
||||||
/>
|
<small id="invalid-amount" class="mt-2 text-sm text-cerise">
|
||||||
{% if !amount_error.is_empty() -%}
|
{{ amount_error }}
|
||||||
<small id="invalid-amount" class="invalid-feedback">{{ amount_error }}</small>
|
</small>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="mb-5 flex justify-start">
|
||||||
<button class="btn btn-primary" x-text="reason">Sale</button>
|
<button
|
||||||
|
class="text-slate-100 bg-english-violet hover:bg-dark-cyan focus:ring-4 focus:ring-dark-cyan font-medium rounded-l-lg text-sm px-5 py-2.5 focus:outline-none"
|
||||||
</div>
|
x-text="reason">
|
||||||
<div class="col">
|
Sale
|
||||||
<div class="dropdown">
|
</button>
|
||||||
<button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown"
|
<div x-data="{ isOpen: false, openedWithKeyboard: false }"
|
||||||
aria-expanded="false">
|
class="relative w-fit"
|
||||||
<span class="visually-hidden">Other</span>
|
x-on:keydown.esc.window="isOpen = false; openedWithKeyboard = false">
|
||||||
</button>
|
<button type="button" x-on:click="isOpen = ! isOpen"
|
||||||
<ul class="dropdown-menu">
|
class="text-slate-100 bg-english-violet hover:bg-dark-cyan focus:ring-4 focus:ring-dark-cyan font-medium rounded-r-lg text-sm px-3.5 py-3.5 focus:outline-none inline-flex items-center whitespace-nowrap rounded-radius border-l-2 border-slate-100 dark:border-neutral-900 tracking-wide transition"
|
||||||
<li>
|
aria-haspopup="true" x-on:keydown.space.prevent="openedWithKeyboard = true"
|
||||||
<a class="dropdown-item"
|
x-on:keydown.enter.prevent="openedWithKeyboard = true"
|
||||||
@click="reason = 'Sale'">
|
x-on:keydown.down.prevent="openedWithKeyboard = true"
|
||||||
Sale
|
x-bind:class="isOpen || openedWithKeyboard ? 'text-on-surface-strong dark:text-on-surface-dark-strong' : 'text-on-surface dark:text-on-surface-dark'"
|
||||||
</a>
|
x-bind:aria-expanded="isOpen || openedWithKeyboard">
|
||||||
</li>
|
<span class="sr-only">Reason Options</span>
|
||||||
<li>
|
<svg aria-hidden="true" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"
|
||||||
<a class="dropdown-item"
|
stroke-width="2" stroke="currentColor" class="size-4 rotate-0">
|
||||||
@click="reason = 'Destruction'">
|
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 8.25l-7.5 7.5-7.5-7.5"/>
|
||||||
Destruction
|
</svg>
|
||||||
</a>
|
</button>
|
||||||
</li>
|
<!-- Dropdown Menu -->
|
||||||
<li>
|
<div x-cloak
|
||||||
<a class="dropdown-item"
|
x-show="isOpen || openedWithKeyboard"
|
||||||
@click="reason = 'Expiration'">
|
x-transition
|
||||||
Expiration
|
x-trap="openedWithKeyboard"
|
||||||
</a>
|
x-on:click.outside="isOpen = false, openedWithKeyboard = false"
|
||||||
</li>
|
x-on:keydown.down.prevent="$focus.wrap().next()"
|
||||||
<li>
|
x-on:keydown.up.prevent="$focus.wrap().previous()"
|
||||||
<a class="dropdown-item"
|
class="bg-slate-100 dark:bg-neutral-900 absolute top-11 left-0 flex w-fit min-w-48 flex-col overflow-hidden rounded-radius border border-outline border-neutral-900 dark:border-slate-100"
|
||||||
@click="reason = 'Theft'">
|
role="menu">
|
||||||
Theft
|
<a class="px-4 py-2 text-sm hover:bg-dark-cyan hover:font-semibold focus-visible:bg-dark-cyan focus-visible:font-semibold focus-visible:outline-hidden"
|
||||||
</a>
|
role="menuitem"
|
||||||
</li>
|
@click="reason = 'Sale'; isOpen = false">
|
||||||
</ul>
|
Sale
|
||||||
|
</a>
|
||||||
|
<a class="px-4 py-2 text-sm hover:bg-dark-cyan hover:font-semibold focus-visible:bg-dark-cyan focus-visible:font-semibold focus-visible:outline-hidden"
|
||||||
|
role="menuitem"
|
||||||
|
@click="reason = 'Destruction'; isOpen = false">
|
||||||
|
Destruction
|
||||||
|
</a>
|
||||||
|
<a class="px-4 py-2 text-sm hover:bg-dark-cyan hover:font-semibold focus-visible:bg-dark-cyan focus-visible:font-semibold focus-visible:outline-hidden"
|
||||||
|
role="menuitem"
|
||||||
|
@click="reason = 'Expiration'; isOpen = false">
|
||||||
|
Expiration
|
||||||
|
</a>
|
||||||
|
<a class="px-4 py-2 text-sm hover:bg-dark-cyan hover:font-semibold focus-visible:bg-dark-cyan focus-visible:font-semibold focus-visible:outline-hidden"
|
||||||
|
role="menuitem"
|
||||||
|
@click="reason = 'Theft'; isOpen = false">
|
||||||
|
Theft
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<input id="reason" name="reason" type="hidden" x-model="reason"/>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@ -1,43 +1,47 @@
|
|||||||
|
|
||||||
<form hx-post="/item/{{item_id}}/adjustment/positive" hx-target="this" hx-swap="outerHTML" >
|
<form hx-post="/item/{{item_id}}/adjustment/positive"
|
||||||
<div class="row">
|
hx-target="this" hx-swap="outerHTML">
|
||||||
<div class="col">
|
<div class="mb-5">
|
||||||
<input type="number"
|
<label for="amount" class="block mb-2 text-sm font-medium">Amount</label>
|
||||||
id="amount"
|
<input
|
||||||
name="amount"
|
type="number"
|
||||||
step="0.01"
|
id="amount"
|
||||||
class="form-control"
|
name="amount"
|
||||||
placeholder="Amount"
|
class="border border-neutral-900 text-neutral-900 dark:text-slate-100 text-sm rounded-lg focus:ring-paynes-gray focus:border-paynes-gray block max-w-56 p-2.5"
|
||||||
aria-label="amount"
|
step="0.01"
|
||||||
required
|
placeholder="Amount"
|
||||||
{% if !amount_error.is_empty() -%}
|
aria-label="amount"
|
||||||
aria-invalid="true"
|
required
|
||||||
aria-describedby="invalid-amount"
|
{% if !amount_error.is_empty() -%}
|
||||||
{% endif -%}
|
aria-invalid="true"
|
||||||
/>
|
aria-describedby="invalid-amount"
|
||||||
{% if !amount_error.is_empty() -%}
|
{% endif -%}
|
||||||
<small id="invalid-amount" class="invalid-feedback">{{ amount_error }}</small>
|
/>
|
||||||
{% endif -%}
|
{% if !amount_error.is_empty() -%}
|
||||||
</div>
|
<small id="invalid-amount" class="mt-2 text-sm text-cerise">
|
||||||
<div class="col">
|
{{ amount_error }}
|
||||||
<input type="text"
|
</small>
|
||||||
id="price"
|
{% endif -%}
|
||||||
name="price"
|
</div>
|
||||||
placeholder="Price"
|
<div class="mb-5">
|
||||||
class="form-control"
|
<label for="price" class="block mb-2 text-sm font-medium">Price</label>
|
||||||
aria-label="price"
|
<input type="text"
|
||||||
required
|
id="price"
|
||||||
{% if !price_error.is_empty() -%}
|
name="price"
|
||||||
aria-invalid="true"
|
class="border border-neutral-900 text-neutral-900 dark:text-slate-100 text-sm rounded-lg focus:ring-paynes-gray focus:border-paynes-gray block max-w-56 p-2.5"
|
||||||
aria-describedby="invalid-price"
|
placeholder="Price"
|
||||||
{% endif -%}
|
aria-label="price"
|
||||||
/>
|
required
|
||||||
{% if !price_error.is_empty() -%}
|
{% if !price_error.is_empty() -%}
|
||||||
<small id="invalid-price" class="invalid-feedback">{{ price_error }}</small>
|
aria-invalid="true"
|
||||||
{% endif -%}
|
aria-describedby="invalid-price"
|
||||||
</div>
|
{% endif -%}
|
||||||
<div class="col">
|
/>
|
||||||
<button class="btn btn-primary">Add</button>
|
{% if !price_error.is_empty() -%}
|
||||||
</div>
|
<small id="invalid-price" class="mt-2 text-sm text-cerise">{{ price_error }}</small>
|
||||||
|
{% endif -%}
|
||||||
|
</div>
|
||||||
|
<div class="mb-5">
|
||||||
|
<button class="text-slate-100 bg-english-violet hover:bg-dark-cyan focus:ring-4 focus:ring-dark-cyan font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 focus:outline-none">Add</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@ -1,53 +1,60 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" data-bs-theme="dark">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="light dark">
|
||||||
<!-- <link rel="stylesheet" href="/css/pico.min.css" > -->
|
<link rel="stylesheet" href="/css/main.css">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<!--TODO Vendor css-->
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
|
||||||
|
|
||||||
<script src="/js/htmx.min.js"></script>
|
<script src="/js/htmx.min.js"></script>
|
||||||
<!--TODO Vendor this script -->
|
<!--TODO Vendor this script -->
|
||||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
|
||||||
<title>{% block title %}Title{% endblock %}</title>
|
<title>{% block title %}Title{% endblock %}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="bg-slate-100 text-neutral-900 dark:bg-neutral-900 dark:text-slate-100 min-h-screen">
|
||||||
<header class="container mb-4">
|
<header class="bg-space-cadet font-sans mb-4 mx-auto">
|
||||||
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
<nav class="mx-auto max-w-7xl px-2 py-4 sm:px-6 lg:px-8 flex justify-between gap-2">
|
||||||
<div class="container-fluid">
|
<div>
|
||||||
<a class="navbar-brand" href="/home">Inventory App</a>
|
<a href="/home" class="rounded-md bg-english-violet px-3 py-2 text-sm font-medium text-white">
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
Inventory App
|
||||||
<span class="navbar-toggler-icon"></span>
|
</a>
|
||||||
</button>
|
</div>
|
||||||
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
|
<div>
|
||||||
<ul class="navbar-nav ">
|
<a href="/overview"
|
||||||
<li class="nav-item"><h1></h1></li>
|
class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">
|
||||||
<li class="nav-item"><a class="nav-link" href="/overview">Overview</a></li>
|
Overview
|
||||||
<li class="nav-item"><a class="nav-link" href="/catalog">Catalog</a></li>
|
</a>
|
||||||
<li class="nav-item"><a class="nav-link" href="/upload">Upload</a></li>
|
<a href="/catalog"
|
||||||
<li class="nav-item"><a class="nav-link" href="/reports">Reports</a></li>
|
class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">
|
||||||
<li class="nav-item"><a class="nav-link" href="/history">History</a></li>
|
Catalog
|
||||||
</ul>
|
</a>
|
||||||
<div class="d-flex">
|
<a href="/upload"
|
||||||
<a class="btn btn-primary" href="/auth/logout">Logout</a>
|
class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">
|
||||||
</div>
|
Upload
|
||||||
</div>
|
</a>
|
||||||
|
<a href="/reports"
|
||||||
|
class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">
|
||||||
|
Reports
|
||||||
|
</a>
|
||||||
|
<a href="/history"
|
||||||
|
class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">
|
||||||
|
History
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main class="container">
|
<main class="bg-slate-100 text-neutral-900 dark:bg-neutral-900 dark:text-slate-100 mx-auto px-1">
|
||||||
{% block content %}<p>Content Missing</p>{% endblock %}
|
{% block content %}<p>Content Missing</p>{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
<footer class="container-fluid">
|
<footer>
|
||||||
|
<!--
|
||||||
<script>
|
<script>
|
||||||
// Needed for nice bootstrap dropdowns
|
// Needed for nice bootstrap dropdowns
|
||||||
const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="dropdown"]');
|
const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="dropdown"]');
|
||||||
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
|
const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
|
||||||
</script>
|
</script>
|
||||||
|
-->
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in new issue