Skip to content

Commit

Permalink
center/middle alignment for content in tables
Browse files Browse the repository at this point in the history
  • Loading branch information
aozalevsky committed Mar 15, 2024
1 parent 809152b commit 453dea2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions templates/full_validation_pdf.html
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,17 @@ <h2 align="center">{{ date }}</h2>
<table class="table table-bordered" style="height: 16rem;">
<thead>
<tr>
<th align="center" class="text-center">PDB ID</th>
<th align="center" class="text-center">{{ ID_T }}</th>
<th align="center" class="text-center" style="text-align:center; vertical-align: middle;">PDB ID</th>
<th align="center" class="text-center" style="text-align:center; vertical-align: middle;">{{ ID_T }}</th>
</tr>
</thead>
<tr>
<td class="align-middle" class="text-center">Structure Name</td>
<td class="align-middle" class="text-center">{{ Molecule }}</td>
<td class="align-middle" class="text-center" style="text-align:center; vertical-align: middle;">Structure Name</td>
<td class="align-middle" class="text-center" style="text-align:center; vertical-align: middle;">{{ Molecule }}</td>
</tr>
<tr>
<td class="align-middle" class="text-center">Structure Authors</td>
<td class="align-middle" class="text-center">{{ Authors }}</td>
<td class="align-middle" class="text-center" style="text-align:center; vertical-align: middle;">Structure Authors</td>
<td class="align-middle" class="text-center" style="text-align:center; vertical-align: middle;">{{ Authors }}</td>
</tr>
</table>
</div>
Expand Down Expand Up @@ -577,7 +577,7 @@ <h4 align="center">
<p> For models with atomic structures, molprobity analysis is performed. For models with coarse-grained or multi-scale structures, excluded volume analysis is performed.</p>

<!-- Disclaimer -->
{% if disclaimer > 0 %}
{% if disclaimer %}
<p>
<i> NOTE: Based on existing standards, there are no model quality assessments for this entry.</i>
</p>
Expand Down
2 changes: 1 addition & 1 deletion templates/macro.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% for j in range(1, list_to_write|length) %}
<tr>
{% for i in range(list_to_write[j]|length) %}
<td>
<td style="text-align:center; vertical-align: middle;">
<div>
{{ list_to_write[j][i] }}
</div>
Expand Down

0 comments on commit 453dea2

Please sign in to comment.