now with pagination
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user