epic-ts
authorMichael Wagner <michael@wagnertech.de>
Tue, 8 Feb 2022 22:06:41 +0000 (23:06 +0100)
committerMichael Wagner <michael@wagnertech.de>
Tue, 8 Feb 2022 22:06:41 +0000 (23:06 +0100)
menus/admin/.dummy [new file with mode: 0644]
menus/mobile/.dummy [new file with mode: 0644]
menus/user/.dummy [new file with mode: 0644]
templates/webpages/mebil/report_top.html [new file with mode: 0644]

diff --git a/menus/admin/.dummy b/menus/admin/.dummy
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/menus/mobile/.dummy b/menus/mobile/.dummy
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/menus/user/.dummy b/menus/user/.dummy
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/templates/webpages/mebil/report_top.html b/templates/webpages/mebil/report_top.html
new file mode 100644 (file)
index 0000000..1ee307a
--- /dev/null
@@ -0,0 +1,14 @@
+[%- USE L %][% USE LxERP %]
+<form method="post" id="form" action="controller.pl">
+ [% L.hidden_tag('action', 'mebil/calcmap') %]
+ <a href="[% SELF.url_for(action='calcmap', year=(SELF.year - 1)) %]">&laquo; [%- LxERP.t8("Prior year") %]: [% SELF.year - 1 %]</a>
+
+ |
+ [% LxERP.t8("Current year") %]:
+ [% L.select_tag('year', YEARS_TO_LIST, default=SELF.year, onchange='$("#form").submit();') %]
+ |
+ <a href="[% SELF.url_for(action='calcmap', year=(SELF.year + 1)) %]">[%- LxERP.t8("Following year") %]: [% SELF.year + 1 %] &raquo;</a>
+ </form>
+<hr>