compiling node modules

This commit is contained in:
Priec
2026-05-16 22:42:22 +02:00
parent 2eb8cbac5c
commit fcaf2038ad
9 changed files with 1159 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
/* Tailwind + daisyUI source. The Tailwind CLI compiles this into a purged,
minified bundle at assets/static/css/app.css (served at /static/css/app.css)
— see the `build:css` / `watch:css` scripts in package.json. */
@tailwind base;
@tailwind components;
@tailwind utilities;

File diff suppressed because one or more lines are too long

View File

@@ -45,8 +45,9 @@
<meta property="og:description" content="{{ t(key='meta-description', lang=lang) }}">
<meta property="og:locale" content="{% if lang == 'en' %}en_US{% else %}sk_SK{% endif %}">
<meta name="twitter:card" content="summary">
<link href="https://cdn.jsdelivr.net/npm/daisyui@4/dist/full.min.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
<!-- Tailwind + daisyUI, compiled and purged at build time — see
`npm run build:css`. Replaces the render-blocking Tailwind Play CDN. -->
<link href="/static/css/app.css" rel="stylesheet" type="text/css" />
<style>
/* Keep buttons static — disable daisyUI's press-shrink animation. */
.btn { --animation-btn: 0; --btn-focus-scale: 1; }

View File

@@ -97,9 +97,9 @@
</h1>
{% if has_courts %}
<form method="get" action="{{ base_path }}" class="flex items-center gap-2">
<label class="text-sm font-medium opacity-70">{{ t(key="court-label", lang=lang) }}</label>
<label for="court-select" class="text-sm font-medium opacity-70">{{ t(key="court-label", lang=lang) }}</label>
<input type="hidden" name="week" value="{{ week }}">
<select name="court" onchange="this.form.submit()" class="select select-bordered select-sm">
<select name="court" id="court-select" onchange="this.form.submit()" class="select select-bordered select-sm">
{% for c in courts %}
<option value="{{ c.id }}" {% if c.selected %}selected{% endif %}>{{ c.name }}</option>
{% endfor %}
@@ -151,7 +151,7 @@
</form>
{% endif %}
</div>
<div class="text-sm font-medium opacity-60">{{ court_name }} · {{ week_label }}</div>
<div class="text-sm font-medium opacity-70">{{ court_name }} · {{ week_label }}</div>
</div>
<div id="cal-daynav" class="mb-3 flex items-center gap-2 md:hidden">
@@ -240,7 +240,7 @@
</div>
{% else %}
<div class="card border border-base-300 bg-base-100 shadow-sm">
<div class="card-body items-center text-center opacity-60">{{ t(key="no-courts", lang=lang) }}</div>
<div class="card-body items-center text-center opacity-70">{{ t(key="no-courts", lang=lang) }}</div>
</div>
{% endif %}
{% endblock content %}