From 176f38070d25b80360227e18961d50f36808cf71 Mon Sep 17 00:00:00 2001 From: gaoxiong Date: Thu, 15 Apr 2021 17:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9txt=E3=80=81log=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E5=A4=AA=E5=A4=9A=E6=96=87=E4=BB=B6=E5=AE=9E=E7=8E=B0html?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/main/resources/web/txt.ftl | 358 +++++++++++++++++++++++++- 1 file changed, 347 insertions(+), 11 deletions(-) diff --git a/server/src/main/resources/web/txt.ftl b/server/src/main/resources/web/txt.ftl index 50cbf23c..f994d4a2 100644 --- a/server/src/main/resources/web/txt.ftl +++ b/server/src/main/resources/web/txt.ftl @@ -3,12 +3,348 @@ - 普通文本预览 + ${file.name}普通文本预览 <#include "*/commonHeader.ftl"> - +<#if "${file.suffix?html}" == "txt" || "${file.suffix?html}" == "log" || "${file.suffix?html}" == "TXT" || "${file.suffix?html}" == "LOG"> + + + +
+
+ +
+
+ +
+
+
+
+
+
+ + + + + + <#else/>
@@ -25,15 +361,7 @@
- + +