-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
83 lines (79 loc) · 3.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>The E-additives platform</title>
<meta name="description" content="Online food additives platform">
<meta name="Keywords" content="food additives info health e-numbers food labels substances nutrition">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/footable.core.css" />
<link rel="stylesheet" type="text/css" href="css/footable.metro.css" />
<script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<!--[if lt IE 9]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<div class="container wrap">
<div class="navbar navbar-inverse navbar-default" role="navbar">
<!--Navbar will be loaded here -->
</div>
<div data-role="alert-box" class="alert" style="display: none">
<button type="button" class="close">×</button>
<p>Error</p>
</div>
<div class="container main" role="pane">
<!--Content will be loaded here -->
<p class="text-center"><img src="img/ajax-loader.gif"/></p>
</div>
<div id="footer" class="container col-md-12">
<!--Footer will be loaded here -->
</div><!-- footer -->
</div> <!-- /container wrap -->
<!-- app start -->
<script>
if (!Modernizr.localstorage && !Modernizr.history) {
document.body.innerHTML = 'You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.';
} else {
var _timestamp = (new Date()).getTime();
var _Globals = {
buildnumber:_timestamp,
locale:null
};
var require = {
urlArgs: "bust=" + _Globals.buildnumber,
deps: ['js/vendor/jquery-1.10.1.min'],
callback: function() {
require(['js/vendor/plugins/jquery.storageapi.min'], function() {
// var language = window.navigator.userLanguage || window.navigator.language;
// _Globals.navlang = language.substring(0, 2).toLowerCase();
// check if user has set locale
// use that locale instead of browser default
var storage = $.localStorage;
if (storage && !storage.isEmpty('locale')) {
_Globals.locale = storage.get('locale');
} else {
var language = window.navigator.userLanguage || window.navigator.language;
if (language.length == 2)
language += '-' + language;
_Globals.locale = language;
}
console.log('Setting locale to: ' + _Globals.locale);
require(['js/app']);
});
}
};
}
</script>
<script src="js/require.js"></script>
<!--USERVOICE-->
<!--URCHIN-->
</body>
</html>