diff options
author | Alexander_Kabui | 2024-09-17 14:50:32 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-09-17 14:50:32 +0300 |
commit | ecad301ec9a8316cc28c7639cd3773e3c20fd6d6 (patch) | |
tree | 2732e792b9e2e4d65c24fa25a3bd6e80bbf9c8e9 /gn2/wqflask/templates/gn_editor_results_page.html | |
parent | 02b2ac384953f2d69479a1ea53a071043394b590 (diff) | |
download | genenetwork2-ecad301ec9a8316cc28c7639cd3773e3c20fd6d6.tar.gz |
Refactor: Fix word for editor UI e.g commit to Save.
Diffstat (limited to 'gn2/wqflask/templates/gn_editor_results_page.html')
-rw-r--r-- | gn2/wqflask/templates/gn_editor_results_page.html | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/gn2/wqflask/templates/gn_editor_results_page.html b/gn2/wqflask/templates/gn_editor_results_page.html index 6eaeb941..4f169a66 100644 --- a/gn2/wqflask/templates/gn_editor_results_page.html +++ b/gn2/wqflask/templates/gn_editor_results_page.html @@ -1,13 +1,5 @@ <section classs="row commit-content" style="padding-top:25px"> <div class="col-sm-10 col-sm-offset-1"> - <div> - <div> - <h2> - <i>Results status - {{ status }}</i> - </h2> - </div> - </div> - <br> {% if error %} <h1> Error-type: <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif"><b><i>{{ error }}</i></b></mark> @@ -18,18 +10,27 @@ </h3> {% else %} <div> + <div class="lead"> + <h3> + Save results message: + <mark style="font-family: 'Linux Libertine','Georgia','Times','Source Serif Pro',serif"><b> + {% if status == '200' %} + <i>Everything is up to date; No changes to Save</i> + {% elif status == '201' %} + <i> Saved your changes Successfully </i> + {% else %} + {{ message }} + {% endif %} + </b></mark> + </h3> + </div> + <br /> <h3> - New Commit Sha: <span class="lead"> + New Edit 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> |