Strategická: Zobrazení pravidel
This commit is contained in:
parent
9704c02849
commit
913d35db94
2 changed files with 6 additions and 0 deletions
|
@ -25,3 +25,5 @@ cp ../klient/jsmn.h static/client
|
||||||
)
|
)
|
||||||
unlink static/client.git
|
unlink static/client.git
|
||||||
ln -sr static/client/.git 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.a(href=u)(u)
|
||||||
b.br()
|
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.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()
|
return b.print_file()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue