diff --git a/models/printer.go b/models/printer.go
index 914ac40..868c269 100644
--- a/models/printer.go
+++ b/models/printer.go
@@ -15,6 +15,7 @@ const (
LongEdge PrintOption = ""
ShortEdge PrintOption = "-o Binding=TopBinding"
CreateBooklet PrintOption = "-o Combination=Booklet -o PageSize=A5"
+ TriFold PrintOption = "-o Fold=TriFold"
)
type PrintJob struct {
@@ -32,6 +33,10 @@ func GetPrintMode(mode string) PrintOption {
return ShortEdge
}
+ if mode == "TriFold" {
+ return TriFold
+ }
+
return CreateBooklet
}
diff --git a/static/output.css b/static/output.css
index 4333cf7..51dca4a 100644
--- a/static/output.css
+++ b/static/output.css
@@ -810,26 +810,10 @@ video {
grid-template-columns: repeat(12, minmax(0, 1fr));
}
-.grid-cols-2 {
- grid-template-columns: repeat(2, minmax(0, 1fr));
-}
-
-.grid-cols-3 {
- grid-template-columns: repeat(3, minmax(0, 1fr));
-}
-
.grid-cols-6 {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
-.grid-cols-4 {
- grid-template-columns: repeat(4, minmax(0, 1fr));
-}
-
-.grid-rows-6 {
- grid-template-rows: repeat(6, minmax(0, 1fr));
-}
-
.flex-col {
flex-direction: column;
}
@@ -1245,16 +1229,6 @@ video {
background-color: rgb(24 24 27 / var(--tw-bg-opacity, 1));
}
-.bg-green-500 {
- --tw-bg-opacity: 1;
- background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
-}
-
-.bg-gray-700 {
- --tw-bg-opacity: 1;
- background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
-}
-
.fill-red-50 {
fill: #fef2f2;
}
diff --git a/views/additem.html b/views/additem.html
index edb09b7..767f4c8 100644
--- a/views/additem.html
+++ b/views/additem.html
@@ -131,6 +131,7 @@
+
diff --git a/views/edititem.html b/views/edititem.html
index e115386..d12cdd7 100644
--- a/views/edititem.html
+++ b/views/edititem.html
@@ -74,6 +74,7 @@
+