27 lines
1.2 KiB
HTML
27 lines
1.2 KiB
HTML
{% extends "graphs/graph.html" %} {% block axis %}
|
|
<!-- Axes settings -->
|
|
<section class="col-md-3 order-md-1">
|
|
<div class="h-100 bg-gradient text-light rounded p-3">
|
|
<!-- ------Country Select------ -->
|
|
<section class="x-axis-details">
|
|
<h3 class="border-bottom">Select Variable</h3>
|
|
<small>Variable must contain country names (e.g. "France") or 3 letter ISO code (e.g. "FRA")</small>
|
|
<div class="axis-variable">
|
|
{{ form.variable(class="custom-select x-axis-value axis-setting") }}
|
|
</div>
|
|
<h3 class="border-bottom mt-4">Select Scope</h3>
|
|
<div class="axis-variable">
|
|
{{ form.scope(class="custom-select scope axis-setting") }}
|
|
</div>
|
|
</section>
|
|
<!-- End of country select -->
|
|
</div>
|
|
</section>
|
|
<!-- End of Axes settings -->
|
|
<!-- Scripts specific to map graphs -->
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.3/d3.min.js"></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/topojson/1.6.9/topojson.min.js" defer></script>
|
|
<script src="{{ url_for('static', filename='node_modules/datamaps/dist/datamaps.all.min.js')}}" defer></script>
|
|
<script src="{{ url_for('static', filename='graphscripts/map.js') }}" defer></script>
|
|
{% endblock axis %}
|