Skip to content
Snippets Groups Projects
Commit d45614f1 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#553 - added empty statistics page

parent 8d24f5a8
No related branches found
No related tags found
No related merge requests found
Pipeline #4646 failed
......@@ -32,4 +32,11 @@ public class IndexController extends BaseController
model.addAttribute("settings", settingsService.getSettings());
return "firstUse";
}
@GetMapping("/statistics")
public String statistics(Model model)
{
model.addAttribute("settings", settingsService.getSettings());
return "statistics";
}
}
\ No newline at end of file
......@@ -173,6 +173,7 @@ menu.templates=Vorlagen
menu.categories=Kategorien
menu.charts=Diagramme
menu.reports=Berichte
menu.statistics=Statistiken
menu.settings=Einstellungen
menu.settings.database=Datenbank
menu.about=Über
......
......@@ -173,6 +173,7 @@ menu.templates=Templates
menu.categories=Categories
menu.charts=Charts
menu.reports=Reports
menu.statistics=Statistics
menu.settings=Settings
menu.settings.database=Database
menu.hotkeys=Hotkeys
......
......@@ -14,6 +14,7 @@
<@itemWithIcon "charts" "/charts" locale.getString("menu.charts"), "show_chart" "background-purple", activeID/>
<@itemWithIcon "reports", "/reports", locale.getString("menu.reports"), "description", "background-green", activeID/>
<@itemWithIcon "categories", "/categories", locale.getString("menu.categories"), "label", "background-orange", activeID/>
<@itemWithIcon "statistics", "/statistics", locale.getString("menu.statistics"), "insert_chart", "background-grey", activeID/>
<@itemWithIcon "settings", "/settings", locale.getString("menu.settings"), "settings", "background-red", activeID/>
<@itemDivider/>
......
<html>
<head>
<#import "helpers/header.ftl" as header>
<@header.globals/>
<@header.header "BudgetMaster - ${locale.getString('menu.firstUseGuide')}"/>
<#import "/spring.ftl" as s>
</head>
<@header.body>
<#import "helpers/navbar.ftl" as navbar>
<@navbar.navbar "statistics" settings/>
<#import "indexFunctions.ftl" as indexFunctions>
<main>
<div class="card main-card background-color">
<div class="container">
<div class="section center-align">
<div class="headline"><i class="material-icons">insert_chart</i> ${locale.getString("menu.statistics")}</div>
</div>
</div>
<@header.content>
<br>
<div class="container">
<div class="container center-align">
<div class="row left-align">
<div class="col s12">
Lorem Ipsum
</div>
</div>
</div>
</div>
</@header.content>
</div>
</main>
<!-- Scripts-->
<#import "helpers/scripts.ftl" as scripts>
<@scripts.scripts/>
</@header.body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment