Files
Iris/src/index.html

62 lines
1.9 KiB
HTML
Raw Normal View History

2016-10-03 14:44:27 +13:00
<html>
<head>
2017-02-09 15:54:01 +00:00
<title>Iris</title>
2017-02-09 15:54:01 +00:00
2016-10-03 14:44:27 +13:00
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
2016-11-03 18:22:26 +13:00
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta name="mobile-web-app-capable" content="yes" >
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#222222" />
<meta name="viewport" content="width=device-width">
2016-11-03 18:22:26 +13:00
2017-02-09 15:54:01 +00:00
<link rel="shortcut icon" type="image/ico" href="/iris/assets/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="/iris/assets/favicon.ico" />
<link rel="shortcut-icon" href="/iris/assets/favicon.ico" />
<link href="//fonts.googleapis.com/css?family=Overpass:400,400i,600,700,800" rel="stylesheet">
2016-10-03 14:44:27 +13:00
<!-- Chrome app -->
<link rel="manifest" href="/iris/assets/manifest.json">
<!-- Apple app -->
<link rel="apple-touch-startup-image" href="/iris/assets/logo-full-512.png">
<link rel="apple-touch-icon" sizes="192x192" href="/iris/assets/logo-app-192.png">
<link rel="apple-touch-icon" sizes="512x512" href="/iris/assets/logo-app-512.png">
2016-10-03 14:44:27 +13:00
</head>
<body>
2017-02-09 15:54:01 +00:00
2016-10-03 14:44:27 +13:00
<div id="app">
<!-- ReactJS application here -->
</div>
2017-02-09 15:54:01 +00:00
2016-10-03 14:44:27 +13:00
</body>
2017-02-09 15:54:01 +00:00
2017-09-03 21:00:17 +12:00
<script type="text/javascript">
var build_name = "BUILD_NAME_HERE";
2017-09-03 21:00:17 +12:00
var js = document.createElement("script");
js.type = "application/javascript";
var css = document.createElement("link");
css.rel = "stylesheet";
// Identify whether we're in test mode, and need to fetch non-minified assets
var ui = JSON.parse( localStorage.getItem('ui') );
if (typeof(ui) === 'undefined' || typeof(ui.test_mode) === 'undefined' || !ui.test_mode){
js.src = '/iris/app.min.js?v='+build_name;
css.href = '/iris/app.min.css?v='+build_name;
2017-09-03 21:00:17 +12:00
} else {
js.src = '/iris/app.js?v='+build_name;
css.href = '/iris/app.css?v='+build_name;
2017-09-03 21:00:17 +12:00
}
document.body.appendChild(js);
document.body.appendChild(css);
</script>
2016-10-03 14:44:27 +13:00
2017-02-09 15:54:01 +00:00
</html>
2017-09-03 21:00:17 +12:00