Skip to content
Snippets Groups Projects
Commit cb85006f authored by Bucknell, Mary S.'s avatar Bucknell, Mary S.
Browse files

Fixed a couple of styling issues and also fixed the templates so that the...

Fixed a couple of styling issues and also fixed the templates so that the bundle.js is only brought in to the monitoring location page and not everything by default.
parent b2a6fe0e
No related branches found
No related tags found
No related merge requests found
......@@ -11,13 +11,13 @@ import {Actions as uiActions} from './store/ui-state';
import {getParamString} from './url-params';
import {attachToNode as EmbedComponent} from './components/embed';
//import {attachToNode as DailyValueHydrographComponent} from './components/daily-value-hydrograph';
import {attachToNode as DailyValueHydrographComponent} from './components/daily-value-hydrograph';
import {attachToNode as HydrographComponent} from './components/hydrograph';
import {attachToNode as MapComponent} from './components/map';
const COMPONENTS = {
embed: EmbedComponent,
// 'dv-hydrograph': DailyValueHydrographComponent,
'dv-hydrograph': DailyValueHydrographComponent,
hydrograph: HydrographComponent,
map: MapComponent
};
......
......@@ -97,7 +97,7 @@ svg {
stroke: $estimated-time-series;
}
&.provisional {
stroke: $default-time-series;
stroke: $provisional-time-series;
}
}
......
......@@ -5,8 +5,6 @@
{% endblock %}
{% block bundle_script %}
<script src="{{ 'scripts/vendor.js' | asset_url }}"></script>
<script async src="{{ 'bundle.js' | asset_url }}"></script>
{% endblock %}
{% block body %}
......
......@@ -22,6 +22,11 @@
{% endif %}
{% endblock %}
{% block bundle_script %}
<script src="{{ 'scripts/vendor.js' | asset_url }}"></script>
<script async src="{{ 'bundle.js' | asset_url }}"></script>
{% endblock %}}
{% block page_script %}
{% if json_ld %}
<script type="application/ld+json">
......
......@@ -3,9 +3,11 @@
{% block page_css %}
<link rel="stylesheet" href="{{ 'main.css' | asset_url }}">
{% endblock page_css %}
{% block page_script %}
<script async src="{{ 'bundle.js' | asset_url }}"></script>">
{% endblock page_script %}
{% block bundle_script %}
<script src="{{ 'scripts/vendor.js' | asset_url }}"></script>
<script async src="{{ 'bundle.js' | asset_url }}"></script>
{% endblock %}}
{% import 'macros/components.html' as components %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment