Skip to content

Commit

Permalink
Add titles
Browse files Browse the repository at this point in the history
  • Loading branch information
breuleux committed Sep 26, 2023
1 parent 0483362 commit 85f8b2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion paperoni/webapp/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ async def app(page, box):
q = Queue()
area = H.div["area"]().autoid()

page[".title"].print("Search for papers")
page["#title"].print(
"Search for papers",
H.a["ball"]("?", href="/help#search"),
)

with load_config(os.environ["PAPERONI_CONFIG"]) as cfg:
with cfg.database as db:
Expand Down
5 changes: 5 additions & 0 deletions paperoni/webapp/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ async def app(page, box):
debounced = ClientWrap(q, debounce=0.3, form=True)
area = H.div["area"]().autoid()

page["#title"].print(
"Validate papers",
H.a["ball"]("?", href="/help#validation"),
)

async def toggleSeeFlagged(form=None):
nonlocal seeFlagged
seeFlagged = not seeFlagged
Expand Down

0 comments on commit 85f8b2b

Please sign in to comment.