Spaces:
Runtime error
Runtime error
Increase Visibility
Browse files- templates/index.html +3 -1
templates/index.html
CHANGED
@@ -48,6 +48,8 @@
|
|
48 |
<input type="text" id="ticker" name="ticker" required>
|
49 |
<button type="submit">Get Information</button>
|
50 |
</form>
|
|
|
|
|
51 |
|
52 |
{% if news_data %}
|
53 |
<table id="newsTable">
|
@@ -77,4 +79,4 @@
|
|
77 |
{{ candlestick_graph | safe }}
|
78 |
{% endif %}
|
79 |
</body>
|
80 |
-
</html>
|
|
|
48 |
<input type="text" id="ticker" name="ticker" required>
|
49 |
<button type="submit">Get Information</button>
|
50 |
</form>
|
51 |
+
|
52 |
+
{% if ticker %}<h3>Information about {{ticker}}</h3>{% endif %}
|
53 |
|
54 |
{% if news_data %}
|
55 |
<table id="newsTable">
|
|
|
79 |
{{ candlestick_graph | safe }}
|
80 |
{% endif %}
|
81 |
</body>
|
82 |
+
</html>
|