[Refactor] Large scale formatting/linting (#193)

All html files now prettier formatted and fixes for incompatible blocks applied

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#193
Co-authored-by: Tobias O <tobias.olenyi@envipath.com>
Co-committed-by: Tobias O <tobias.olenyi@envipath.com>
This commit is contained in:
2025-11-12 22:47:10 +13:00
committed by jebus
parent 12a20756d6
commit 21d30a923f
114 changed files with 10684 additions and 7009 deletions

View File

@ -1,12 +1,17 @@
{% extends "framework.html" %}
{% load static %}
{% block content %}
<div id=searchContent>
<div id="searchContent">
<form id="admin-form" action="{{ SERVER_BASE }}/admin" method="post">
<div class="form-group">
<label for="textarea">Query</label>
<textarea id="textarea" class="form-control" rows="10" placeholder="Paste query here" required>
<div class="form-group">
<label for="textarea">Query</label>
<textarea
id="textarea"
class="form-control"
rows="10"
placeholder="Paste query here"
required
>
PREFIX pps: <http://localhost:8080/vocabulary#>
SELECT ?name (count(?objId) as ?xcnt)
WHERE {
@ -15,32 +20,29 @@ WHERE {
?packageId pps:reviewStatus 'reviewed' .
?packageId pps:pathway ?objId .
} GROUP BY ?name
</textarea>
</div>
<button id="submit" type="button" class="btn btn-primary">Submit</button>
</textarea
>
</div>
<button id="submit" type="button" class="btn btn-primary">Submit</button>
</form>
<p></p>
</div>
<div id="results">
</div>
<div id="loading"></div>
</div>
<script>
$(function() {
$('#submit').on('click', function() {
</div>
<div id="results"></div>
<div id="loading"></div>
<script>
$(function () {
$("#submit").on("click", function () {
makeLoadingGif("#loading", "{% static '/images/wait.gif' %}");
data = {
"query": $("#textarea").val()
}
query: $("#textarea").val(),
};
$.post("{{ SERVER_BASE }}/expire", data, function(result) {
$("#loading").empty();
queryResultToTable("results", result);
})
$.post("{{ SERVER_BASE }}/expire", data, function (result) {
$("#loading").empty();
queryResultToTable("results", result);
});
});
});
})
</script>
</script>
{% endblock content %}