1
0
Commit Graph

105 Commits

Author SHA1 Message Date
7e9e641330
Probably a successful attempt to fix an SVG logo sizing. 2024-06-19 00:09:54 +04:00
e5d1c6be8d
Remove unused .right class from main.css. 2024-06-18 19:51:28 +04:00
c8c153cd62
Don't print a hyphen in place of a song. 2024-05-16 01:43:59 +04:00
69f24a6b7b
Make use of the new icons, also add some styling for them. 2024-05-16 00:15:52 +04:00
38c3e11b07
Added new SVG icons, also optimised by removing unnecessary <?xml... ?> header. 2024-05-16 00:15:02 +04:00
154682ea4f
A page layout was changed. 2024-05-12 03:58:35 +04:00
a374dfd510
Changed layout for a song info. 2024-05-11 05:35:14 +04:00
5d042cdb3a
Fixed Last N songs section. 2024-05-11 05:34:32 +04:00
056f2c022b
max_listeners -> peak_listeners. 2024-05-11 05:05:27 +04:00
904af3107a
Show overall and peak numbers of listeners for a currently playing song. 2024-05-11 05:03:20 +04:00
872e8f4978
A MaxListeners field of a Song struct was renamed to a more logically appropriate PeakListeners. 2024-05-11 04:52:40 +04:00
3b22643733
In an index.templ a range for was replaced by good old C-style for loop to prevent copying by value, and to get rid of that warning about mutex copy. 2024-05-10 04:59:18 +04:00
23f53609ae
Forgot to add preload="none", controls and playsinline to an audio tag. 2024-05-10 04:37:25 +04:00
c49c5b0112
No need in URL escaping since these links are safe already, so just cast them to SafeURL. 2024-05-10 02:48:47 +04:00
0a55b115fb
In main.js fixed a bug and removed a multiplication by 100 for volume control. 2024-05-10 02:23:09 +04:00
fb5c46381e
Remove a comment at the end of index.templ. 2024-05-10 00:13:12 +04:00
670b6ea032
Jade was replaced with Templ. Also some changes were made to a layout. A ServeAsset() handler was introduced. 2024-05-10 00:11:33 +04:00
0244f6afd5
A unified ServeAsset() func was introduced. AssetsGetFile() now will panic if a file doesn't exists, because it must not be the case. 2024-04-20 18:54:05 +04:00
34d4da946b
In sitemap.xml updated a loc's lastmod for an index page. 2024-03-06 04:33:30 +04:00
10ca532844
2023 -> 2024 in a footer. 2024-03-06 04:31:46 +04:00
8c0d070b41
Fixed a notice, since now info is being updated on a song reach its end. 2024-03-06 04:31:19 +04:00
78b2740c58
Make a radio volume slider vertical on chrome and chrome-like browsers. 2024-03-06 04:21:53 +04:00
0bd91c3c1f
Adding a muted attribute to a video tag makes it actually play on chrome and chrome-like browsers. 2024-03-06 04:20:43 +04:00
bc85efb3db
In main.js just call updateStatus() without waiting if there is a current song. 2023-10-09 01:44:46 +04:00
3ba47c2d41
Updated sitemap.xml. 2023-10-09 00:12:32 +04:00
7f1a49ec91
In main.js also update MLS. 2023-10-08 04:09:41 +04:00
2ea21e12b2
In index.pug added ids for MLS fields. 2023-10-08 04:09:05 +04:00
0d8032da46
MostListenedSong was rewritten. 2023-10-08 00:52:40 +04:00
131ea35341
A reduntant method Song.ArtistTitle() was removed. 2023-10-07 21:31:00 +04:00
4a4c228984
In main.js added a call to updateStatus() before starting an interval. 2023-10-07 21:30:19 +04:00
65ec8c1db2
In index.pug avoid nil pointer dereferencing. 2023-10-07 05:35:16 +04:00
f0420e9bcd
main.js was rewritten and now it displays estimate and total duration of a current song. 2023-10-07 05:33:57 +04:00
238705b00f
In an index.pug file make a copy of a current song for thread safety. 2023-10-07 05:25:13 +04:00
c33ff03bd8
Updated using of SongList.Current() in an index.pug file. 2023-10-05 18:53:57 +04:00
6ce4700420
In index.pug: songList.Len() was replaced with songList.MaxLen(). 2023-10-04 18:15:09 +04:00
20b8b62b73
In an index.pug file added a tbody tag to a table. 2023-10-02 18:20:07 +04:00
c2c8c82212
Updated main.js. Added a new update() function that does everything. Not completed yet. 2023-10-02 03:56:57 +04:00
35429e57d2
In an index.pug added span#radio-duration. 2023-10-02 03:55:51 +04:00
3e0a1fe181
Updated index.pug. 2023-10-02 03:19:48 +04:00
21f48e2366
Don't show elapsed time under a play button. 2023-08-22 17:11:15 +04:00
8a5666743f
Further code shortening in main.js! 2023-08-22 16:50:27 +04:00
790b08e22c
Changed formatting in main.js. Also innerText was replaced with textContent. 2023-08-22 16:37:00 +04:00
28c2cf21a0
$() func was made into an arrow func. 2023-08-22 16:35:43 +04:00
bc9437cd2c
Replaced everything with id. Also #last-played renamed to #last-songs. Everything in #player got a prefix radio-. 2023-08-22 04:37:17 +04:00
5e247f8d5c
Refactored main.js. 2023-08-22 04:18:30 +04:00
82e2720156
Removed excessive div. 2023-08-22 04:18:05 +04:00
3120855858
In updateLastPlayedSong ' symbol replaced by ". 2023-08-22 03:41:09 +04:00
696bcb9e89
Removed unused radio-status from JS. 2023-08-22 03:40:48 +04:00
865bdd7eca
For update button replaced getElementById with getElementsByName. 2023-08-22 03:40:09 +04:00
472a68768c
Updated player's JS. 2023-08-22 03:39:29 +04:00