diff --git a/indexer.py b/indexer.py index 67e3070..c6dd5dd 100644 --- a/indexer.py +++ b/indexer.py @@ -11,5 +11,9 @@ def index(): def categorys(): return render_template("categorys.html") +@app.route("/create") +def create(): + return render_template("create.html") + if __name__ == "__main__": app.run(debug=True) diff --git a/static/fonts/glyphicons-halflings-regular.eot b/static/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 0000000..b93a495 Binary files /dev/null and b/static/fonts/glyphicons-halflings-regular.eot differ diff --git a/static/fonts/glyphicons-halflings-regular.svg b/static/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 0000000..94fb549 --- /dev/null +++ b/static/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/fonts/glyphicons-halflings-regular.ttf b/static/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000..1413fc6 Binary files /dev/null and b/static/fonts/glyphicons-halflings-regular.ttf differ diff --git a/static/fonts/glyphicons-halflings-regular.woff b/static/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 0000000..9e61285 Binary files /dev/null and b/static/fonts/glyphicons-halflings-regular.woff differ diff --git a/static/fonts/glyphicons-halflings-regular.woff2 b/static/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 0000000..64539b5 Binary files /dev/null and b/static/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/templates/create.html b/templates/create.html new file mode 100644 index 0000000..22e3c31 --- /dev/null +++ b/templates/create.html @@ -0,0 +1,9 @@ + +{% extends "index.html" %} +{% block title %}{{ super() }} - Create{% endblock%} +{% set active_page = "create" %} +{% block content %} +

CREATE

+{% endblock content%} diff --git a/templates/index.html b/templates/index.html index 5408314..679961e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,8 +2,9 @@ vim: ts=2 noexpandtab --> {% set navigation_bar = [ - ("/", "search", "Search"), - ("/categorys", "categorys", "Categorys") + ("/", "search", "Search", "glyphicon-search"), + ("/categorys", "categorys", "Categorys", "glyphicon-th"), + ("/create", "create", "Create", "glyphicon-plus") ] -%} @@ -28,8 +29,12 @@ vim: ts=2 noexpandtab

TorrentIndexer