aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gn_editor_results_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/gn_editor_results_page.html')
-rw-r--r--gn2/wqflask/templates/gn_editor_results_page.html25
1 files changed, 19 insertions, 6 deletions
diff --git a/gn2/wqflask/templates/gn_editor_results_page.html b/gn2/wqflask/templates/gn_editor_results_page.html
index 9453ba02..8cfa35dc 100644
--- a/gn2/wqflask/templates/gn_editor_results_page.html
+++ b/gn2/wqflask/templates/gn_editor_results_page.html
@@ -2,26 +2,39 @@
<div class="col-sm-10 col-sm-offset-1">
<div>
<div>
- <h2> <i>Results status</i></h2>
+ <h2> <i>Results status - {{status}}</i></h2>
</div>
</div>
<br>
{% if error %}
- <h1> error occurred *error message hereh </h1>
+ <h1> Error-type: <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif;"><b><i>{{error}}</i></b></mark></h1>
+ <h3>Error-message:
+ <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif;"><b><i>{{msg}}</i></b></mark></h3>
{% else %}
<div>
- <h3>Commit Sha: <span class="lead">
- <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif;"><b><i>commit hash</i></b></mark>
+ <h3>New Commit Sha: <span class="lead">
+ <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif;"><b><i>{{commit_sha}}</i></b></mark>
</span></h3>
<br/>
<div class="lead"> <h3>Commit Message:
- <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif;"><b><i>commit message</i></b></mark>
+ <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif;"><b><i>{{message}}</i></b></mark>
</h3>
</div>
</div>
{% endif %}
- <br>
+ <br>
</div>
</section>
+{% block js %}
+
+<script>
+ var commitSha = "{{ commit_sha }}";
+ if (commitSha !="" && commitSha!= undefined){
+ localStorage.setItem("gn_editor_sha", commitSha)
+ }
+
+</script>
+
+{% endblock %}