Skip to content

Commit

Permalink
render react root element to #content div
Browse files Browse the repository at this point in the history
  • Loading branch information
nosovsh committed Oct 19, 2015
1 parent 95d8494 commit 16df7c3
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions server/motoparking/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
margin: 0;
padding: 0;
}

#content {
width: 100%;
height: 100%;
}
#loader {
height: 100%;
position: relative;
Expand Down Expand Up @@ -58,13 +61,14 @@
<script>
window.currentUser = {{ current_user_json_str|safe }};
</script>
<div id='loader'>
<div id="loader__inner">
<div id="loader__inner__h1">motoparking.club</div>
Magic is happening now <Br>Wait a second
<div id="content">
<div id='loader'>
<div id="loader__inner">
<div id="loader__inner__h1">motoparking.club</div>
Magic is happening now <Br>Wait a second
</div>
</div>
</div>

{% if debug %}
<script src='http://localhost:3005/build/main.js'></script>
{% else %}
Expand Down

0 comments on commit 16df7c3

Please sign in to comment.