|
17 | 17 | </td> |
18 | 18 | <td class="fw-normal text-dark" style="text-align: left;">{{ form.instance.get_instability_types }} |
19 | 19 | </td> |
20 | | - <td class="fw-normal text-dark" style="text-align: right;"> |
| 20 | + <td class="fw-normal text-dark" style="text-align: center;"> |
21 | 21 | {% if form.instance.year_from == None %} |
22 | 22 | {% elif form.instance.year_from == form.instance.year_to %} |
23 | 23 | {% if form.instance.year_from < 0 %} |
24 | | - <span style="text-align: right; border-width: 0;">{{ form.instance.year_from|abs|intcomma }} <small class="text-secondary">BCE</small> </span> |
| 24 | + <span style="text-align: center; border-width: 0;">{{ form.instance.year_from|abs|intcomma }} <small class="text-secondary">BCE</small> </span> |
25 | 25 | {% else %} |
26 | | - <span style="text-align: right; border-width: 0;">{{ form.instance.year_from }} <small class="text-secondary">CE</small></span> |
| 26 | + <span style="text-align: center; border-width: 0;">{{ form.instance.year_from }} <small class="text-secondary">CE</small></span> |
27 | 27 | {% endif %} |
28 | 28 | {% elif form.instance.year_to == None %} |
29 | 29 | {% if form.instance.year_from < 0 %} |
30 | | - <span style="text-align: right; border-width: 0;">{{ form.instance.year_from|abs }} <small class="text-secondary">BCE</small></span> |
| 30 | + <span style="text-align: center; border-width: 0;">{{ form.instance.year_from|abs }} <small class="text-secondary">BCE</small></span> |
31 | 31 | {% else %} |
32 | | - <span style="text-align: right; border-width: 0;">{{ form.instance.year_from }} <small class="text-secondary">CE</small></span> |
| 32 | + <span style="text-align: center; border-width: 0;">{{ form.instance.year_from }} <small class="text-secondary">CE</small></span> |
33 | 33 | {% endif %} |
34 | 34 | {% elif form.instance.year_to == None and form.instance.year_from == None %} |
35 | | - <span style="text-align: right; border-width: 0;"> <i class="fa-solid fa-minus"></i> </span> |
| 35 | + <span style="text-align: center; border-width: 0;"> <i class="fa-solid fa-minus"></i> </span> |
36 | 36 | {% else %} |
37 | 37 | {% if form.instance.year_from < 0 and form.instance.year_to < 0 %} |
38 | | - <span style="text-align: right; border-width: 0;">{{ form.instance.year_from|abs }} <small class="text-secondary">BCE</small> <i class="fa-solid fa-arrow-right-long"></i> {{ form.instance.year_to|abs }} <small class="text-secondary">BCE</small></span> |
| 38 | + <span style="text-align: center; border-width: 0;">{{ form.instance.year_from|abs }} <small class="text-secondary">BCE</small> <i class="fa-solid fa-arrow-right-long"></i> {{ form.instance.year_to|abs }} <small class="text-secondary">BCE</small></span> |
39 | 39 | {% elif form.instance.year_from < 0 and form.instance.year_to >= 0 %} |
40 | | - <span style="text-align: right; border-width: 0;">{{ form.instance.year_from|abs }} <small class="text-secondary">BCE</small> <i class="fa-solid fa-arrow-right-long"></i> {{ form.instance.year_to }} <small class="text-secondary">CE</small></span> |
| 40 | + <span style="text-align: center; border-width: 0;">{{ form.instance.year_from|abs }} <small class="text-secondary">BCE</small> <i class="fa-solid fa-arrow-right-long"></i> {{ form.instance.year_to }} <small class="text-secondary">CE</small></span> |
41 | 41 | {% else %} |
42 | | - <span style="text-align: right; border-width: 0;">{{ form.instance.year_from }} <small class="text-secondary">CE</small> <i class="fa-solid fa-arrow-right-long"></i> {{ form.instance.year_to }} <small class="text-secondary">CE</small></span> |
| 42 | + <span style="text-align: center; border-width: 0;">{{ form.instance.year_from }} <small class="text-secondary">CE</small> <i class="fa-solid fa-arrow-right-long"></i> {{ form.instance.year_to }} <small class="text-secondary">CE</small></span> |
43 | 43 | {% endif %} |
44 | 44 | {% endif %} |
45 | 45 | </td> |
|
57 | 57 | <td class="fw-normal text-dark" style="text-align: left;"> |
58 | 58 | {% autoescape off %} |
59 | 59 |
|
60 | | - {% if form.instance.researchers_list and form.instance.seshat_experts_list %} |
61 | 60 | <small style="vertical-align: bottom; display:inline-block;"> |
62 | | - <span data-bs-toggle="tooltip" title="Generated using LLMs."> |
63 | | - <span class="text-secondary border border-1 rounded border-secondary" style="padding-top:2px; padding-bottom:0px; padding-left:3px; padding-right:3px;">AI</span> |
64 | | - </span> |
65 | | - <a data-bs-toggle="tooltip" data-bs-html="true" title="Checked By: {{ form.instance.researchers_list }}"> |
66 | | - <i class="fa-solid fa-user-tie fa-lg pb-1" style="color: #138086" aria-hidden="true"></i> |
67 | | - <a data-bs-toggle="tooltip" data-bs-html="true" title="Expert Reviewed By: {{ form.instance.seshat_experts_list }}"> |
68 | | - <span><i class="fa-solid fa-user-graduate fa-lg" style="color: #843b62" aria-hidden="true"></i></span> |
69 | | - </a></small> |
70 | | - |
71 | | - {% elif form.instance.researchers_list %} |
72 | | - <small style="vertical-align: bottom; "> |
73 | | - <a data-bs-toggle="tooltip" data-bs-html="true" title="Generated using LLMs."> |
74 | | - <span class="text-secondary border border-1 rounded border-secondary" style="padding-top:1px; padding-bottom:0px; padding-left:3px; padding-right:3px;">AI</span> |
75 | | - </a> |
76 | | - <a data-bs-toggle="tooltip" data-bs-html="true" title="Checked By: {{ form.instance.researchers_list }}"> |
77 | | - <i class="fa-solid fa-user-tie fa-lg" style="color: #138086" aria-hidden="true"></i> |
78 | | - </a> |
79 | | - </small> |
80 | | - |
81 | | - {% else %} |
82 | | - <small style="vertical-align: bottom;" data-bs-toggle="tooltip" title="Generated using LLMs."> |
83 | | - <span class="text-secondary border border-1 rounded border-secondary" style="padding-top:1px; padding-bottom:0px; padding-left:3px; padding-right:3px; ">AI</span> |
84 | | - </small> |
85 | | - {% endif %} |
| 61 | + <a data-bs-toggle="tooltip" data-bs-html="true" class="fw-light text-teal" title="Generated using LLMs."><span class="text-secondary border border-1 rounded border-secondary" style="padding-top:2px; padding-bottom:0px; padding-left:3px; padding-right:3px; ">AI</span></a> |
| 62 | + |
| 63 | + {% if form.instance.researchers_list %} |
| 64 | + <a data-bs-toggle="tooltip" data-bs-html="true" title="Checked By: {{ form.instance.researchers_list }}"> |
| 65 | + <i class="fa-solid fa-user-tie fa-lg" style="color: #138086" aria-hidden="true"></i> |
| 66 | + </a> |
| 67 | + {% endif %} |
| 68 | + {% if form.instance.comment %} |
| 69 | + <a data-bs-toggle="tooltip" data-bs-html="true" class="fw-normal text-teal" title="Seshat-approved Description added."><span class="text-success border border-1 rounded border-success" style="padding-top:2px; padding-bottom:0px; padding-left:3px; padding-right:3px; ">D</span></a> |
| 70 | + |
| 71 | + {% endif %} |
| 72 | + |
| 73 | + {% if form.instance.seshat_experts_list %} |
| 74 | + <a data-bs-toggle="tooltip" data-bs-html="true" title="Expert Reviewed By: {{ form.instance.seshat_experts_list }}"> |
| 75 | + <span> |
| 76 | + <i class="fa-solid fa-user-graduate fa-lg" style="color: #843b62" aria-hidden="true"></i> |
| 77 | + </span> |
| 78 | + </a> |
| 79 | + {% endif %} |
86 | 80 |
|
87 | | - {% if form.instance.comment %} |
88 | | - <small style="vertical-align: bottom; "> |
89 | | - <a data-bs-toggle="tooltip" data-bs-html="true" class="fw-normal text-teal" title="Seshat-approved Description added."><span class="text-success border border-1 rounded border-success" style="padding-top:1px; padding-bottom:0px; padding-left:3px; padding-right:3px; ">D</span></a> |
90 | 81 | </small> |
91 | 82 |
|
92 | | - {% endif %} |
93 | | - |
94 | 83 |
|
95 | 84 | {% endautoescape %} |
96 | 85 | </td> |
|
0 commit comments