Add some top menu logic
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.top-menu.off-canvas-wrap
|
||||
/.top-menu.off-canvas-wrap
|
||||
.inner-wrap
|
||||
nav.tab-bar
|
||||
section.left-small
|
||||
@@ -46,4 +46,51 @@
|
||||
span= notice
|
||||
= outlet
|
||||
a.exit-off-canvas
|
||||
header.top-menu
|
||||
.toggle-side-menu
|
||||
span
|
||||
.menu-content
|
||||
section.main-buttons
|
||||
link-to 'index'
|
||||
= image_tag 'icons/logo-small.png'
|
||||
if list.id
|
||||
App.MenuItemView route="active_list"
|
||||
App.MenuItemView route='table' route_param=list.table.id
|
||||
App.MenuItemListNeedsHelpView
|
||||
App.MenuItemListNeedsPaymentView
|
||||
aside.side-menu
|
||||
ul
|
||||
li
|
||||
label Menu
|
||||
li
|
||||
= link-to 'index'
|
||||
span Home
|
||||
li
|
||||
a{action scanQr bubbles=false}
|
||||
span Scan QR
|
||||
if list.id
|
||||
li
|
||||
=link-to 'table' list.table.id
|
||||
span= t 'list_products.title'
|
||||
li
|
||||
=link-to 'active_list'
|
||||
span= t 'active_list.title'
|
||||
li
|
||||
=link-to 'lists'
|
||||
span= t 'models.plural.list'
|
||||
li
|
||||
=link-to 'join_requests'
|
||||
span= t 'models.plural.join_request'
|
||||
li
|
||||
a{action openDebugger}
|
||||
span.fa.fa-wrench.fa-lg
|
||||
span Debugger
|
||||
main.main-section
|
||||
.main-section-content
|
||||
if notice
|
||||
#notice.alert-box{action clearNotice} data-alert=true
|
||||
a.right href="#"
|
||||
span.fa.fa-times.fa-lg
|
||||
span= notice
|
||||
= outlet
|
||||
=outlet modal
|
||||
|
||||
Reference in New Issue
Block a user