csv -> xlsx

This commit is contained in:
2025-12-11 10:51:44 +00:00
parent aef0be80fc
commit d3127a29de
8 changed files with 74 additions and 43 deletions

View File

@@ -3,7 +3,7 @@ package pages
import (
"github.com/b2dennis/meshi/ui/components/table"
"github.com/b2dennis/meshi/ui/components/card"
"github.com/b2dennis/meshi/csv"
"github.com/b2dennis/meshi/xlsx"
)
var weekdays = [7]string{
@@ -16,7 +16,7 @@ var weekdays = [7]string{
"Sonntag",
}
templ Home(plan csv.Plan) {
templ Home(plan xlsx.Plan) {
<!DOCTYPE html>
<html lang="en">
<head>
@@ -25,7 +25,7 @@ templ Home(plan csv.Plan) {
<title>Menüplan</title>
<link href="/assets/css/output.css" type="text/css" rel="stylesheet">
</head>
<body class="w-full min-h-screen flex items-center justify-center dark bg-card">
<body class="w-full min-h-screen flex items-center justify-center">
@card.Card(card.Props{Class: "w-4/5 h-4/5"}) {
@table.Table() {
@table.Header() {