aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/populations
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-14 09:19:08 -0500
committerFrederick Muriuki Muriithi2024-10-14 09:19:08 -0500
commitf6f51d976956f080d7302b01e3c7e978f691ff5d (patch)
treeb650a05b9810a69a177f5a9f372113f9d5b4f045 /uploader/templates/populations
parent56eb692b25ecf7a56235398f3b90fd0d02f5d097 (diff)
downloadgn-uploader-f6f51d976956f080d7302b01e3c7e978f691ff5d.tar.gz
Improve layout and styling of sidebar content
Diffstat (limited to 'uploader/templates/populations')
-rw-r--r--uploader/templates/populations/macro-display-population-card.html42
1 files changed, 28 insertions, 14 deletions
diff --git a/uploader/templates/populations/macro-display-population-card.html b/uploader/templates/populations/macro-display-population-card.html
index 33272e2..79f7925 100644
--- a/uploader/templates/populations/macro-display-population-card.html
+++ b/uploader/templates/populations/macro-display-population-card.html
@@ -7,25 +7,39 @@
<div class="card-body">
<h5 class="card-title">Population</h5>
<div class="card-text">
- <dl>
- <dt>Name</dt>
- <dd>{{population.Name}}</dd>
+ <table class="table">
+ <tbody>
+ <tr>
+ <td>Name</td>
+ <td>{{population.Name}}</td>
+ </tr>
- <dt>Full Name</dt>
- <dd>{{population.FullName}}</dd>
+ <tr>
+ <td>Full Name</td>
+ <td>{{population.FullName}}</td>
+ </tr>
- <dt>Code</dt>
- <dd>{{population.InbredSetCode}}</dd>
+ <tr>
+ <td>Code</td>
+ <td>{{population.InbredSetCode}}</td>
+ </tr>
- <dt>Genetic Type</dt>
- <dd>{{population.GeneticType}}</dd>
+ <tr>
+ <td>Genetic Type</td>
+ <td>{{population.GeneticType}}</td>
+ </tr>
- <dt>Family</dt>
- <dd>{{population.Family}}</dd>
+ <tr>
+ <td>Family</td>
+ <td>{{population.Family}}</td>
+ </tr>
- <dt>Description</dt>
- <dd>{{(population.Description or "")[0:500]}}&hellip;</dd>
- </dl>
+ <tr>
+ <td>Description</td>
+ <td>{{(population.Description or "")[0:500]}}&hellip;</td>
+ </tr>
+ </tbody>
+ </table>
</div>
</div>
</div>