1
0
Commit Graph

155 Commits

Author SHA1 Message Date
aa387e2021
Remove unused func AssetsGetFile(). 2024-12-30 15:58:41 +04:00
3bb26f397c
Localization of size units. 2024-12-30 15:45:23 +04:00
28488a75c2
Added a fool proof to remove a trailing slash of a base directoryPath. 2024-12-30 15:31:48 +04:00
73a3b16f29
Fixed benchmark for ScanDirectory(). 2024-12-30 15:30:51 +04:00
dac60a6010
Fixed a current path under the table. 2024-12-30 15:29:59 +04:00
034216efd4
CurrentPath() func was moved to index.templ and was renamed to currentPathToLink(). 2024-12-30 15:00:22 +04:00
dc2729ff91
Changed logic of ScanDirectory() func. 2024-12-30 14:58:03 +04:00
2c8a9e3e61
In Index template removed one tab level to save horizontal space. 2024-12-27 16:35:03 +04:00
c63d59f0a4
Move root path out from CurrentPath() func and localise it. 2024-12-27 16:31:16 +04:00
edd1d9f16d
Fixed usage for -file-handling option. 2024-12-27 16:30:45 +04:00
cec25f6c6a
In Makefile make run and install targets to compile a program first. 2024-12-27 16:30:09 +04:00
fdec858f48
Version set to 24.52.0. 2024-12-27 16:29:19 +04:00
aeccc9d629
Found out it makes an audio element to collapse in chrome-based browsers, and in firefox does nothing. Removed. 2024-12-21 17:12:40 +04:00
b5d2cf0537
Updated nginx.conf. 2024-12-11 01:00:28 +04:00
3083b361fa
Updated Go make dependency to >=1.21. 2024-12-11 00:51:18 +04:00
0a642d7135
Removed go:generate for jade from web.go. 2024-12-11 00:49:52 +04:00
c220de36a2
Set version to 24.50.0. 2024-12-11 00:43:55 +04:00
c6806b664f
Add padding for overlay label and autoplay. 2024-12-11 00:40:59 +04:00
77f79c4fb4
Text for instruction was added. 2024-12-11 00:32:09 +04:00
0bc11dd5f2
Set overlay_autoplay to saved state. Also add a missing semicolon. :) 2024-12-11 00:30:56 +04:00
ebcc15dc7b
Updated go.{mod,sum}. 2024-12-10 23:29:09 +04:00
3589eb591e
*_formats consts were moved in-place. 2024-12-10 23:28:50 +04:00
9463774aee
Better russian label for autoplay. 2024-12-10 23:28:16 +04:00
3ad3945e7b
Some refactoring in main.js. 2024-12-10 22:47:54 +04:00
4d40896376
Store autoplay state in localStorage. 2024-12-10 22:23:07 +04:00
e34e8dddb9
Autoplay functionality was implemented. 2024-12-10 22:20:39 +04:00
06213c9b05
A place for instruction was added. 2024-12-10 22:20:13 +04:00
bbe619ccce
Updated overlay. 2024-12-10 01:17:09 +04:00
2e861a9fb9
Updated go.mod/.sum. 2024-12-08 04:15:02 +04:00
c1a8a962c3
Updated version in PKGBUILD. 2024-12-08 04:14:47 +04:00
92447ada12
Updated .gitignore jade was replaced with templ. 2024-12-08 04:14:29 +04:00
40d18b0a17
Updated Makefile. 2024-12-08 04:14:09 +04:00
470b371503
Updated main.js. A new feature was added that allows to move images and videos. But currently not working for videos. 2024-12-08 04:13:57 +04:00
ce1354c509
Added locales. 2024-12-08 04:11:23 +04:00
bfbf5c42a6
A templ index template was added. 2024-12-08 04:11:00 +04:00
b05ddb6971
Removed jade templates. 2024-12-08 04:10:03 +04:00
cbf7738367
Handlers were moved to main.go. 2024-12-08 04:09:12 +04:00
df3ea75ca9
Added a benchmark for ScanDirectory(). 2023-09-20 04:56:08 +04:00
cbe0292e4c
Before allocation of these three vars try to read a dir first. 2023-09-20 04:55:38 +04:00
d6463e81e8
A struct DirStats was renamed to DirStat. 2023-09-20 04:07:24 +04:00
99e39fc6c1
Added FLAGS, reorganised targets ${TARGET} and web/*.jade.go. Removed all target. Added clean .PHONY target, removed ${TARGET} from .PHONY. In web/*.jade.go added check for jade executable existence. 2023-09-20 04:06:54 +04:00
5cc9b12030
Updated httpr to v0.3.2. 2023-09-20 04:04:09 +04:00
8b39e60a01
Reorganised CSS. Set min-height for body to 100vh. 2023-08-23 04:49:30 +04:00
c06eaecbfc
Removed unused ids. 2023-08-23 04:40:39 +04:00
f23e4d713b
Moved error styling to main.css. 2023-08-23 04:40:23 +04:00
1a5d32f1b9
Put my full name in a footer. 2023-08-23 04:33:45 +04:00
775eef657e
Removed id and classes from a logo. 2023-08-23 04:31:57 +04:00
06961fc7c4
Return an error text message if file handling is turned off. 2023-08-23 04:23:51 +04:00
391f589a90
Version set to 23.32.0. 2023-08-13 04:06:34 +04:00
404f88c099
Fix for double slashes. 2023-08-13 03:18:17 +04:00