generated from alecodes/base-template
refactor!: change css library to picocss
This commit is contained in:
parent
48b0252ec4
commit
27037a9f75
6 changed files with 25 additions and 21 deletions
|
|
@ -3,14 +3,9 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="@mini-strap/core" />
|
||||
<link rel="stylesheet" href="@mini-strap/components/offcanvas/style.scss" />
|
||||
<link rel="stylesheet"
|
||||
href="@mini-strap/components/accordion/accordion.scss" />
|
||||
<link rel="stylesheet" href="@mini-strap/components/navbar/navbar.scss" />
|
||||
<meta name="color-scheme" content="dark light">
|
||||
<link rel="stylesheet" href="../css/style.scss" />
|
||||
<script type="module" src="htmx.org"></script>
|
||||
<script type="module" src="@mini-strap/components/offcanvas/index.ts"></script>
|
||||
<title>
|
||||
{% block title %}Axum web service!{% endblock %}
|
||||
</title>
|
||||
|
|
@ -18,14 +13,14 @@
|
|||
|
||||
<body>
|
||||
<header>
|
||||
{% include "partials/header.html" %}
|
||||
{% include "partials/header.html" ignore missing %}
|
||||
</header>
|
||||
<main class="msp-container">
|
||||
<nav class="msp-d-sm-none msp-d-flex msp-justify-content-end">
|
||||
<button class="msp-offcanvas-toggle" data-msp-target="#main-offcanvas">Toggle</button>
|
||||
</nav>
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
<footer>
|
||||
{% include "partials/footer.html" ignore missing %}
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<div class="msp-hstack msp-justify-content-end msp-mb-3">
|
||||
<button class="msp-btn-sm" hx-get="/" hx-target="#example-table">Refresh</button>
|
||||
|
||||
<div class="msp-hstack msp-justify-content-between">
|
||||
<h1>Axum example!</h1>
|
||||
<button class="" hx-get="/" hx-target="#example-table">Refresh</button>
|
||||
</div>
|
||||
|
||||
<h1>Axum example!</h1>
|
||||
|
||||
{% block htmx %}
|
||||
<table id="example-table">
|
||||
<table id="example-table" class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="msp-text-center">Database</th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue