Skip to content

Commit

Permalink
Merge pull request boknows#16 from alistair-marshall/show-previous-si…
Browse files Browse the repository at this point in the history
…mulations

Show previous simulations
  • Loading branch information
alistair-marshall authored Mar 28, 2020
2 parents d848696 + 7f1764f commit a02beb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ <h1 class="text-center">The Crowdsourced FIRE Simulator (cFIREsim) - Open Source
</label>
</div>
<br><a data-toggle="modal" href="#outputModal" class="btn btn-success btn-lg runSim" ng-click="runSimulation()">Run Simulation</a>

<a data-toggle="modal" href="#outputModal" class="btn btn-success btn-lg runSim" style="display:none" id="showPreviousSimulations">Show Previous Simulations</a>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions js/cFIREsimOpen.js
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ var Simulation = {

$('#tabNav a[href="#' + Simulation.tabs + 'a"]').tab('show');
$('a[href="#' + Simulation.tabs + 'a"]').parent('li').show();
$('#showPreviousSimulations').show();
},
convertToCSV: function(results) { //converts a random cycle of simulation into a CSV file, for users to easily view
var csv = "";
Expand Down

0 comments on commit a02beb5

Please sign in to comment.