csv -> xlsx
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user