mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-04 19:15:30 +00:00
Merge pull request #1359 from Metrax/issue-1358
Fixing Wrapping in History Details Modal in Dashboard
This commit is contained in:
commit
0c42bdad5f
@ -92,24 +92,24 @@
|
|||||||
{% for changes in hist_rec_entry.changeSet %}
|
{% for changes in hist_rec_entry.changeSet %}
|
||||||
<tr>
|
<tr>
|
||||||
{% if changes[2] == "unchanged" %}
|
{% if changes[2] == "unchanged" %}
|
||||||
<td>
|
<td style="word-break: break-all">
|
||||||
{{changes[0]['content']}}
|
{{changes[0]['content']}}
|
||||||
</td>
|
</td>
|
||||||
{% elif changes[2] == "addition" %}
|
{% elif changes[2] == "addition" %}
|
||||||
<td>
|
<td style="word-break: break-all">
|
||||||
<span style="background-color: lightgreen">
|
<span style="background-color: lightgreen">
|
||||||
{{changes[1]['content']}}
|
{{changes[1]['content']}}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
{% elif changes[2] == "deletion" %}
|
{% elif changes[2] == "deletion" %}
|
||||||
<td>
|
<td style="word-break: break-all">
|
||||||
<s
|
<s
|
||||||
style="text-decoration-color: rgba(194, 10, 10, 0.6); text-decoration-thickness: 2px;">
|
style="text-decoration-color: rgba(194, 10, 10, 0.6); text-decoration-thickness: 2px;">
|
||||||
{{changes[0]['content']}}
|
{{changes[0]['content']}}
|
||||||
</s>
|
</s>
|
||||||
</td>
|
</td>
|
||||||
{% elif changes[2] == "status" %}
|
{% elif changes[2] == "status" %}
|
||||||
<td>
|
<td style="word-break: break-all">
|
||||||
{{changes[0]['content']}}
|
{{changes[0]['content']}}
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td style="word-break: break-all">
|
||||||
{% for comments in hist_rec_entry.add_rrset['comments'] %}
|
{% for comments in hist_rec_entry.add_rrset['comments'] %}
|
||||||
{{comments['content'] }}
|
{{comments['content'] }}
|
||||||
<br/>
|
<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user