From 0e7ec3dfb350166aac642c09ebabc994c723798a Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Wed, 4 Dec 2019 11:27:08 +0000 Subject: [PATCH] move css to its own file --- webui/build.gradle | 1 + webui/src/main/css/muwire.css | 24 ++++++++++++++++++++++++ webui/src/main/webapp/Home.jsp | 27 +-------------------------- 3 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 webui/src/main/css/muwire.css diff --git a/webui/build.gradle b/webui/build.gradle index 1d7fc6f8..0b1019d7 100644 --- a/webui/build.gradle +++ b/webui/build.gradle @@ -13,6 +13,7 @@ dependencies { } war { + from 'src/main/css' webInf { from "$buildDir/compiledJsps" into "classes" diff --git a/webui/src/main/css/muwire.css b/webui/src/main/css/muwire.css new file mode 100644 index 00000000..c1f2f952 --- /dev/null +++ b/webui/src/main/css/muwire.css @@ -0,0 +1,24 @@ + #table-wrapper { + position:relative; + } + #table-scroll { + height:150px; + overflow:auto; + margin-top:20px; + } + #table-wrapper table { + width:100%; + + } + #table-wrapper table * { + background:yellow; + color:black; + } + #table-wrapper table thead th .text { + position:absolute; + top:-20px; + z-index:2; + height:20px; + width:35%; + border:1px solid red; + } diff --git a/webui/src/main/webapp/Home.jsp b/webui/src/main/webapp/Home.jsp index 075b3be0..e4f039cd 100644 --- a/webui/src/main/webapp/Home.jsp +++ b/webui/src/main/webapp/Home.jsp @@ -20,6 +20,7 @@ MuWire ${version} + @@ -47,32 +48,6 @@

- <% if (groupBy.equals("sender")) { %>
Group By File
<% } else { %>