aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2022-05-06 11:23:03 +0300
committerBonfaceKilz2022-05-06 12:43:34 +0300
commit030286a00777ab003a7e9a95e5bef3ba2e6685f6 (patch)
treea288ca3daf0fb8c997959423bd492ccfda7d4562
parent21cae0a5e2449ea9d9a658706b5294ae965af794 (diff)
downloadgenenetwork2-030286a00777ab003a7e9a95e5bef3ba2e6685f6.tar.gz
Align the submit button to the left
-rw-r--r--wqflask/wqflask/templates/edit_phenotype.html16
1 files changed, 7 insertions, 9 deletions
diff --git a/wqflask/wqflask/templates/edit_phenotype.html b/wqflask/wqflask/templates/edit_phenotype.html
index a970acbc..e7a44bd9 100644
--- a/wqflask/wqflask/templates/edit_phenotype.html
+++ b/wqflask/wqflask/templates/edit_phenotype.html
@@ -65,7 +65,7 @@
{% endif %}
<form id="edit-form" class="container form-horizontal" method="post" action="/datasets/{{dataset_id}}/traits/{{ publish_xref.id_ }}?resource-id={{ resource_id }}" enctype='multipart/form-data'>
<div class="form-group">
- <div class="controls center-block" style="width: max-content;">
+ <div class="controls left-block col-sm-8 col-lg-8" style="width: max-content;">
<input name="inbred-set-id" class="changed" type="hidden" value="{{ publish_xref.inbred_set_id }}"/>
<input name="phenotype-id" class="changed" type="hidden" value="{{ publish_xref.phenotype_id }}"/>
<input name="comments" class="changed" type="hidden" value="{{ publish_xref.comments }}"/>
@@ -224,7 +224,7 @@
<input name="old_pages" class="changed" type="hidden" value="{{ publication.pages |default('', true) }}"/>
</div>
</div>
- <div style="margin-left: 13%;">
+ <div>
<a href="/datasets/{{ publish_xref.id_ }}/traits/{{ publish_xref.phenotype_id }}/csv?resource-id={{ resource_id }}" class="btn btn-link btn-sm">
Click to Download CSV Sample Data
</a>
@@ -237,14 +237,12 @@
Note: Current allowable case-attributes are: {{ ', '.join(headers) }}.
<a href="{{url_for('metadata_edit.show_case_attribute_columns')}}" target="_blank">You can find these case-attribute descriptions here.</a>
</p>
- </div>
- <div class="form-group">
- <div class="controls center-block" style="width: max-content;">
- <input name="inbred-set-id" class="changed" type="hidden" value="{{ publish_xref.inbred_set_id }}"/>
- <input name="phenotype-id" class="changed" type="hidden" value="{{ publish_xref.phenotype_id }}"/>
- <input name="comments" class="changed" type="hidden" value="{{ publish_xref.comments }}"/>
+ </div>
+
+ <div class="form-group col-xs-7">
+ <div class="controls left-block col-sm-8 col-lg-8" style="width: max-content;">
<input type="submit" style="width: 125px; margin-right: 25px;" class="btn btn-success form-control col-xs-2 changed" value="Submit Change">
- </div>
+ </div>
</div>
</form>
</div>