diff options
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/home.html | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html index 1a3935f..7f07a77 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ <title>flask app template</title> <!-- <link href="/static/css/default.css" rel="stylesheet"> --> <style type="text/css"> - <!-- local style here --> + {% block style %}{% endblock %} </style> </head> <body> diff --git a/templates/home.html b/templates/home.html index ca3e3df..d6916f0 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,8 +1,20 @@ {% extends "base.html" %} +{% block style %} +body { background-color: black; } +{% endblock %} {% block body %} <a href="book" target="_blank"> <img src="/static/aaaarg_vs_libgen.png" ismap="ismap"> </a> +<div style="position: absolute; top: 10px; left: 10px;"> +<strong style="font-size: large;"> +<span style="color: red;">AAAAARG.ORG</span> +<br><span style="color: blue;">LIBGEN.ORG</span> +<br><a href="http://git.bnewbold.net/?p=circles.git;a=summary" style="color:white;">{code}</a> +<a href="http://2012.haip.cc" style="color:white;">{haip}</a> +</strong> +</div> + {% endblock %} |