From be935a4f9fdc2ce254bc96a22f250b00980b20e2 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 27 Sep 2016 09:32:59 -0700 Subject: [PATCH] [DatFile] Make HTML output even nicer --- SabreTools.Helper/Objects/Dat/DatFile.cs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/SabreTools.Helper/Objects/Dat/DatFile.cs b/SabreTools.Helper/Objects/Dat/DatFile.cs index 69429ac4..a56889b1 100644 --- a/SabreTools.Helper/Objects/Dat/DatFile.cs +++ b/SabreTools.Helper/Objects/Dat/DatFile.cs @@ -4431,7 +4431,7 @@ namespace SabreTools.Helper line += "\n"; break; case StatOutputFormat.HTML: - line = "\t\t\t" + HttpUtility.HtmlEncode(FileName) + "" + line = "\t\t\t" + HttpUtility.HtmlEncode(FileName) + "" + "" + Style.GetBytesReadable(TotalSize) + "" + "" + (game == -1 ? Files.Count : game) + "" + "" + RomCount + "" @@ -5345,7 +5345,7 @@ namespace SabreTools.Helper // Output total DAT stats DatFile totaldata = new DatFile { - FileName = "ALL", + FileName = "DIR: All DATs", TotalSize = totalSize, RomCount = totalRom, DiskCount = totalDisk, @@ -5413,8 +5413,13 @@ Please check the log folder if the stats scrolled offscreen", false);
DAT Statistics Report +
- + "; break; @@ -5447,7 +5452,7 @@ Please check the log folder if the stats scrolled offscreen", false); + (baddumpCol ? ",\"BadDumps\"" : "") + (nodumpCol ? ",\"Nodumps\"" : "") + "\n"; break; case StatOutputFormat.HTML: - head = @" " + head = @" " + @"" + (baddumpCol ? "" : "") + (nodumpCol ? "" : "") + "\n"; break;
File NameTotal SizeGamesRoms
File NameTotal SizeGamesRomsDisks# with CRC# with MD5# with SHA-1BaddumpsNodumps