Add layout and sidebar for administration views

This commit is contained in:
Andreas Nedbal 2022-11-20 17:59:07 +01:00 committed by Andreas Nedbal
parent c61ccfa5c1
commit 4504d5ebac
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,8 @@
.container-lg.container--main
.row
.col-md-3.col-sm-4.col-xs-12
= render 'tabs/admin'
.col-md-9.col-sm-8.col-xs-12
= yield
- parent_layout 'base'

View File

@ -0,0 +1,10 @@
.card
.list-group
= list_group_item t(".dashboard"), admin_dashboard_path
= list_group_item t(".announcements"), announcement_index_path
.card
.list-group
= list_group_item t(".rails"), rails_admin_path
= list_group_item t(".sidekiq"), sidekiq_web_path
= list_group_item t(".pghero"), pghero_path