diff --git a/web/index.jade.go b/web/index.jade.go index cd1685f..c05ea27 100644 --- a/web/index.jade.go +++ b/web/index.jade.go @@ -13,17 +13,18 @@ import ( const ( index__0 = `Arav's dwelling / Files
` + index__1 = `">Back to main website

Files

` index__2 = `

Files: ` index__3 = ` (` index__4 = `); Directories: ` index__5 = `.

` - index__6 = `
NameDateSize
../

In an overlay you can use your mouse wheel to change scale of a video or an image. An audio volume is being kept across files on a current page. No cookie or local storage are being used.

Privacy statements

I collect access logs that include access date and time, IP-address, User-Agent, referer URL that tells me where have you came from, request that you sent to me. In addition there are GeoIP information added based on your IP-address that includes country, region, and city for my convenience.

This site makes use of JavaScript purely for convenient functionality, like being able to watch video, listen to music, and look images in an overlay without the need to open a file in a new tab or return back.

` - index__7 = `` - index__9 = `` - index__10 = `` - index__11 = `` + index__6 = `
` + index__7 = `

In an overlay you can use your mouse wheel to change scale of a video or a picture. An audio volume is being kept across site using LocalStorage API.

Privacy statements

I collect access logs that include access date and time, IP-address, User-Agent, referer URL that tells me where have you came from, request that you sent to me. In addition there are GeoIP information added based on your IP-address that includes country, region, and city for my convenience.

This site makes use of JavaScript purely for convenient functionality, like being able to watch video, listen to music, and look images in an overlay without the need to open a file in a new tab or return back.

` + index__8 = `` + index__10 = `` + index__11 = `` + index__12 = `` ) func Index(mainSite, currentPath string, stats *files.DirStats, items *[]files.DirEntry, r *http.Request, wr io.Writer) { @@ -42,17 +43,19 @@ func Index(mainSite, currentPath string, stats *files.DirStats, items *[]files.D buffer.WriteString(index__5) for _, item := range *items { - buffer.WriteString(index__7) - buffer.WriteString(html.EscapeString(fmt.Sprintf("%v", item.Link))) buffer.WriteString(index__8) - buffer.WriteString(html.EscapeString(fmt.Sprintf("%v", item.Name))) + buffer.WriteString(html.EscapeString(fmt.Sprintf("%v", item.Link))) buffer.WriteString(index__9) - buffer.WriteString(utils.ToClientTimezone(item.Datetime, r).Format(files.FileDateFormat)) + buffer.WriteString(html.EscapeString(fmt.Sprintf("%v", item.Name))) buffer.WriteString(index__10) - buffer.WriteString(html.EscapeString(fmt.Sprintf("%v", item.Size))) + buffer.WriteString(utils.ToClientTimezone(item.Datetime, r).Format(files.FileDateFormat)) buffer.WriteString(index__11) + buffer.WriteString(html.EscapeString(fmt.Sprintf("%v", item.Size))) + buffer.WriteString(index__12) } buffer.WriteString(index__6) + buffer.WriteString(currentPath) + buffer.WriteString(index__7) }