User side menu styling
This commit is contained in:
@@ -10,7 +10,7 @@ if list.closed_at
|
|||||||
.display-row
|
.display-row
|
||||||
.display-label=t 'attributes.list.state'
|
.display-label=t 'attributes.list.state'
|
||||||
.display-field=state 'list' list.state
|
.display-field=state 'list' list.state
|
||||||
if list.orders
|
if list.sorted_orders
|
||||||
.list-orders-container
|
.list-orders-container
|
||||||
each order in list.sorted_orders
|
each order in list.sorted_orders
|
||||||
App.ListOrderView contentBinding="order"
|
App.ListOrderView contentBinding="order"
|
||||||
@@ -22,5 +22,6 @@ else
|
|||||||
p
|
p
|
||||||
span=t 'active_list.no_orders_explanation'
|
span=t 'active_list.no_orders_explanation'
|
||||||
br
|
br
|
||||||
link-to 'lists' class="button"
|
if list.table
|
||||||
span=t 'list_products.title'
|
link-to 'table' list.table class="button"
|
||||||
|
span=t 'list_products.title'
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
section.right.tab-bar-section
|
section.right.tab-bar-section
|
||||||
= link-to 'index'
|
= link-to 'index'
|
||||||
= image_tag 'icons/logo-small.png'
|
= image_tag 'icons/logo-small.png'
|
||||||
a{action openDebugger} alt=""
|
a{ action "openDebugger"} alt=""
|
||||||
span.fa.fa-wrench.fa-lg
|
span.fa.fa-wrench.fa-lg
|
||||||
.right
|
.right
|
||||||
if list.id
|
if list.id
|
||||||
@@ -17,8 +17,7 @@
|
|||||||
App.MenuItemListNeedsPaymentView
|
App.MenuItemListNeedsPaymentView
|
||||||
aside.left-off-canvas-menu
|
aside.left-off-canvas-menu
|
||||||
ul.off-canvas-list
|
ul.off-canvas-list
|
||||||
li
|
li: h3 Menu
|
||||||
label Menu
|
|
||||||
li
|
li
|
||||||
= link-to 'index'
|
= link-to 'index'
|
||||||
span Home
|
span Home
|
||||||
@@ -63,9 +62,9 @@ header.top-menu
|
|||||||
.supplier-info-row
|
.supplier-info-row
|
||||||
.supplier-name= list.supplier.name
|
.supplier-name= list.supplier.name
|
||||||
.table-number
|
.table-number
|
||||||
|
|
|
|
||||||
= t 'models.table'
|
= t 'models.table'
|
||||||
|
|
|
|
||||||
= list.table.number
|
= list.table.number
|
||||||
.supplier-info-row
|
.supplier-info-row
|
||||||
.counter.supplier-orders-placed-count
|
.counter.supplier-orders-placed-count
|
||||||
@@ -76,20 +75,23 @@ header.top-menu
|
|||||||
span.orders-in-process-count-icon
|
span.orders-in-process-count-icon
|
||||||
aside.side-menu
|
aside.side-menu
|
||||||
ul
|
ul
|
||||||
li
|
li.title: h3 Menu
|
||||||
label Menu
|
|
||||||
li
|
li
|
||||||
= link-to 'index'
|
= link-to 'index'
|
||||||
span Home
|
span Home
|
||||||
li
|
li
|
||||||
a{action scanQr bubbles=false}
|
a{action "scanQr" bubbles=false}
|
||||||
|
span.scan-qr-icon
|
||||||
span Scan QR
|
span Scan QR
|
||||||
if list.id
|
if list.id
|
||||||
li
|
li
|
||||||
=link-to 'table' list.table.id
|
=link-to 'table' list.table.id
|
||||||
span= t 'list_products.title'
|
span.fa.fa-cutlery
|
||||||
|
span.fa.fa-glass
|
||||||
|
= t 'list_products.title'
|
||||||
li
|
li
|
||||||
=link-to 'active_list'
|
=link-to 'active_list'
|
||||||
|
span.active-list-icon
|
||||||
span= t 'active_list.title'
|
span= t 'active_list.title'
|
||||||
li
|
li
|
||||||
=link-to 'lists'
|
=link-to 'lists'
|
||||||
@@ -97,8 +99,8 @@ aside.side-menu
|
|||||||
li
|
li
|
||||||
=link-to 'join_requests'
|
=link-to 'join_requests'
|
||||||
span= t 'models.plural.join_request'
|
span= t 'models.plural.join_request'
|
||||||
li
|
li.hide
|
||||||
a{action openDebugger}
|
a{action "openDebugger"}
|
||||||
span.fa.fa-wrench.fa-lg
|
span.fa.fa-wrench.fa-lg
|
||||||
span Debugger
|
span Debugger
|
||||||
main.main-section
|
main.main-section
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
@import font-awesome
|
@import font-awesome
|
||||||
@import constants
|
@import constants
|
||||||
@import ./structure
|
@import ./structure
|
||||||
@import ./menu_main
|
@import ./components/*
|
||||||
@import ./menu_side
|
|
||||||
@import ./qmodal
|
@import ./qmodal
|
||||||
@import ./display_fields
|
@import ./display_fields
|
||||||
@import ./qproduct_orders
|
@import ./qproduct_orders
|
||||||
@@ -13,4 +12,3 @@
|
|||||||
@import ./qindex
|
@import ./qindex
|
||||||
@import ./qlists
|
@import ./qlists
|
||||||
@import ./qjoin_requests
|
@import ./qjoin_requests
|
||||||
|
|
||||||
|
|||||||
-14
@@ -68,17 +68,3 @@ header.top-menu
|
|||||||
@extend .fa-check
|
@extend .fa-check
|
||||||
@extend .fa-lg
|
@extend .fa-lg
|
||||||
margin-left: 3px
|
margin-left: 3px
|
||||||
.toggle-side-menu
|
|
||||||
position: absolute
|
|
||||||
width: 28px
|
|
||||||
height: 28px
|
|
||||||
color: white
|
|
||||||
left: 0
|
|
||||||
cursor: pointer
|
|
||||||
z-index: 100
|
|
||||||
&.open
|
|
||||||
color: white
|
|
||||||
span
|
|
||||||
@extend .fa
|
|
||||||
@extend .fa-bars
|
|
||||||
@extend .fa-lg
|
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
aside.side-menu
|
||||||
|
background-color: #444
|
||||||
|
position: fixed
|
||||||
|
display: none
|
||||||
|
left: -222px
|
||||||
|
top: 0
|
||||||
|
width: 222px
|
||||||
|
height: 100%
|
||||||
|
z-index: 157
|
||||||
|
> ul
|
||||||
|
list-style: none
|
||||||
|
a
|
||||||
|
color: white
|
||||||
|
.title
|
||||||
|
border-bottom: 1px solid #aaa
|
||||||
|
h3
|
||||||
|
color: white
|
||||||
|
margin-bottom: 3px
|
||||||
|
.scan-qr-icon
|
||||||
|
margin-right: 18px
|
||||||
|
@extend .fa
|
||||||
|
@extend .fa-qrcode
|
||||||
|
.fa-glass
|
||||||
|
margin-right: 5px
|
||||||
|
.active-list-icon
|
||||||
|
margin-right: 18px
|
||||||
|
@extend .fa
|
||||||
|
@extend .fa-list
|
||||||
|
|
||||||
|
.toggle-side-menu
|
||||||
|
position: absolute
|
||||||
|
width: 28px
|
||||||
|
height: 28px
|
||||||
|
color: white
|
||||||
|
left: 0
|
||||||
|
cursor: pointer
|
||||||
|
z-index: 100
|
||||||
|
&.open
|
||||||
|
color: white
|
||||||
|
span
|
||||||
|
@extend .fa
|
||||||
|
@extend .fa-lg
|
||||||
|
@extend .fa-bars
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
aside.side-menu
|
|
||||||
background-color: #444
|
|
||||||
position: fixed
|
|
||||||
display: none
|
|
||||||
left: -222px
|
|
||||||
top: 0
|
|
||||||
width: 222px
|
|
||||||
height: 100%
|
|
||||||
z-index: 157
|
|
||||||
> ul
|
|
||||||
list-style: none
|
|
||||||
a
|
|
||||||
color: white
|
|
||||||
@@ -6,7 +6,6 @@ Supplier
|
|||||||
|
|
||||||
- better product listing with time of day in products overview
|
- better product listing with time of day in products overview
|
||||||
- english emails
|
- english emails
|
||||||
- remove kassasysteem from emails
|
|
||||||
- https://github.com/buytruckload/geonames_api
|
- https://github.com/buytruckload/geonames_api
|
||||||
- website calls to action
|
- website calls to action
|
||||||
- Side menu
|
- Side menu
|
||||||
|
|||||||
Reference in New Issue
Block a user