diff --git a/__pycache__/contextualise.cpython-35.pyc b/__pycache__/contextualise.cpython-35.pyc index d100f60..954cecb 100644 Binary files a/__pycache__/contextualise.cpython-35.pyc and b/__pycache__/contextualise.cpython-35.pyc differ diff --git a/contextualise.py b/contextualise.py index 8f1fb3d..8a2958a 100644 --- a/contextualise.py +++ b/contextualise.py @@ -167,6 +167,9 @@ def listofwords(): #THE SCORE STUFF ###################################################################################### +### Add : if score is empty then add some sentence like "your score is empty" +### to be printed to the text document + @app.route("/get-file") def get_file(): fullscore = None @@ -175,6 +178,7 @@ def get_file(): idlist = session["id"] timelist = session["clicktime"] veryfirstnow = session['veryfirstnow'] + tadam = None for t in timelist : t = str(t) @@ -225,8 +229,11 @@ def get_file(): out = [(fullscore[i:i+n]) for i in range(0, len(fullscore), n)] #joining the strings with linebreaks tadam = '\n'.join(out) +# have a message in file if no nav has been recorded so it's less dull than error page + if tadam is None: + tadam = "This score is Null" - print(tadam) + print(tadam) return Response(tadam, mimetype="text/plain", diff --git a/static/css/main.css b/static/css/main.css index d3997f0..940ec18 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -5,10 +5,10 @@ body{ } a{ - color:red; - text-decoration: none; + /*text-decoration: none;*/ } + ul{ list-style: none; } diff --git a/templates/about.html b/templates/about.html index ceb5c38..779d8ab 100644 --- a/templates/about.html +++ b/templates/about.html @@ -1,7 +1,23 @@ {% extends "layout.html" %} {% block content %}
-

About me

-

This is a portfolio site about anything that can be put in a portfolio.

+

About

+

Pushing scores is a two years long project initiated by De Player(*) on music notation and..... + The archive is composed of.... + The concept for this archive is.... + This archive was conceived and developped by.... (Cricri, Juju) + Using Flask, Jinja, Python, suboptimal brain power. + Performers for the launch... (Nick, Christine, surprise) + + + + + + +
+ * De Player is a Rotterdam based polymorphic production platform for performance art, experimental music and visual arts.
+ ** Varia is + +

{% endblock %} diff --git a/templates/home.html b/templates/home.html index 308dbe0..f2ca311 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %}
-

THIS IS THE HOME PAGE

-

This website was built with Python via the Flask framework.

+

Hi!

+

Shouldn't this be the page with all the links? Then we may remove description as a clickable link no?

{% endblock %} \ No newline at end of file diff --git a/templates/layout.html b/templates/layout.html index eccf1c0..9f56dde 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -2,20 +2,22 @@ - PARTOUT TITRE PARTOUT + P.u.s.h.i.n.g.S.c.o.r.e.s + +
-

SUPERB

+

P.u.s.h.i.n.g.S.c.o.r.e.s