Commit cb02e6bf58063452306bec01603aa3c466b82ad4

Authored by Antoine Goutenoir
1 parent 3ac083cb
Exists in master

Clean up.

Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
flaskr/templates/estimation.html
... ... @@ -70,6 +70,7 @@
70 70 </div>
71 71 {% endif %}
72 72  
  73 +{% if not estimation.has_failed() %}
73 74 <div class="row">
74 75 Using
75 76 {% for model in estimation.get_models() %}
... ... @@ -88,6 +89,7 @@
88 89 </div>
89 90  
90 91 <hr>
  92 +{% endif %}
91 93  
92 94 <div class="row">
93 95  
... ... @@ -201,6 +203,8 @@
201 203 {#############################################################################}
202 204  
203 205 {% block js %}
  206 +{% if not estimation.has_failed() %}
  207 +
204 208 <script src="/static/js/vendor/d3.v4.js"></script>
205 209 <script src="/static/js/vendor/d3-legend.js"></script>
206 210 {#<script src="https://d3js.org/d3.v4.js"></script>#}
... ... @@ -560,5 +564,7 @@ jQuery(document).ready(function($){
560 564 });
561 565  
562 566 </script>
  567 +
  568 +{% endif %}
563 569 {% endblock %}
564 570  
... ...