aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gn_editor_results_page.html
diff options
context:
space:
mode:
authorAlexander_Kabui2024-08-13 11:11:22 +0300
committerBonfaceKilz2024-08-29 18:58:56 +0300
commit495c6e926b86e71a7a8a62b3df0c7e691ab66ac8 (patch)
tree76acf5c6d2852a9372fe995c72ebfee490de2c01 /gn2/wqflask/templates/gn_editor_results_page.html
parent1d9e79d08c28369147ba52809fc1456e9aafcee6 (diff)
downloadgenenetwork2-495c6e926b86e71a7a8a62b3df0c7e691ab66ac8.tar.gz
Show diff for edited files.
Diffstat (limited to 'gn2/wqflask/templates/gn_editor_results_page.html')
-rw-r--r--gn2/wqflask/templates/gn_editor_results_page.html29
1 files changed, 14 insertions, 15 deletions
diff --git a/gn2/wqflask/templates/gn_editor_results_page.html b/gn2/wqflask/templates/gn_editor_results_page.html
index 8cfa35dc..d502e882 100644
--- a/gn2/wqflask/templates/gn_editor_results_page.html
+++ b/gn2/wqflask/templates/gn_editor_results_page.html
@@ -11,30 +11,29 @@
<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>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>{{message}}</i></b></mark>
- </h3>
-
- </div>
+ <div>
+ <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>{{message}}</i></b></mark>
+ </h3>
+
+ </div>
</div>
{% endif %}
- <br>
+ <br>
</div>
</section>
-
-{% block js %}
+{% block js %}
<script>
var commitSha = "{{ commit_sha }}";
if (commitSha !="" && commitSha!= undefined){
- localStorage.setItem("gn_editor_sha", commitSha)
+ localStorage.setItem("gn_editor_sha", commitSha)
}
-
+
</script>
{% endblock %}