From c06eaecbfc4eaa562ee44bd7cb5316904b7d0649 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 23 Aug 2023 04:40:39 +0400 Subject: [PATCH] Removed unused ids. --- web/templates/index.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/templates/index.jade b/web/templates/index.jade index 881a85c..17e6048 100644 --- a/web/templates/index.jade +++ b/web/templates/index.jade @@ -8,7 +8,7 @@ block content :go:func Index(title, mainSite, currentPath string, stats *files.DirStats, items *[]files.DirEntry, r *http.Request) :go:import "dwelling-files/pkg/files" :go:import "dwelling-files/pkg/utils" - section#files + section span!= currentPath p Files: #{stats.Files} (#{stats.FilesSize}); Directories: #{stats.Directories}. input.hidden(type="text", name="filter" placeholder="Type in to filter this directory (case insensitive)") @@ -28,7 +28,7 @@ block content td= item.Size section span!= currentPath - section#usage + section p On a page use up and down arrow keys to navigate through list. Use home and end keys to go to the start and end of a list. Use Ctrl+Backspace to return to a parent directory. p In an overlay use a mouse wheel to change a scale of a video or a picture. Use left and right arrow keys to go through media. Use space key to toggle pause. Use escape key to close an overlay, or click outside a media. An audio volume is being kept across site using LocalStorage API. div#overlay