Commit 490282b473a9af3f04a94930c3535aab71483e48
1 parent
e8b4a5eb
Exists in
master
Fix the download buttons.
Showing
1 changed file
with
18 additions
and
9 deletions
Show diff stats
flaskr/templates/estimation.html
... | ... | @@ -54,15 +54,24 @@ |
54 | 54 | </pre> |
55 | 55 | </div> |
56 | 56 | <div class="col-md-6"> |
57 | - <a href="/estimation/{{ estimation.public_id }}.csv" class="btn btn-lg btn-primary"> | |
58 | - Download CSV | |
59 | - </a> | |
60 | - <a href="/estimation/{{ estimation.public_id }}.xls" class="btn btn-lg btn-secondary disabled"> | |
61 | - Download XLS | |
62 | - </a> | |
63 | - <a href="/estimation/{{ estimation.public_id }}.ods" class="btn btn-lg btn-secondary disabled"> | |
64 | - Download ODS | |
65 | - </a> | |
57 | + <ul class="nav"> | |
58 | + <li class="nav-item m-4"> | |
59 | + <a href="/estimation/{{ estimation.public_id }}.csv" class="btn btn-lg btn-primary"> | |
60 | + Download CSV | |
61 | + </a> | |
62 | + </li> | |
63 | + <li class="nav-item m-4"> | |
64 | + <a href="/estimation/{{ estimation.public_id }}.xls" class="btn btn-lg btn-secondary disabled"> | |
65 | + Download XLS | |
66 | + </a> | |
67 | + </li> | |
68 | + <li class="nav-item m-4"> | |
69 | + <a href="/estimation/{{ estimation.public_id }}.ods" class="btn btn-lg btn-secondary disabled"> | |
70 | + Download ODS | |
71 | + </a> | |
72 | + </li> | |
73 | + </ul> | |
74 | + | |
66 | 75 | </div> |
67 | 76 | </div> |
68 | 77 | {% endif %} | ... | ... |