1
0
Fork 0
mirror of synced 2024-06-29 03:20:58 +12:00

fix ArchiveResult extractor showing up on top of dropdown in admin inline form

This commit is contained in:
Nick Sweeting 2021-02-17 18:25:01 -05:00
parent 05dbb1c160
commit 3457773988
2 changed files with 5 additions and 1 deletions

View file

@ -209,6 +209,7 @@ class ArchiveResult(models.Model):
uuid = models.UUIDField(default=uuid.uuid4, editable=False) uuid = models.UUIDField(default=uuid.uuid4, editable=False)
snapshot = models.ForeignKey(Snapshot, on_delete=models.CASCADE) snapshot = models.ForeignKey(Snapshot, on_delete=models.CASCADE)
extractor = models.CharField(choices=EXTRACTORS, max_length=32)
cmd = JSONField() cmd = JSONField()
pwd = models.CharField(max_length=256) pwd = models.CharField(max_length=256)
cmd_version = models.CharField(max_length=128, default=None, null=True, blank=True) cmd_version = models.CharField(max_length=128, default=None, null=True, blank=True)
@ -216,7 +217,6 @@ class ArchiveResult(models.Model):
start_ts = models.DateTimeField(db_index=True) start_ts = models.DateTimeField(db_index=True)
end_ts = models.DateTimeField() end_ts = models.DateTimeField()
status = models.CharField(max_length=16, choices=STATUS_CHOICES) status = models.CharField(max_length=16, choices=STATUS_CHOICES)
extractor = models.CharField(choices=EXTRACTORS, max_length=32)
objects = ArchiveResultManager() objects = ArchiveResultManager()

View file

@ -260,3 +260,7 @@ body.model-snapshot.change-list #content .object-tools {
#result_list tbody td.field-status { #result_list tbody td.field-status {
font-variant: small-caps; font-variant: small-caps;
} }
.inline-group .tabular td.original p {
margin-top: -33px;
}