Changes due to change requests by apenski.

This commit is contained in:
marvindoering 2021-02-18 12:52:20 +01:00
parent dbaeedcef3
commit 590e4cde16
2 changed files with 3 additions and 2 deletions

View file

@ -13,7 +13,8 @@ View [validator configuration](/server/config) or <a href="/server/health" targe
<div>
<label for="file">Choose a file</label>
<input type="file" id="file" name="myFile">
<input type="button" id="submit" value="Validate" onclick="return validate();"><input type="button" id="dwn-btn" value="Download Report" onclick="return reporting();" disabled>
<input type="button" id="submit" value="Validate" onclick="return validate();">
<input type="button" id="dwn-btn" value="Download Report" onclick="return download();" disabled>
</div>
<div id="result"></div>
</form>

View file

@ -68,7 +68,7 @@
return false;
};
var reporting = function reporting() {
var download = function download() {
var filename = "report.html";
var element = document.createElement('a');