From 5b7113905ecdb1646ead78a05b1e10c5ebee9b6f Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Mon, 15 Apr 2019 03:16:19 +0200 Subject: sklad: support running under a prefix --- cmd/sklad/base.tmpl | 8 +++---- cmd/sklad/container.tmpl | 20 ++++++++-------- cmd/sklad/main.go | 59 ++++++++++++++++++++++++++++-------------------- cmd/sklad/search.tmpl | 6 ++--- cmd/sklad/series.tmpl | 8 +++---- cmd/sklad/session.go | 2 +- 6 files changed, 57 insertions(+), 46 deletions(-) (limited to 'cmd') diff --git a/cmd/sklad/base.tmpl b/cmd/sklad/base.tmpl index d92a818..956bfa4 100644 --- a/cmd/sklad/base.tmpl +++ b/cmd/sklad/base.tmpl @@ -49,14 +49,14 @@

sklad

{{ block "HeaderControls" . }} - Obaly - Řady + Obaly + Řady -
+
-
+
{{ end }} diff --git a/cmd/sklad/container.tmpl b/cmd/sklad/container.tmpl index 3300a1f..147e124 100644 --- a/cmd/sklad/container.tmpl +++ b/cmd/sklad/container.tmpl @@ -24,18 +24,18 @@

{{ .Container.Id }} {{ range .Container.Path }} - « {{ . }} + « {{ . }} {{ end }}

-
+
-
+
-
+ @@ -66,7 +66,7 @@

Nový obal

- +