fixed layout for xlarge screens
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
App.SectionTabHeaderComponent= Ember.Component.extend DragNDrop.Droppable,
|
App.SectionTabHeaderComponent= Ember.Component.extend DragNDrop.Droppable,
|
||||||
layoutName: 'section/tab-header'
|
layoutName: 'section/tab-header'
|
||||||
classNames: ['section-tab-header']
|
|
||||||
classNameBindings: ['section_header_class', 'section_active:active']
|
classNameBindings: ['section_header_class', 'section_active:active']
|
||||||
|
classNames: ['section-tab-header']
|
||||||
click: (e)->
|
click: (e)->
|
||||||
@set 'globals.active_section', @get('section')
|
@set 'globals.active_section', @get('section')
|
||||||
@get('targetObject').transitionToRoute 'section', @get('section.id')
|
@get('targetObject').transitionToRoute 'section', @get('section.id')
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
App.SectionsHeaderComponent = Ember.Component.extend
|
App.SectionsHeaderComponent = Ember.Component.extend
|
||||||
|
classNames: ['sections-switcher-container', 'main-section-header']
|
||||||
sections: (-> @get('targetObject.store').peekAll('section') ).property()
|
sections: (-> @get('targetObject.store').peekAll('section') ).property()
|
||||||
actions:
|
actions:
|
||||||
setSection: (section)->
|
setSection: (section)->
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h2=t 'models.employee'
|
h2.main-section-header=t 'models.employee'
|
||||||
.display-row
|
.display-row
|
||||||
.display-label=t 'attributes.employee.name'
|
.display-label=t 'attributes.employee.name'
|
||||||
.display-field= model.name
|
.display-field= model.name
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h1=t 'models.plural.employee'
|
h2.main-section-header=t 'models.plural.employee'
|
||||||
if employees
|
if employees
|
||||||
table.table
|
table.table
|
||||||
thead
|
thead
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h2=t 'models.list'
|
h2.main-section-header=t 'models.list'
|
||||||
partial "list_content"
|
partial "list_content"
|
||||||
link-to 'lists' class="button"
|
link-to 'lists' class="button"
|
||||||
span=t 'list.go_to_lists'
|
span=t 'list.go_to_lists'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h1=t 'models.plural.list'
|
h2.main-section-header=t 'models.plural.list'
|
||||||
= view "list-display-date-selector" valueBinding="date"
|
= view "list-display-date-selector" valueBinding="date"
|
||||||
if sorted_lists
|
if sorted_lists
|
||||||
table.table
|
table.table
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
.products-menu-filters-container
|
.products-menu-filters-container
|
||||||
= input value=product_code_filter type="search" placeholder=product_code_filter_placeholder
|
= input value=product_code_filter type="search" placeholder=product_code_filter_placeholder
|
||||||
h2 Menu
|
h2.main-section-header Menu
|
||||||
each sorted_product_categories as |product_category|
|
each sorted_product_categories as |product_category|
|
||||||
.row.product_category-container: .small-12.columns
|
.row.product_category-container: .small-12.columns
|
||||||
.product_category-header
|
.product_category-header
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
.row: .small-12.columns: h2=t 'current_employee.my_account.title'
|
.row: .small-12.columns
|
||||||
.form-row
|
h2.main-section-header=t 'current_employee.my_account.title'
|
||||||
|
.form-row
|
||||||
.form-label: label=t 'attributes.employee.email'
|
.form-label: label=t 'attributes.employee.email'
|
||||||
.form-field= input value=globals.current_employee.email type="email" class="supplier-email" disabled=true
|
.form-field= input value=globals.current_employee.email type="email" class="supplier-email" disabled=true
|
||||||
.row: .small-12.columns= language-switcher
|
= language-switcher
|
||||||
.row: .small-12.columns= suppliers-switcher
|
= suppliers-switcher
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
.row: .small-12.columns: h2=t 'current_employee.my_schedule.title'
|
|
||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
|
h2.main-section-header=t 'current_employee.my_schedule.title'
|
||||||
#schedule-placeholder
|
#schedule-placeholder
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h2=model.title
|
h2.main-section-header=model.title
|
||||||
/= page-body model.body
|
/= page-body model.body
|
||||||
view "page-body" templateBody=model.body
|
view "page-body" templateBody=model.body
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h2= t 'schedule.title' globals.current_supplier
|
h2.main-section-header= t 'schedule.title' globals.current_supplier
|
||||||
#schedule-placeholder
|
#schedule-placeholder
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
.section-tabs-container
|
.section-tabs-container.main-section-header
|
||||||
= link-to 'sections' class="goto-sections-index-tab-header": span
|
= link-to 'sections' class="goto-sections-index-tab-header": span
|
||||||
each sections as |section|
|
each sections as |section|
|
||||||
= section-tab-header section=section
|
= section-tab-header section=section
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h1=t 'models.plural.section'
|
h2.main-section-header=t 'models.plural.section'
|
||||||
if sections
|
if sections
|
||||||
table.table
|
table.table
|
||||||
thead
|
thead
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h2=t 'models.table'
|
h2.main-section-header=t 'models.table'
|
||||||
.display-row
|
.display-row
|
||||||
.display-label= t 'attributes.table.number'
|
.display-label= t 'attributes.table.number'
|
||||||
.display-field
|
.display-field
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.row: .small-12.columns
|
.row: .small-12.columns
|
||||||
h1=t 'models.plural.table'
|
h2.main-section-header=t 'models.plural.table'
|
||||||
if tables
|
if tables
|
||||||
table.table
|
table.table
|
||||||
thead
|
thead
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
if(!Modernizr.cssanimations){
|
if(!Modernizr.cssanimations){
|
||||||
window.location = "/unsupported-browser";
|
window.location = "/unsupported-browser";
|
||||||
}
|
}
|
||||||
|
|
||||||
var Qstorage = localStorage;
|
var Qstorage = localStorage;
|
||||||
$.extend($translations.en, <%= I18n.t('supplier', locale: :en).to_json %>);
|
$.extend($translations.en, <%= I18n.t('supplier', locale: :en).to_json %>);
|
||||||
$.extend($translations.nl, <%= I18n.t('supplier', locale: :nl).to_json %>);
|
$.extend($translations.nl, <%= I18n.t('supplier', locale: :nl).to_json %>);
|
||||||
|
|||||||
@@ -1,4 +1,31 @@
|
|||||||
$side-spacing: 0px
|
$side-spacing: 0px
|
||||||
|
header.top-menu
|
||||||
|
height: 90px
|
||||||
|
.main-section
|
||||||
|
+panel($bg:rgba(200,200,200,0.9))
|
||||||
|
padding: 0
|
||||||
|
padding-bottom: 72px
|
||||||
|
margin: 0
|
||||||
|
min-height: 100%
|
||||||
|
@media #{$xlarge-up}
|
||||||
|
header.top-menu
|
||||||
|
position: fixed
|
||||||
|
box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75)
|
||||||
|
z-index: 4022
|
||||||
|
width: 100%
|
||||||
|
.main-section
|
||||||
|
@media #{$xlarge-up}
|
||||||
|
padding-top: 130px
|
||||||
|
min-height: 900px
|
||||||
|
.main-section-header
|
||||||
|
position: fixed
|
||||||
|
top: 90px
|
||||||
|
box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.75)
|
||||||
|
z-index: 4030
|
||||||
|
background-color: rgba(200,200,200, 0.5)
|
||||||
|
h2.main-section-header
|
||||||
|
font-size: 1.4em
|
||||||
|
padding: 4px
|
||||||
.supplier-is-closed
|
.supplier-is-closed
|
||||||
+alert($bg: $secondary-color)
|
+alert($bg: $secondary-color)
|
||||||
.close
|
.close
|
||||||
@@ -52,12 +79,6 @@ body
|
|||||||
height: 100%
|
height: 100%
|
||||||
padding: 0
|
padding: 0
|
||||||
margin: 0
|
margin: 0
|
||||||
.main-section
|
|
||||||
+panel($bg:rgba(200,200,200,0.9))
|
|
||||||
padding: 0
|
|
||||||
padding-bottom: 72px
|
|
||||||
margin: 0
|
|
||||||
min-height: 100%
|
|
||||||
|
|
||||||
.hide, .hidden
|
.hide, .hidden
|
||||||
display: none
|
display: none
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
header.top-menu
|
header.top-menu
|
||||||
height: 90px
|
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
background-repeat: no-repeat, no-repeat
|
background-repeat: no-repeat, no-repeat
|
||||||
background-position: left bottom, right bottom
|
background-position: left bottom, right bottom
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
.sections-header-container
|
.sections-header-container
|
||||||
|
margin: 0
|
||||||
|
dd:first-child
|
||||||
|
margin-left: 0
|
||||||
.section-header-title
|
.section-header-title
|
||||||
padding-right: 0.5em
|
padding-right: 0.5em
|
||||||
color: #555
|
color: #555
|
||||||
|
|||||||
@@ -246,6 +246,5 @@ en:
|
|||||||
my_schedule:
|
my_schedule:
|
||||||
title: My schedule
|
title: My schedule
|
||||||
link: My schedule
|
link: My schedule
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
title: Schedule for %{name}
|
title: Schedule for %{name}
|
||||||
|
|||||||
@@ -249,3 +249,5 @@ nl:
|
|||||||
my_schedule:
|
my_schedule:
|
||||||
title: Mijn schema
|
title: Mijn schema
|
||||||
link: Mijn schema
|
link: Mijn schema
|
||||||
|
schedule:
|
||||||
|
title: Schema voor %{name}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Release
|
|||||||
|
|
||||||
Supplier
|
Supplier
|
||||||
--------
|
--------
|
||||||
- collapse top menu on small screens
|
- fix page-body template compile view
|
||||||
- Add supplier specific name field to my_account
|
- Add supplier specific name field to my_account
|
||||||
- Add styling to active class active navigation items in top menu, side
|
- Add styling to active class active navigation items in top menu, side
|
||||||
and dropdown menus
|
and dropdown menus
|
||||||
@@ -20,6 +20,7 @@ Supplier
|
|||||||
|
|
||||||
User
|
User
|
||||||
----
|
----
|
||||||
|
- Fix data model with consistent synchronous and asynchronous relations
|
||||||
- Implement https://github.com/EddyVerbruggen/Custom-URL-scheme with mozo:// scheme
|
- Implement https://github.com/EddyVerbruggen/Custom-URL-scheme with mozo:// scheme
|
||||||
- test met veel producten
|
- test met veel producten
|
||||||
- remove active orders on list close
|
- remove active orders on list close
|
||||||
|
|||||||
Reference in New Issue
Block a user