diff --git a/server.py b/server.py index 65b6095..f3fc78b 100755 --- a/server.py +++ b/server.py @@ -13,6 +13,7 @@ import htmlgenerators import malojatime from utilities import * from urihandler import uri_to_internal, remove_identical +import urihandler # doreah toolkit from doreah import settings from doreah.logging import log @@ -151,6 +152,7 @@ def static_html(name): environ["htmlgenerators"] = htmlgenerators environ["malojatime"] = malojatime environ["utilities"] = utilities + environ["urihandler"] = urihandler # external environ["urllib"] = urllib # request diff --git a/website/artist.pyhp b/website/artist.pyhp index f72802a..23141c9 100644 --- a/website/artist.pyhp +++ b/website/artist.pyhp @@ -26,8 +26,9 @@ - - + + + @@ -54,7 +55,7 @@
-

Scrobbles

+

Scrobbles

@@ -76,7 +77,7 @@ -

Top Tracks

+

Top Tracks


@@ -95,7 +96,7 @@ -

Pulse

+

Pulse

@@ -121,7 +122,7 @@ -

Performance

+

Performance

@@ -149,7 +150,7 @@ -

Last Scrobbles

+

Last Scrobbles

diff --git a/website/track.pyhp b/website/track.pyhp new file mode 100644 index 0000000..845beb0 --- /dev/null +++ b/website/track.pyhp @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + Maloja - <pyhp echo="track['title']" /> + + + + + + + + + + + +
+
+
+
+

+ +

Scrobbles

+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+

Pulse

+ + + + + + + + + + +

+ + + + + + + + + + + +
+ +

Performance

+ + + + + + + + + + + +

+ + + + + + + + + + +
+ + +

Last Scrobbles

+ + + + + + + + +