diff options
author | Alexander Kabui | 2024-09-17 15:43:40 +0300 |
---|---|---|
committer | GitHub | 2024-09-17 15:43:40 +0300 |
commit | d58288c315481c766bce203493bbcf3fb038b0e2 (patch) | |
tree | 0a6df879fd2bf7f8fb6959f8d58ef253f844f874 /gn2/wqflask/templates/gn_editor_results_page.html | |
parent | 02b2ac384953f2d69479a1ea53a071043394b590 (diff) | |
parent | 5c71ead0411b834b51bf084c147543208390c310 (diff) | |
download | genenetwork2-d58288c315481c766bce203493bbcf3fb038b0e2.tar.gz |
Merge pull request #873 from genenetwork/chores/editor-ui-refactoring
Refactor: Gn editor code refactoring.
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> |