From 495c6e926b86e71a7a8a62b3df0c7e691ab66ac8 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 13 Aug 2024 11:11:22 +0300 Subject: Show diff for edited files. --- gn2/wqflask/templates/gn_editor.html | 118 ++++++++++++---------- gn2/wqflask/templates/gn_editor_commit.html | 31 ++++-- gn2/wqflask/templates/gn_editor_results_page.html | 29 +++--- 3 files changed, 98 insertions(+), 80 deletions(-) (limited to 'gn2') diff --git a/gn2/wqflask/templates/gn_editor.html b/gn2/wqflask/templates/gn_editor.html index d55662c3..4116c398 100644 --- a/gn2/wqflask/templates/gn_editor.html +++ b/gn2/wqflask/templates/gn_editor.html @@ -2,8 +2,10 @@ {% block title %}Genenetwork Files Editor {% endblock %} {% block css %} - {% endblock %} {% block search %}{% endblock %} @@ -17,18 +19,16 @@
- -
-
+
@@ -47,14 +47,18 @@ {% block js %} + + + - + + diff --git a/gn2/wqflask/templates/gn_editor_commit.html b/gn2/wqflask/templates/gn_editor_commit.html index 0ea20adb..8fd1547b 100644 --- a/gn2/wqflask/templates/gn_editor_commit.html +++ b/gn2/wqflask/templates/gn_editor_commit.html @@ -9,41 +9,50 @@
-

-


+

- +
+
{% block js %} - - {% endblock %} 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 @@

Error-message: {{msg}}

{% else %} -
-

New Commit Sha: - {{commit_sha}} -

-
-

Commit Message: - {{message}} -

- -
+
+

New Commit Sha: + {{commit_sha}} +

+
+

Commit Message: + {{message}} +

+ +
{% endif %} -
+
- -{% block js %} +{% block js %} {% endblock %} -- cgit 1.4.1