diff --git a/app/admin.py b/app/admin.py index feb7007..f738c5c 100644 --- a/app/admin.py +++ b/app/admin.py @@ -282,7 +282,9 @@ async def admin_outbox( ( await db_session.scalars( q.options( - joinedload(models.OutboxObject.relates_to_inbox_object), + joinedload(models.OutboxObject.relates_to_inbox_object).options( + joinedload(models.InboxObject.actor), + ), joinedload(models.OutboxObject.relates_to_outbox_object), joinedload(models.OutboxObject.relates_to_actor), joinedload(models.OutboxObject.outbox_object_attachments).options( diff --git a/app/main.py b/app/main.py index 3de8d69..df2ee6b 100644 --- a/app/main.py +++ b/app/main.py @@ -167,7 +167,15 @@ async def index( q.options( joinedload(models.OutboxObject.outbox_object_attachments).options( joinedload(models.OutboxObjectAttachment.upload) - ) + ), + joinedload(models.OutboxObject.relates_to_inbox_object).options( + joinedload(models.InboxObject.actor), + ), + joinedload(models.OutboxObject.relates_to_outbox_object).options( + joinedload(models.OutboxObject.outbox_object_attachments).options( + joinedload(models.OutboxObjectAttachment.upload) + ), + ), ) .order_by(models.OutboxObject.ap_published_at.desc()) .offset(page_offset) diff --git a/app/scss/main.scss b/app/scss/main.scss index d856bd4..8527389 100644 --- a/app/scss/main.scss +++ b/app/scss/main.scss @@ -26,6 +26,12 @@ body { a { text-decoration: none; } +.shared-header { +margin-left:60px;margin-top:30px;margin-bottom:-15px; +strong { +color: $primary-color; +} +} .activity-main { a { @@ -36,7 +42,7 @@ a { } code, pre { color: $secondary-color; // #cb4b16; // #268bd2; // #2aa198; - font-family: 'Inconsolata, monospace'; + font-family: monospace; } .form { input, select, textarea { @@ -118,6 +124,7 @@ footer { } } +nav { input[type=submit], button { font-size: 20px; line-height: 32px; @@ -131,6 +138,7 @@ input[type=submit], button { color: $secondary-color; } } +} nav.flexbox { ul { @@ -184,7 +192,15 @@ nav.flexbox { .actor-handle { color: $muted-color; } - .activity-date { float:right; } + .activity-date { + float:right; + a { + color: $muted-color; + &:hover { + color: $secondary-color; + } + } + } .object-visibility { float:right;color: $muted-color;margin-right:10px; } } } @@ -199,6 +215,13 @@ nav.flexbox { .activity-bar { margin-left: 60px; margin-top: 10px; + color: $muted-color; + a { + color: $muted-color; + &:hover { + color: $secondary-color; + } + } } } .actor-action { diff --git a/app/templates/index.html b/app/templates/index.html index dd0067d..e4eead3 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -19,7 +19,12 @@