Skip to content

Commit 85f8b2b

Browse files
committed
Add titles
1 parent 0483362 commit 85f8b2b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

paperoni/webapp/search.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ async def app(page, box):
2222
q = Queue()
2323
area = H.div["area"]().autoid()
2424

25-
page[".title"].print("Search for papers")
25+
page["#title"].print(
26+
"Search for papers",
27+
H.a["ball"]("?", href="/help#search"),
28+
)
2629

2730
with load_config(os.environ["PAPERONI_CONFIG"]) as cfg:
2831
with cfg.database as db:

paperoni/webapp/validation.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ async def app(page, box):
2424
debounced = ClientWrap(q, debounce=0.3, form=True)
2525
area = H.div["area"]().autoid()
2626

27+
page["#title"].print(
28+
"Validate papers",
29+
H.a["ball"]("?", href="/help#validation"),
30+
)
31+
2732
async def toggleSeeFlagged(form=None):
2833
nonlocal seeFlagged
2934
seeFlagged = not seeFlagged

0 commit comments

Comments
 (0)