diff --git a/maloja/web/pyhp/common/footer.html b/maloja/web/pyhp/common/footer.html deleted file mode 100644 index 7de3865..0000000 --- a/maloja/web/pyhp/common/footer.html +++ /dev/null @@ -1,27 +0,0 @@ - - -
- -
diff --git a/maloja/web/pyhp/common/header.html b/maloja/web/pyhp/common/header.html deleted file mode 100644 index ba3db6d..0000000 --- a/maloja/web/pyhp/common/header.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - diff --git a/maloja/web/pyhp/partial/charts_artists.pyhp b/maloja/web/pyhp/partial/charts_artists.pyhp deleted file mode 100644 index 5e02895..0000000 --- a/maloja/web/pyhp/partial/charts_artists.pyhp +++ /dev/null @@ -1,76 +0,0 @@ - - - if amountkeys.get("max_") is not None: amountkeys["perpage"],amountkeys["page"] = amountkeys["max_"],0 - firstindex = amountkeys["page"] * amountkeys["perpage"] - lastindex = firstindex + amountkeys["perpage"] - - - - - - - - - - try: - artistslast = db.get_charts_artists(**filterkeys,timerange=limitkeys["timerange"].next(step=-1)) - # create rank association - lastrank = {} - for al in artistslast: - lastrank[al["artist"]] = al["rank"] - for a in artists: - try: - a["delta"] = lastrank[a["artist"]] - a["rank"] - except: - a["delta"] = math.inf - except: - pass - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#๐Ÿ†•โ†—โ†˜โžก
- - - - - diff --git a/maloja/web/pyhp/partial/charts_artists_tiles.pyhp b/maloja/web/pyhp/partial/charts_artists_tiles.pyhp deleted file mode 100644 index da09e74..0000000 --- a/maloja/web/pyhp/partial/charts_artists_tiles.pyhp +++ /dev/null @@ -1,49 +0,0 @@ - - num_levels = 3 - - - - - - - - - - - - - - - - - -
- - - - - try: - entry = next(artists_iterator) - artist = entry['artist'] - rank = entry['rank'] - except: - artist = None - - - - - - - - - - -
- - # - - - - -
diff --git a/maloja/web/pyhp/partial/charts_tracks.pyhp b/maloja/web/pyhp/partial/charts_tracks.pyhp deleted file mode 100644 index 39c3232..0000000 --- a/maloja/web/pyhp/partial/charts_tracks.pyhp +++ /dev/null @@ -1,70 +0,0 @@ - - - if amountkeys.get("max_") is not None: amountkeys["perpage"],amountkeys["page"] = amountkeys["max_"],0 - firstindex = amountkeys["page"] * amountkeys["perpage"] - lastindex = firstindex + amountkeys["perpage"] - - - - - - - - - - try: - trackslast = db.get_charts_tracks(**kwargs_filter,timerange=kwargs_time["timerange"].next(step=-1)) - # create rank association - lastrank = {} - for tl in trackslast: - lastrank[(*tl["track"]["artists"],tl["track"]["title"])] = tl["rank"] - for t in tracks: - try: - t["delta"] = lastrank[(*t["track"]["artists"],t["track"]["title"])] - t["rank"] - except: - t["delta"] = math.inf - except: - pass - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#๐Ÿ†•โ†—โ†˜โžก
- - - - - diff --git a/maloja/web/pyhp/partial/charts_tracks_tiles.pyhp b/maloja/web/pyhp/partial/charts_tracks_tiles.pyhp deleted file mode 100644 index 915b393..0000000 --- a/maloja/web/pyhp/partial/charts_tracks_tiles.pyhp +++ /dev/null @@ -1,51 +0,0 @@ - - num_levels = 3 - - - - - - - - - - - - - - - - - -
- - - - - try: - entry = next(tracks_iterator) - track = entry['track'] - artists = track['artists'] - title = track['title'] - rank = entry['rank'] - except: - track = None - - - - - - - - - - -
- - # - - - - -
diff --git a/maloja/web/pyhp/partial/link_track_scrobbles.pyhp b/maloja/web/pyhp/partial/link_track_scrobbles.pyhp deleted file mode 100644 index e990796..0000000 --- a/maloja/web/pyhp/partial/link_track_scrobbles.pyhp +++ /dev/null @@ -1,8 +0,0 @@ - - - - - -
-
-
diff --git a/maloja/web/pyhp/partial/pagination.pyhp b/maloja/web/pyhp/partial/pagination.pyhp deleted file mode 100644 index 9066375..0000000 --- a/maloja/web/pyhp/partial/pagination.pyhp +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - -
- - - - 1 | - - - ... | - - - ยซ - - - - - - - - ยป - - - | ... - - - | - - - -
diff --git a/maloja/web/pyhp/partial/performance.pyhp b/maloja/web/pyhp/partial/performance.pyhp deleted file mode 100644 index bc4919d..0000000 --- a/maloja/web/pyhp/partial/performance.pyhp +++ /dev/null @@ -1,31 +0,0 @@ - - if amountkeys["max_"] is not None: amountkeys["perpage"],amountkeys["page"] = amountkeys["max_"],0 - firstindex = amountkeys["page"] * amountkeys["perpage"] - lastindex = firstindex + amountkeys["perpage"] - - - - - - - - - - minrank = 80 - for t in displayranges: - if t["rank"] is not None and t["rank"]+20 > minrank: minrank = t["rank"]+20 - - - - - - - - - - - - - - -
diff --git a/maloja/web/pyhp/partial/pulse.pyhp b/maloja/web/pyhp/partial/pulse.pyhp deleted file mode 100644 index 7396ea4..0000000 --- a/maloja/web/pyhp/partial/pulse.pyhp +++ /dev/null @@ -1,31 +0,0 @@ - - if amountkeys.get("max_") is not None: amountkeys["perpage"],amountkeys["page"] = amountkeys["max_"],0 - firstindex = amountkeys["page"] * amountkeys["perpage"] - lastindex = firstindex + amountkeys["perpage"] - - - - - - - - - - - - - - - - - - - - -
- - - - - - diff --git a/maloja/web/pyhp/summary.pyhp b/maloja/web/pyhp/summary.pyhp deleted file mode 100644 index e195336..0000000 --- a/maloja/web/pyhp/summary.pyhp +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - Maloja - Summary - - - - - - - - - - - - -
-
-
-

Summary


- - - -

- - -
- - - - - - - - - - - - - - - - - -
- -

Artists

-
- -

Tracks

-
- - - entry = type[r] - isartist = type is artists - entity = entry["artist"] if isartist else entry["track"] - image = utilities.getArtistImage(entity,fast=True) if isartist else utilities.getTrackImage(entity['artists'],entity['title'],fast=True) - rank = entry["rank"] - - - - -
- -
- - -
-
- - - - - -