move css to its own file

pull/34/head
Zlatin Balevsky 2019-12-04 11:27:08 +00:00
parent 0188bd34a9
commit 0e7ec3dfb3
3 changed files with 26 additions and 26 deletions

View File

@ -13,6 +13,7 @@ dependencies {
} }
war { war {
from 'src/main/css'
webInf { webInf {
from "$buildDir/compiledJsps" from "$buildDir/compiledJsps"
into "classes" into "classes"

View File

@ -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;
}

View File

@ -20,6 +20,7 @@
<html> <html>
<head> <head>
<title>MuWire ${version}</title> <title>MuWire ${version}</title>
<link rel="stylesheet" href="/MuWire/muwire.css">
</head> </head>
<body> <body>
<table width="100%"> <table width="100%">
@ -47,32 +48,6 @@
</tr> </tr>
</table> </table>
<hr/> <hr/>
<style>
#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;
}
</style>
<% if (groupBy.equals("sender")) { %> <% if (groupBy.equals("sender")) { %>
<center><a href="/MuWire/Home.jsp?groupBy=file">Group By File</a></center> <center><a href="/MuWire/Home.jsp?groupBy=file">Group By File</a></center>
<% } else { %> <% } else { %>