now with pagination

This commit is contained in:
Gavin McDonald
2025-12-16 18:27:39 -05:00
parent 4a7e966744
commit e78ec9fee4
5 changed files with 122 additions and 8 deletions

View File

@@ -71,6 +71,8 @@ defmodule LabelmakerWeb.Constants do
"verdana" => "Verdana"
}
@labels_per_page 4
@max_height 1024
@max_width 1024
@@ -99,6 +101,7 @@ defmodule LabelmakerWeb.Constants do
|> Enum.map(fn color -> color |> String.replace("-MS", "") |> String.replace("-", " ") end)
def font_map, do: @font_map
def labels_per_page, do: @labels_per_page
def max_height, do: @max_height
def max_width, do: @max_width
def max_label_length, do: @max_label_length