From 8ea8192853bcb7b8593bece1c9ce8acaab1ed467 Mon Sep 17 00:00:00 2001 From: Angel Beltran Date: Fri, 27 Feb 2026 16:39:54 -0700 Subject: [PATCH] stubbed page: simulations --- templates/layout.html.tmpl | 9 +++++++++ .../pages/accounts/{acctID.int64}/simulations.html.tmpl | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 templates/pages/accounts/{acctID.int64}/simulations.html.tmpl diff --git a/templates/layout.html.tmpl b/templates/layout.html.tmpl index f850006..a83945d 100644 --- a/templates/layout.html.tmpl +++ b/templates/layout.html.tmpl @@ -148,6 +148,15 @@ "Content" "Inventory" )}} + {{- if $mockMode }} + {{- $simulationsUIPath := printf "/accounts/%d/simulations" $acctID }} + {{ template "navbar-link" (props + "Href" (printf "/ui%s" $simulationsUIPath) + "Selected" (hasPrefix $path $simulationsUIPath) + "Content" "Simulations" + )}} + {{- end }} + {{- $reportsUIPath := printf "/accounts/%d/reports" $acctID }} {{- if $mockMode }} {{- $reportsUIPath = printf "%s/mock" $reportsUIPath }} diff --git a/templates/pages/accounts/{acctID.int64}/simulations.html.tmpl b/templates/pages/accounts/{acctID.int64}/simulations.html.tmpl new file mode 100644 index 0000000..3a974ba --- /dev/null +++ b/templates/pages/accounts/{acctID.int64}/simulations.html.tmpl @@ -0,0 +1,3 @@ +

+ Simulations +