-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
5289b99
commit 77ca00c
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]", | ||
} | ||
|
||
|
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,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 %} |