ban unsupported browsers
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
aside.side-menu
|
.side-menu
|
||||||
ul
|
ul
|
||||||
li.title: h3 Menu
|
li.title: h3 Menu
|
||||||
li.supplier-name= supplier.name
|
li.supplier-name= supplier.name
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ App.ApplicationView = Ember.View.extend
|
|||||||
classNames: ['application-view']
|
classNames: ['application-view']
|
||||||
didInsertElement: ->
|
didInsertElement: ->
|
||||||
$('.toggle-side-menu,.side-menu').click ->
|
$('.toggle-side-menu,.side-menu').click ->
|
||||||
menu = $('aside.side-menu')
|
menu = $('.side-menu')
|
||||||
toggle = $('.toggle-side-menu')
|
toggle = $('.toggle-side-menu')
|
||||||
if menu.is(':visible')
|
if menu.is(':visible')
|
||||||
menu.animate left: -255, -> $(@).hide()
|
menu.animate left: -255, -> $(@).hide()
|
||||||
@@ -19,17 +19,3 @@ App.ApplicationView = Ember.View.extend
|
|||||||
]
|
]
|
||||||
path: "/sounds/"
|
path: "/sounds/"
|
||||||
preload: true
|
preload: true
|
||||||
#selector_mappings =
|
|
||||||
#'.top-menu-root': '/'
|
|
||||||
#'.top-menu-lists': 'lists'
|
|
||||||
#'.top-menu-sections': 'sections'
|
|
||||||
#'.top-menu-tables': 'tables'
|
|
||||||
#'.top-menu-lists': 'lists'
|
|
||||||
#'.top-menu-menu': 'menu'
|
|
||||||
#'.supplier-settings-link': 'settings'
|
|
||||||
|
|
||||||
#for selector, route of selector_mappings
|
|
||||||
#do (selector, route)=>
|
|
||||||
#$(selector).click (e)=>
|
|
||||||
#e.preventDefault()
|
|
||||||
#@get('controller').transitionToRoute route
|
|
||||||
|
|||||||
@@ -17,6 +17,10 @@
|
|||||||
//= require_directory .
|
//= require_directory .
|
||||||
//= require_self
|
//= require_self
|
||||||
|
|
||||||
|
if(!Modernizr.cssanimations){
|
||||||
|
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,4 @@
|
|||||||
aside.side-menu
|
.side-menu
|
||||||
background-color: #444
|
background-color: #444
|
||||||
position: fixed
|
position: fixed
|
||||||
display: none
|
display: none
|
||||||
@@ -13,7 +13,7 @@ aside.side-menu
|
|||||||
h3
|
h3
|
||||||
color: white
|
color: white
|
||||||
margin-bottom: 3px
|
margin-bottom: 3px
|
||||||
> ul
|
ul
|
||||||
list-style: none
|
list-style: none
|
||||||
a
|
a
|
||||||
color: white
|
color: white
|
||||||
|
|||||||
@@ -5,10 +5,6 @@ html lang="en"
|
|||||||
meta name="viewport" content="width=device-width, initial-scale=1.0"
|
meta name="viewport" content="width=device-width, initial-scale=1.0"
|
||||||
title= content_for?(:title) ? yield(:title) : application_title
|
title= content_for?(:title) ? yield(:title) : application_title
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
|
|
||||||
/! Le HTML5 shim, for IE6-8 support of HTML elements
|
|
||||||
/[if lt IE 9]
|
|
||||||
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
|
|
||||||
= stylesheet_link_tag "supplier/foundation1/application", media: "all"
|
= stylesheet_link_tag "supplier/foundation1/application", media: "all"
|
||||||
link href="/favicon.ico" rel="shortcut icon"
|
link href="/favicon.ico" rel="shortcut icon"
|
||||||
= render 'suppliers/application/head'
|
= render 'suppliers/application/head'
|
||||||
|
|||||||
@@ -222,3 +222,6 @@ nl:
|
|||||||
add_button: ${models.section_area} toevoegen
|
add_button: ${models.section_area} toevoegen
|
||||||
modal:
|
modal:
|
||||||
title: ${models.section_area} toevoegen
|
title: ${models.section_area} toevoegen
|
||||||
|
save_button: Save
|
||||||
|
close_button: Close
|
||||||
|
destroy_button: Verwijderen
|
||||||
|
|||||||
@@ -4,8 +4,10 @@ Release
|
|||||||
Supplier
|
Supplier
|
||||||
--------
|
--------
|
||||||
|
|
||||||
- Fix section element positioning
|
- Show menu next to table in section view at the right side for tables
|
||||||
- Add active toggle to svg elements
|
next to the right wall
|
||||||
|
- Add section-area colors
|
||||||
|
- Add snap_code toggle to svg elements
|
||||||
- Link employee to orders
|
- Link employee to orders
|
||||||
- Employee personal schedule
|
- Employee personal schedule
|
||||||
- english emails
|
- english emails
|
||||||
@@ -19,8 +21,6 @@ Supplier
|
|||||||
User
|
User
|
||||||
----
|
----
|
||||||
|
|
||||||
- ~~Product category visibility, order and product~~
|
|
||||||
order!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
|
|
||||||
- test met veel producten
|
- test met veel producten
|
||||||
- product variants
|
- product variants
|
||||||
- remove active orders on list close
|
- remove active orders on list close
|
||||||
@@ -37,8 +37,6 @@ Bugs
|
|||||||
General
|
General
|
||||||
-------
|
-------
|
||||||
|
|
||||||
- split off faye server (really low)
|
|
||||||
- split off counter server (really low)
|
|
||||||
- Loading pages
|
- Loading pages
|
||||||
|
|
||||||
Post release
|
Post release
|
||||||
|
|||||||
Reference in New Issue
Block a user