1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
This commit is contained in:
Krateng 2019-11-21 19:29:46 +01:00
parent 1c9fdedbed
commit 3ebde4a187
2 changed files with 7 additions and 1 deletions

View File

@ -84,6 +84,7 @@ replacetitle OOH-AHH하게 Like OOH-AHH Like Ooh-Ahh
replacetitle OOH-AHH Like Ooh-Ahh
replacetitle LIKEY Likey
countas Tzuyu TWICE
countas Momo TWICE
# AOA
countas AOA Black AOA

Can't render this file because it has a wrong number of fields in line 5.

View File

@ -19,6 +19,11 @@
<pyhp include="common/header.html" />
<script src="javascript/rangeselect.js"></script>
<script>
function scrobble(encodedtrack,apikey) {
neo.xhttprequest('/api/newscrobble?' + encodedtrack + "key=" + apikey).then(response=>{window.location.reload()});
}
</script>
</head>
<body>
@ -31,7 +36,7 @@
<span><pyhp echo="htmlgenerators.artistLinks(track['artists'])" /></span><br/>
<h1><pyhp echo="track['title']" /></h1> <pyhp if="info['certification'] is not None"><img class="certrecord" src="/media/record_{info['certification']}.png" title="This track has reached {info['certification'].capitalize()} status" /></pyhp> <span class="rank"><a href="/charts_tracks?max=100"><pyhp echo="positionstring" /></a></span>
<p class="stats"><pyhp if="adminmode"><span onclick="neo.xhttprequest('/api/newscrobble?{encodedtrack}key={apikey}').then(response=>{window.location.reload()});" class="button">Scrobble now</span> </pyhp><a href="/scrobbles?{encodedtrack}"><pyhp echo="info['scrobbles']" /> Scrobbles</a></p>
<p class="stats"><pyhp if="adminmode"><span onclick="scrobble('{encodedtrack}','{apikey}')" class="button">Scrobble now</span> </pyhp><a href="/scrobbles?{encodedtrack}"><pyhp echo="info['scrobbles']" /> Scrobbles</a></p>
<pyhp for="year" in="info['medals']['gold']"><a title="Best Artist in {year}" class="hidelink medal shiny gold" href='/charts_artists?max=50&amp;in={str(year)}'><span><pyhp echo="year" /></span></a></pyhp>