Added fake appshell

This commit is contained in:
Jori Lallo
2016-07-15 00:55:45 -07:00
parent 741f21b890
commit 4d81bf0fa2
2 changed files with 46 additions and 4 deletions

View File

@ -3,9 +3,30 @@
<head> <head>
<title>Beautiful Atlas</title> <title>Beautiful Atlas</title>
<link href="/static/styles.css" rel="stylesheet"></head> <link href="/static/styles.css" rel="stylesheet"></head>
<style>
#root {
flex: 1;
}
.container {
display: flex;
flex;
}
.header {
display: flex;
flex: 1;
height: 42px;
border-bottom: 1px solid #eee;
}
</style>
</head> </head>
<body style='display: flex; width: 100%'> <body style='display: flex; width: 100%'>
<div id="root" style='display: flex; width: 100%'></div> <div id="root">
<div class="container">
<div class="header"></div>
</div>
</div>
<script src="/static/bundle.js"></script> <script src="/static/bundle.js"></script>
</body> </body>
</html> </html>

View File

@ -2,9 +2,30 @@
<html> <html>
<head> <head>
<title>Beautiful Atlas</title> <title>Beautiful Atlas</title>
<style>
#root {
flex: 1;
}
.container {
display: flex;
flex;
}
.header {
display: flex;
flex: 1;
height: 42px;
border-bottom: 1px solid #eee;
}
</style>
</head> </head>
<body style='display: flex; width: 100%'> <body style='display: flex; width: 100%'>
<div id="root" style='display: flex; width: 100%'></div> <div id="root">
<div class="container">
<div class="header"></div>
</div>
</div>
<script type="text/javascript"> <script type="text/javascript">
// if ('serviceWorker' in navigator) { // if ('serviceWorker' in navigator) {
// navigator.serviceWorker.register('/service-worker.js') // navigator.serviceWorker.register('/service-worker.js')
@ -16,4 +37,4 @@
// }; // };
</script> </script>
</body> </body>
</html> </html>