1
0
Commit Graph

118 Commits

Author SHA1 Message Date
2179d74239
Updated @media and removed max-width for a video banner. 2024-06-25 04:14:51 +04:00
812af85f63
Changed a message in an audio element for in case it is not supported by a browser. 2024-06-25 03:52:38 +04:00
41aea2112a
For note.svg the missing alt and title attrs were added. 2024-06-25 03:02:37 +04:00
3a9f39f7a8
listener.svg was renamed to headphones.svg. 2024-06-25 03:01:55 +04:00
3d7e3b0193
Spaces was converted to tabs in templ. 2024-06-20 01:38:28 +04:00
398b38561a
Updated template. 2024-06-20 01:30:15 +04:00
d1bd7982ce
Reorganise imports in a template. 2024-06-20 00:50:37 +04:00
e3f7b10200
Add shadow to a play button. 2024-06-20 00:49:31 +04:00
c7ca05401f
Forgot to set a text color of logo. 2024-06-19 03:07:15 +04:00
99ef685e5e
Well, still need to detect a browser, at least, just a Firefox, found a way that doesn't trigger on chromium. 2024-06-19 01:30:01 +04:00
293e1a3126
Simplified a for loop for last songs list. 2024-06-19 01:03:51 +04:00
9b959eb7ab
Updated a play button. 2024-06-19 00:52:55 +04:00
5bc653f50a
Use writing-mode + direction instead of a deprecated appearance approach to make a range input vertical. 2024-06-19 00:10:54 +04:00
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