Skip to content
Snippets Groups Projects
Verified Commit 06f7d971 authored by Owen Graham's avatar Owen Graham
Browse files

Change page title scheme

parent e9d4d7ca
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ class TimeSeries(Plotter): ...@@ -49,7 +49,7 @@ class TimeSeries(Plotter):
name = 'time-series' name = 'time-series'
nav_title = 'Time Series' nav_title = 'Time Series'
page_title = 'Plot Data' page_title = None
onsubmit_fn = 'timeSeriesVisualize' onsubmit_fn = 'timeSeriesVisualize'
selectors = ( selectors = (
Selector(type='measurement', name='measurement', id='measurement', Selector(type='measurement', name='measurement', id='measurement',
...@@ -107,7 +107,7 @@ class Overlay(Plotter): ...@@ -107,7 +107,7 @@ class Overlay(Plotter):
name = 'overlay' name = 'overlay'
nav_title = 'Overlay' nav_title = 'Overlay'
page_title = 'Overlay Stations' page_title = 'Overlay'
onsubmit_fn = 'overlayVisualize' onsubmit_fn = 'overlayVisualize'
selectors = ( selectors = (
Selector(type='measurement', name='measurement', id='measurement', Selector(type='measurement', name='measurement', id='measurement',
...@@ -202,7 +202,7 @@ class Boxplot(Plotter): ...@@ -202,7 +202,7 @@ class Boxplot(Plotter):
name = 'boxplot' name = 'boxplot'
nav_title = 'Boxplot' nav_title = 'Boxplot'
page_title = 'Boxplot Years' page_title = 'Boxplot'
onsubmit_fn = 'boxplotVisualize' onsubmit_fn = 'boxplotVisualize'
selectors = ( selectors = (
Selector(type='measurement', name='measurement', id='measurement', Selector(type='measurement', name='measurement', id='measurement',
......
...@@ -11,9 +11,11 @@ ...@@ -11,9 +11,11 @@
{{- url_for(endpoint, name=g.plotter.name, _external=True) -}} {{- url_for(endpoint, name=g.plotter.name, _external=True) -}}
"> ">
<title> <title>
{{- g.plotter.page_title -}} {%- if g.plotter.page_title is not none -%}
{%- if g.embedded %} | Embed{% endif -%} {{ g.plotter.page_title }} | {# #}
{#- #} | AMRDC Data Visualizer{# -#} {%- endif -%}
AMRDC Data Visualizer
{%- if g.embedded %} (Embed){% endif -%}
</title> </title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<link rel="stylesheet" href="https://amrdc.ssec.wisc.edu/wp-test/wp-content/themes/amrdc-theme/dist/fonts/uw160/fonts.css?ver=1.0.0"> <link rel="stylesheet" href="https://amrdc.ssec.wisc.edu/wp-test/wp-content/themes/amrdc-theme/dist/fonts/uw160/fonts.css?ver=1.0.0">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment