-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from mtpain/issue34
Issue34
- Loading branch information
Showing
10 changed files
with
211 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
$(document).ready(function(){ | ||
$.get('/api/scenarios/finished_modelruns', function(data){ | ||
var temp = jQuery.parseJSON(data); | ||
for(var i=0; i<temp.length; i++) | ||
{ | ||
$('#scenario-list').append("<p>"+temp[i]['id'].toString()+"</p>"); | ||
} | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<!-- Home page for our human adaptor --> | ||
{% extends "base.html" %} | ||
{% set active_page = "index" %} | ||
{% block scripts %} | ||
{{ super() }} | ||
<script type="text/babel" src="/static/js/scenarios.js"></script> | ||
<script type="text/javascript" src="/static/js/model_run_table.js"></script> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> | ||
{% endblock %} | ||
|
||
{% block head_ext %} | ||
{{ super() }} | ||
<style> | ||
.delete-scenario { | ||
vertical-align: middle; | ||
text-align: center; | ||
border-width: 1px; | ||
} | ||
.delete-scenario:hover { | ||
cursor: pointer; | ||
} | ||
.delete-scenario span { | ||
line-height: 20px; | ||
} | ||
#new-scenario-menu-content { | ||
position: relative; | ||
} | ||
#scenario-list { | ||
display: table; | ||
} | ||
.section-header { | ||
text-decoration: underline; | ||
} | ||
.btn-custom { | ||
border-color: #dfd7ca; | ||
border-width: 2px; | ||
border-style: solid; | ||
} | ||
.btn-custom.active { | ||
background-color: #f8f5f0; | ||
} | ||
.btn-custom:hover { | ||
background-color: #f8f5f0; | ||
color: #3e3f3a; | ||
} | ||
.btn { | ||
margin: 3.5px; | ||
} | ||
|
||
td.download-link>a:hover { | ||
cursor: pointer; | ||
} | ||
</style> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
|
||
<div class="row"> | ||
<h3 class="section-header">List of Completed Scenarios</h3> | ||
<div id="scenario-list"></div> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters