mirror of
https://github.com/riwiwa/muzi.git
synced 2026-02-28 11:56:57 -08:00
added webui lastfm importing, account sessions, partial codebase cleanup
This commit is contained in:
@@ -13,10 +13,15 @@
|
||||
<h1>{{.Username}}</h1>
|
||||
<h2>{{.Bio}}</h2>
|
||||
</div>
|
||||
<div class="user-stats-top">
|
||||
<h3>{{.ScrobbleCount}} Listens</h3>
|
||||
<h3>{{.ArtistCount}} Artists</h3>
|
||||
<div class="profile-top-blank">
|
||||
</div>
|
||||
<div class="user-stats-top">
|
||||
<h3>{{formatInt .ScrobbleCount}}</h3> <p>Listens<p>
|
||||
<h3>{{formatInt .ArtistCount}}</h3> <p>Artists<p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="profile-actions">
|
||||
<a href="/import" class="btn">Import Data</a>
|
||||
</div>
|
||||
<div class="history">
|
||||
<h3>Listening History</h3>
|
||||
@@ -38,8 +43,10 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="page_buttons">
|
||||
<a href="/profile/{{.Username}}?page={{Sub .Page 1}}">Prev Page</a>
|
||||
<a href="/profile/{{.Username}}?page={{Add .Page 1}}">Next Page</a>
|
||||
{{if gt .Page 1 }}
|
||||
<a href="/profile/{{.Username}}?page={{sub .Page 1}}">Prev Page</a>
|
||||
{{end}}
|
||||
<a href="/profile/{{.Username}}?page={{add .Page 1}}">Next Page</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user