refactor(body) moved body from layout to separate pages
this allows us to wrap the body with custom divs for each page if necessary
This commit is contained in:
parent
f3e0650d1b
commit
908a4608a1
4 changed files with 11 additions and 5 deletions
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
{% block body %}
|
||||
{{ super ()}}
|
||||
{{ body | safe }}
|
||||
<div class="container center" style='background-color:#e8f7ff'>
|
||||
<div class='row'>
|
||||
<div class='col-sm-12'>
|
||||
|
|
@ -60,9 +61,7 @@ Cras eu posuere est, a tincidunt diam. Cras et volutpat massa. Ut in ante conseq
|
|||
<h2>Sentiment</h2>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla suscipit dignissim purus at tincidunt. Nam dapibus magna ultricies, sollicitudin tortor id, convallis risus. Morbi convallis pharetra dictum. Proin rutrum finibus justo, eu lobortis felis condimentum sed. Quisque lorem tellus, tempor eu eleifend a, tristique vel mauris.
|
||||
</div>
|
||||
<div id='sentiment-chart' class='sentiment-chart'>
|
||||
<br>Sentiment Chart
|
||||
</div>
|
||||
<div id='sentiment-chart' class='sentiment-chart'></div>
|
||||
</div>
|
||||
|
||||
<div class='col-sm-6'>
|
||||
|
|
|
|||
|
|
@ -16,4 +16,5 @@
|
|||
|
||||
{% block body %}
|
||||
{{ super ()}}
|
||||
{{ body | safe }}
|
||||
{% endblock %}
|
||||
|
|
@ -22,7 +22,8 @@
|
|||
{% set navigation_bar = [
|
||||
('/investor', 'investor', 'Investor'),
|
||||
('/enthusiast', 'enthusiast', 'Enthusiast'),
|
||||
('/slides', 'slides', 'Slides')
|
||||
('/Exploritory', 'exploritory', 'Exploritory'),
|
||||
('/slides', 'slides', 'Slides'),
|
||||
] -%}
|
||||
{% set active_page = active_page|default('index') -%}
|
||||
|
||||
|
|
@ -44,7 +45,7 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
{{ body | safe }}
|
||||
|
||||
{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -22,4 +22,9 @@
|
|||
link.href = window.location.search.match( /print-pdf/gi ) ? 'static/css/print/pdf.css' : 'static/css/print/paper.css';
|
||||
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{{ super ()}}
|
||||
{{ body | safe }}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue