Added (not much) CSS for the tables
This commit is contained in:
parent
f74ce8de7a
commit
8c86dbdfa8
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
Scontrini-Web-Client
|
||||
tags
|
||||
|
|
2
main.go
2
main.go
|
@ -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")
|
||||
|
|
0
static/stylesheets/index.css
Normal file
0
static/stylesheets/index.css
Normal file
5
static/stylesheets/ordered.css
Normal file
5
static/stylesheets/ordered.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
table, th, td {
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
padding: 15px;
|
||||
}
|
5
static/stylesheets/pizza.css
Normal file
5
static/stylesheets/pizza.css
Normal file
|
@ -0,0 +1,5 @@
|
|||
table, th, td {
|
||||
border: 1px solid;
|
||||
border-collapse: collapse;
|
||||
padding: 15px;
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<title>Scontrini</title>
|
||||
<link rel="stylesheet" href="">
|
||||
<link rel="stylesheet" href="/static/stylesheets/index.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<title>Scontrini</title>
|
||||
<link rel="stylesheet" href="">
|
||||
<link rel="stylesheet" href="/static/stylesheets/ordered.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<title>Scontrini</title>
|
||||
<link rel="stylesheet" href="">
|
||||
<link rel="stylesheet" href="/static/stylesheets/pizza.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue
Block a user