diff --git a/out/DIRECTORY_LISTING b/out/DIRECTORY_LISTING index d9f0189..fda7084 100644 --- a/out/DIRECTORY_LISTING +++ b/out/DIRECTORY_LISTING @@ -18,12 +18,12 @@
-
articles 2022-05-04T18:44:57.634585Z gitpod 116

-
codeBackground 2022-05-04T18:44:57.606585Z gitpod 2635

-
otherpage.html 2022-05-04T18:44:57.614585Z gitpod 901

-
reset.css 2022-05-04T18:44:57.618585Z gitpod 1093

-
sig.css 2022-05-04T18:44:57.626585Z gitpod 3652

-
testfile.html 2022-05-04T18:44:57.626585Z gitpod 829

+

Directory Listing for /

📁.. (Previous Directory)
📁articles 2022-05-04T19:35:50.868925Z gitpod 116
+
🗎codeBackground 2022-05-04T19:35:50.828925Z gitpod 2635
+
🗎otherpage.html 2022-05-04T19:35:50.836925Z gitpod 901
+
🗎reset.css 2022-05-04T19:35:50.840925Z gitpod 1093
+
🗎sig.css 2022-05-04T19:35:50.852925Z gitpod 4314
+
🗎testfile.html 2022-05-04T19:35:50.856925Z gitpod 829
diff --git a/out/articles/DIRECTORY_LISTING b/out/articles/DIRECTORY_LISTING index bb9afce..50e251d 100644 --- a/out/articles/DIRECTORY_LISTING +++ b/out/articles/DIRECTORY_LISTING @@ -18,9 +18,9 @@
-
curabitur vel tempus ex.article 2022-05-04T18:44:57.590585Z gitpod 618

-
sigplace1.article 2022-05-04T18:44:57.594585Z gitpod 1559

-
test articles 2022-05-04T18:44:57.446585Z gitpod 69

+

Directory Listing for /articles/

📁.. (Previous Directory)
🗎curabitur vel tempus ex.article 2022-05-04T19:35:50.808925Z gitpod 618
+
🗎sigplace1.article 2022-05-04T19:35:50.812925Z gitpod 1559
+
📁test articles 2022-05-04T19:35:50.716925Z gitpod 69
diff --git a/out/articles/test articles/DIRECTORY_LISTING b/out/articles/test articles/DIRECTORY_LISTING index 1892149..92666e3 100644 --- a/out/articles/test articles/DIRECTORY_LISTING +++ b/out/articles/test articles/DIRECTORY_LISTING @@ -18,9 +18,9 @@
-
test1.article 2022-05-04T18:44:57.598585Z gitpod 1111

-
test2.article 2022-05-04T18:44:57.598585Z gitpod 807

-
test3.article 2022-05-04T18:44:57.602585Z gitpod 1020

+

Directory Listing for /articles/test articles/

📁.. (Previous Directory)
🗎test1.article 2022-05-04T19:35:50.816925Z gitpod 1111
+
🗎test2.article 2022-05-04T19:35:50.820925Z gitpod 807
+
🗎test3.article 2022-05-04T19:35:50.820925Z gitpod 1020
diff --git a/out/sig.css b/out/sig.css index 3bf8d84..4878af0 100644 --- a/out/sig.css +++ b/out/sig.css @@ -1,3 +1,33 @@ + + +a:link{ + color:#D7F; + font-size:0.8em; +} +a:visited{ + color:#D7F; + font-size:0.8em; +} +a:hover{ + color:white; + font-size:0.8em; +} + + a.nounderline:link{ + text-decoration:none; + } + + a.nounderline:visited{ + text-decoration:none; + } + a.nounderline:hover{ + text-decoration:none; + } + +h2{ + font-size:3em; +} + .generateTime{ font-size:10px; color:blue; @@ -131,3 +161,19 @@ body{ padding:12px 4px 2px 4px; font-size:1.75em; } + + .contentBody .folderlisting{ + padding:12px 4px 2px 4px; + font-size:1.75em; + } + + .contentBody .icon:link{ + text-decoration:none; + } + + .contentBody .icon:visited{ + text-decoration:none; + } + .contentBody .icon:hover{ + text-decoration:none; + } diff --git a/sigPlace.java b/sigPlace.java index 8b1cca4..f1c4e8d 100644 --- a/sigPlace.java +++ b/sigPlace.java @@ -171,8 +171,19 @@ public class sigPlace { } sb.append(d).append("\n"); } + sb.append("

Directory Listing for "+key+"

"); + sb.append("
📁.. (Previous Directory)
"); for (Path f : map.get(key)) { sb.append("
") + .append("") + .append((Files.isDirectory(f)?"📁":"🗎")) + .append("") .append("") .append(f.getFileName()) .append("\t") diff --git a/sitefiles/sig.css b/sitefiles/sig.css index 7e12255..3d3b83c 100644 --- a/sitefiles/sig.css +++ b/sitefiles/sig.css @@ -1,3 +1,33 @@ + + +a:link{ + color:#D7F; + font-size:0.8em; +} +a:visited{ + color:#D7F; + font-size:0.8em; +} +a:hover{ + color:white; + font-size:0.8em; +} + + a.nounderline:link{ + text-decoration:none; + } + + a.nounderline:visited{ + text-decoration:none; + } + a.nounderline:hover{ + text-decoration:none; + } + +h2{ + font-size:3em; +} + .generateTime{ font-size:10px; color:blue; @@ -130,4 +160,20 @@ body{ .contentBody .filelisting{ padding:12px 4px 2px 4px; font-size:1.75em; + } + + .contentBody .folderlisting{ + padding:12px 4px 2px 4px; + font-size:1.75em; + } + + .contentBody .icon:link{ + text-decoration:none; + } + + .contentBody .icon:visited{ + text-decoration:none; + } + .contentBody .icon:hover{ + text-decoration:none; } \ No newline at end of file