mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2025-02-26 20:27:09 +00:00
fix ArchiveResult extractor showing up on top of dropdown in admin inline form
This commit is contained in:
parent
05dbb1c160
commit
3457773988
2 changed files with 5 additions and 1 deletions
|
@ -209,6 +209,7 @@ class ArchiveResult(models.Model):
|
|||
uuid = models.UUIDField(default=uuid.uuid4, editable=False)
|
||||
|
||||
snapshot = models.ForeignKey(Snapshot, on_delete=models.CASCADE)
|
||||
extractor = models.CharField(choices=EXTRACTORS, max_length=32)
|
||||
cmd = JSONField()
|
||||
pwd = models.CharField(max_length=256)
|
||||
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)
|
||||
end_ts = models.DateTimeField()
|
||||
status = models.CharField(max_length=16, choices=STATUS_CHOICES)
|
||||
extractor = models.CharField(choices=EXTRACTORS, max_length=32)
|
||||
|
||||
objects = ArchiveResultManager()
|
||||
|
||||
|
|
|
@ -260,3 +260,7 @@ body.model-snapshot.change-list #content .object-tools {
|
|||
#result_list tbody td.field-status {
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
.inline-group .tabular td.original p {
|
||||
margin-top: -33px;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue