From fd82ede36d02ee24e960779f14499b1379d13197 Mon Sep 17 00:00:00 2001 From: aj Date: Sat, 2 Mar 2019 17:19:59 +0000 Subject: [PATCH] adding styling on art, made title home link --- sarsoo/art/templates/art/index.html | 3 +-- sarsoo/sarsoo.py | 6 +----- sarsoo/templates/base.html | 2 +- static/style.css | 5 ++++- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/sarsoo/art/templates/art/index.html b/sarsoo/art/templates/art/index.html index 4aff352..d09c1a9 100644 --- a/sarsoo/art/templates/art/index.html +++ b/sarsoo/art/templates/art/index.html @@ -9,8 +9,7 @@

{{ tag.name }}

{{ tag.splash.file_name  }} - -

{{ tag.description }}{{ tag.image }}

+ {% if tag.description %}

{{ tag.description }}{{ tag.image }}

{% endif %} view
{% endfor %} diff --git a/sarsoo/sarsoo.py b/sarsoo/sarsoo.py index a59fcfd..5c263f7 100644 --- a/sarsoo/sarsoo.py +++ b/sarsoo/sarsoo.py @@ -11,7 +11,7 @@ db = firestore.Client() app = Flask(__name__, static_folder=os.path.join(os.path.dirname(__file__), '..', 'static'), template_folder = "templates") app.register_blueprint(art_print, url_prefix='/art') -app.register_blueprint(music_print, url_prefix='/musictest') +app.register_blueprint(music_print, url_prefix='/music') staticbucketurl = 'https://storage.googleapis.com/sarsooxyzstatic/' @@ -32,10 +32,6 @@ def main(): return render_template('index.html', staticroot = staticbucketurl, splash = splashtext, art=art) -@app.route('/music') -def music(): - return render_template('music.html') - @app.route('/dev') def dev(): return render_template('dev.html') diff --git a/sarsoo/templates/base.html b/sarsoo/templates/base.html index d2cbd59..91c3760 100644 --- a/sarsoo/templates/base.html +++ b/sarsoo/templates/base.html @@ -8,7 +8,7 @@
-

andy

+ andy