added control sidebar #10 (#87)

- added configurable sidebar #10
- added language switch in sidebar preferences tab #10
- added sidebar tab with kimai beta-info message #10
- use trait for repositories
- improved README
This commit is contained in:
Kevin Papst
2018-01-14 01:36:07 +01:00
committed by GitHub
parent d5e689e307
commit 023fef6a70
15 changed files with 277 additions and 59 deletions

View File

@@ -9,6 +9,6 @@ avanzu_admin_theme:
boxed_layout: false
collapsed_sidebar: true
mini_sidebar: true
control_sidebar: false
control_sidebar: true
knp_menu:
enable: false

View File

@@ -7,3 +7,10 @@ twig:
date_1: "d.m.Y" # used for display in timesheets
box_color: "green" # a color for ???
active_warning: 3 # display a warning color if the user has at least X active recordings
control_sidebar:
settings:
icon: gears
controller: 'App\Controller\SidebarController::settingsAction'
home:
icon: question-circle-o
template: sidebar/home.html.twig

View File

@@ -2,10 +2,3 @@ twig:
#paths: ['%kernel.project_dir%/templates']
debug: '%kernel.debug%'
strict_variables: '%kernel.debug%'
# TODO move me to kimai config
globals:
kimai_context:
date_1: "d.m.Y" # used for display in timesheets
box_color: "green" # a color for ???
active_warning: 3 # display a warning color if the user has at least X active recordings