Merge branch 'sksp2022-strategicka' of gitea.ks.matfyz.cz:KSP/ksp into sksp2022-strategicka
This commit is contained in:
commit
a79fc82f20
2 changed files with 6 additions and 0 deletions
|
@ -25,3 +25,5 @@ cp ../klient/jsmn.h static/client
|
|||
)
|
||||
unlink static/client.git
|
||||
ln -sr static/client/.git static/client.git
|
||||
|
||||
pandoc ../pravidla.md --to=pdf -o static/pravidla.pdf
|
||||
|
|
|
@ -255,6 +255,10 @@ def web_index():
|
|||
b.a(href=u)(u)
|
||||
b.br()
|
||||
b.line().li("Git: ", b._pre(f"git clone {app.url_for('static', filename='client.git', _external=True)}", style="margin: 0pt 0pt"))
|
||||
b.h3("Pravidla")
|
||||
with b.p():
|
||||
u = app.url_for('static', filename='pravidla.pdf')
|
||||
b.a(href=u)("V PDF")
|
||||
|
||||
return b.print_file()
|
||||
|
||||
|
|
Loading…
Reference in a new issue