Add trusted header auth and publisher shell
This commit is contained in:
parent
89e6a4d78c
commit
96551c2788
8 changed files with 569 additions and 19 deletions
|
|
@ -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
19
repub/pages/publisher.py
Normal 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"
|
||||
]
|
||||
],
|
||||
),
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue