Added (not much) CSS for the tables

main
palo 2023-11-07 20:31:15 +01:00
parent f74ce8de7a
commit 8c86dbdfa8
8 changed files with 16 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
Scontrini-Web-Client
tags

View File

@ -134,6 +134,8 @@ func main() {
mux.HandleFunc("/pizza", pizzaHandler)
mux.HandleFunc("/order_pizzas", orderPizzasHandler)
mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
err := http.ListenAndServe(":8080", mux)
if errors.Is(err, http.ErrServerClosed) {
fmt.Println("Server closed")

View File

View File

@ -0,0 +1,5 @@
table, th, td {
border: 1px solid;
border-collapse: collapse;
padding: 15px;
}

View File

@ -0,0 +1,5 @@
table, th, td {
border: 1px solid;
border-collapse: collapse;
padding: 15px;
}

View File

@ -3,7 +3,7 @@
<head>
<title>Scontrini</title>
<link rel="stylesheet" href="">
<link rel="stylesheet" href="/static/stylesheets/index.css">
</head>
<body>

View File

@ -3,7 +3,7 @@
<head>
<title>Scontrini</title>
<link rel="stylesheet" href="">
<link rel="stylesheet" href="/static/stylesheets/ordered.css">
</head>
<body>

View File

@ -3,7 +3,7 @@
<head>
<title>Scontrini</title>
<link rel="stylesheet" href="">
<link rel="stylesheet" href="/static/stylesheets/pizza.css">
</head>
<body>