diff --git a/web/index.templ b/web/index.templ index b65c7f7..302e348 100644 --- a/web/index.templ +++ b/web/index.templ @@ -8,92 +8,92 @@ import "strconv" templ Index(currentPath, progVer string, stat *files.DirStat, entries *[]files.DirEntry, r *http.Request) { - - - - - - - - + + + + + + + + - Arav's dwelling / { i18n.T(ctx, "title") } + Arav's dwelling / { i18n.T(ctx, "title") } - - + + - - - - - -
- - Arav's dwelling - Welcome to my sacred place, wanderer - - -
-
-
- { i18n.T(ctx, "curpath-root") }@templ.Raw(currentPath) -

{ i18n.T(ctx, "stats.files") }: { strconv.FormatInt(stat.Files, 10) } ({ stat.FilesSize }); { i18n.T(ctx, "stats.directories") }: { strconv.FormatInt(stat.Directories, 10) }.

- -
-
- - - - - - + + + + + +
+ + Arav's dwelling + Welcome to my sacred place, wanderer + + +
+
+
+ { i18n.T(ctx, "curpath-root") }@templ.Raw(currentPath) +

{ i18n.T(ctx, "stats.files") }: { strconv.FormatInt(stat.Files, 10) } ({ stat.FilesSize }); { i18n.T(ctx, "stats.directories") }: { strconv.FormatInt(stat.Directories, 10) }.

+ +
+
+
{ i18n.T(ctx, "table.name") }{ i18n.T(ctx, "table.date") }{ i18n.T(ctx, "table.size") }
+ + + + + + + + + + + + for i, entry := range *entries { + + + + - - - - - - for i, entry := range *entries { - - - - - - } - -
{ i18n.T(ctx, "table.name") }{ i18n.T(ctx, "table.date") }{ i18n.T(ctx, "table.size") }
../
{ entry.Name }{ utils.ToClientTimezone(entry.Datetime, r).Format(files.FileDateFormat) }{ entry.Size }
../
{ entry.Name }{ utils.ToClientTimezone(entry.Datetime, r).Format(files.FileDateFormat) }{ entry.Size }
-
+ } + + + +
+ @templ.Raw(currentPath) +
+
- -
- -
- - - - - - -
- - + + + + +
+ +
+ + + + + + +
+ + } \ No newline at end of file