mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-16 04:56:05 +00:00
Diff-ify changelog view for zone changes
Improve and document the diff-computation and presentation, so you can easier see what changed.
This commit is contained in:
@ -56,4 +56,27 @@ table.records thead th, table.records tbody td { text-align: center; vertical-al
|
||||
table.records thead th:last-of-type { width: 50px; }
|
||||
div.records > div.dataTables_wrapper > div.row:first-of-type { margin: 0 0.5em 0 0.5em; }
|
||||
div.records > div.dataTables_wrapper > div.row:last-of-type { margin: 0.4em 0.5em 0.4em 0.5em; }
|
||||
div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
|
||||
div.records > div.dataTables_wrapper table.dataTable { margin: 0 !important; }
|
||||
|
||||
.diff {
|
||||
font-family: monospace;
|
||||
padding: 0 0.2em;
|
||||
}
|
||||
.diff::before {
|
||||
content: "\00a0";
|
||||
padding-right: 0.1em;
|
||||
}
|
||||
|
||||
.diff-deletion {
|
||||
background-color: lightcoral;
|
||||
}
|
||||
.diff-deletion::before {
|
||||
content: "-";
|
||||
}
|
||||
|
||||
.diff-addition {
|
||||
background-color: lightgreen;
|
||||
}
|
||||
.diff-addition::before {
|
||||
content: "+";
|
||||
}
|
||||
|
Reference in New Issue
Block a user