mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 09:56:03 +01:00
Add layout and sidebar for administration views
This commit is contained in:
parent
c61ccfa5c1
commit
4504d5ebac
2 changed files with 18 additions and 0 deletions
8
app/views/layouts/admin.html.haml
Normal file
8
app/views/layouts/admin.html.haml
Normal 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'
|
10
app/views/tabs/_admin.html.haml
Normal file
10
app/views/tabs/_admin.html.haml
Normal 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
|
Loading…
Reference in a new issue