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 @@ +