minor css and APIToken Admin UI fixes

This commit is contained in:
Nick Sweeting 2024-08-20 03:45:49 -07:00
parent 920b92e658
commit 9c8ece4d7c
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -28,11 +28,11 @@ class APIToken(ABIDModel):
abid_prefix = 'apt_'
abid_ts_src = 'self.created'
abid_uri_src = 'self.token'
abid_subtype_src = 'self.user_id'
abid_subtype_src = 'self.created_by_id'
abid_rand_src = 'self.id'
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=True)
uuid = models.UUIDField(blank=True, null=True, editable=True, unique=True)
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
uuid = models.UUIDField(blank=True, null=True, editable=False, unique=True)
abid = ABIDField(prefix=abid_prefix)
created_by = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)

View file

@ -1,8 +1,8 @@
* {
/* * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
} */
#logo {
height: 30px;
@ -317,7 +317,7 @@ body.model-snapshot.change-list #content .object-tools {
}
.inline-group .tabular td.original p {
margin-top: -33px;
margin-top: -28px;
}
tbody .output-link {