Commit 249346406d68d6ae643bc65ff2827a34b68336ab
1 parent
4c8623bb
Exists in
master
Move the equivalencies calculator elsewhere.
Showing
2 changed files
with
30 additions
and
13 deletions
Show diff stats
content.yml
@@ -603,18 +603,18 @@ home: | @@ -603,18 +603,18 @@ home: | ||
603 | - L. Hackel [travel footprint calculator](https://lhackel.shinyapps.io/travel_footprint/) | 603 | - L. Hackel [travel footprint calculator](https://lhackel.shinyapps.io/travel_footprint/) |
604 | based on DEFRA emission factors | 604 | based on DEFRA emission factors |
605 | 605 | ||
606 | - - title: Equivalencies Calculator | ||
607 | - content: | | ||
608 | - <iframe | ||
609 | - src="//www.epa.gov/sites/production/files/widgets/ghg_widget/widget.html" | ||
610 | - id="ghg_equivalencies" | ||
611 | - width="300" | ||
612 | - height="535" | ||
613 | - scrolling="no" | ||
614 | - frameborder="0" | ||
615 | - marginwidth="0" | ||
616 | - marginheight="0"> | ||
617 | - </iframe> | 606 | +# - title: Equivalencies Calculator |
607 | +# content: | | ||
608 | +# <iframe | ||
609 | +# src="//www.epa.gov/sites/production/files/widgets/ghg_widget/widget.html" | ||
610 | +# id="ghg_equivalencies" | ||
611 | +# width="300" | ||
612 | +# height="535" | ||
613 | +# scrolling="no" | ||
614 | +# frameborder="0" | ||
615 | +# marginwidth="0" | ||
616 | +# marginheight="0"> | ||
617 | +# </iframe> | ||
618 | 618 | ||
619 | 619 | ||
620 | 620 |
flaskr/templates/estimation.html
@@ -162,7 +162,24 @@ | @@ -162,7 +162,24 @@ | ||
162 | {# </div>#} | 162 | {# </div>#} |
163 | {#</div>#} | 163 | {#</div>#} |
164 | 164 | ||
165 | -{% endif %}{# estimation.has_failed() #} | 165 | + |
166 | +<div class="row"> | ||
167 | + <h3> | ||
168 | + Equivalencies Calculator | ||
169 | + </h3> | ||
170 | + <iframe | ||
171 | + src="//www.epa.gov/sites/production/files/widgets/ghg_widget/widget.html" | ||
172 | + id="ghg_equivalencies" | ||
173 | + width="300" | ||
174 | + height="535" | ||
175 | + scrolling="no" | ||
176 | + frameborder="0" | ||
177 | + marginwidth="0" | ||
178 | + marginheight="0"> | ||
179 | + </iframe> | ||
180 | +</div> | ||
181 | + | ||
182 | +{% endif %}{# not estimation.has_failed() #} | ||
166 | {% endblock %} | 183 | {% endblock %} |
167 | 184 | ||
168 | {#############################################################################} | 185 | {#############################################################################} |