Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 16, 2024
1 parent 5289b99 commit 77ca00c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@
"app_verbose_name": "Open Contracting for Infrastructure Data Standards Review Tool",
"app_strapline": "Review your OC4IDS data.",
"input_methods": ["upload", "url", "text"],
"input_template": "cove_oc4ids/input.html",
"support_email": "[email protected]",
}

Expand Down
19 changes: 19 additions & 0 deletions cove_oc4ids/templates/cove_oc4ids/input.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% extends 'input.html' %}

{% block extrafooterscript %}
<script>
//If javascript is off all pannels show.
//We use this to collapse pannels 2 and 3 if javascript is on.
$("#collapseTwo").attr('class', 'panel-collapse collapse');
$("#collapseThree").attr('class', 'panel-collapse collapse');

$('form').submit(function() {
$('#loading').css({"display": "block"});
$('#accordion').hide();
});
$(window).unload(function() {
$('#loading').css({"display": "none"});
})

</script>
{% endblock %}

0 comments on commit 77ca00c

Please sign in to comment.