Add trusted header auth and publisher shell
All checks were successful
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.

This commit is contained in:
Abel Luck 2026-06-01 18:11:23 +02:00
parent 89e6a4d78c
commit 96551c2788
8 changed files with 569 additions and 19 deletions

View file

@ -1,4 +1,5 @@
from repub.pages.dashboard import dashboard_page, dashboard_page_with_data
from repub.pages.publisher import publisher_page
from repub.pages.runs import execution_logs_page, runs_page
from repub.pages.settings import settings_page
from repub.pages.shim import shim_page
@ -10,6 +11,7 @@ __all__ = [
"dashboard_page_with_data",
"edit_source_page",
"execution_logs_page",
"publisher_page",
"runs_page",
"settings_page",
"shim_page",

19
repub/pages/publisher.py Normal file
View file

@ -0,0 +1,19 @@
from __future__ import annotations
import htpy as h
from htpy import Renderable
from repub.components import app_shell
def publisher_page(*, current_path: str) -> Renderable:
return app_shell(
current_path=current_path,
content=(
h.section[
h.h1(class_="text-3xl font-semibold tracking-tight text-slate-950")[
"Hello publishers"
]
],
),
)