diff --git a/archiva-modules/archiva-web/archiva-webdav/pom.xml b/archiva-modules/archiva-web/archiva-webdav/pom.xml
index 9a8c2d61c..f1ba0a44b 100644
--- a/archiva-modules/archiva-web/archiva-webdav/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webdav/pom.xml
@@ -277,6 +277,7 @@
src/test/resources/archiva-mime-types.txt
src/test/resources/artifact.jar.sha1
src/test/resources/maven-metadata.xml
+ nbactions.xml
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java
index 13a3b2f4b..f4e21ae49 100644
--- a/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java
+++ b/archiva-modules/archiva-web/archiva-webdav/src/main/java/org/apache/archiva/webdav/util/IndexWriter.java
@@ -94,12 +94,14 @@ public class IndexWriter
relative.append("../");
}
}
- writer.println( ".file{list-style-image:url(" + relative.toString() + "images/package-x-generic.png);}" );
- writer.println( ".folder{list-style-image:url(" + relative.toString() + "images/folder.png);}" );
- writer.println( "a{color: #0088CC;text-decoration: none;}" );
- writer.println( ".collection li:nth-child(odd){background-color:#fafafa;}" );
- writer.println( ".size{position:absolute;left:500px;color:#cc8800;}" );
- writer.println( ".date{position:absolute;left:600px;color:#0000cc;}" );
+ writer.println( ".file{background:url(" + relative.toString() + "images/package-x-generic.png) no-repeat scroll 0 0 transparent;}" );
+ writer.println( ".folder{background:url(" + relative.toString() + "images/folder.png) no-repeat scroll 0 0 transparent;}" );
+ writer.println( "a{color:#0088CC;text-decoration: none;padding-left:20px;}" );
+ writer.println( ".collection tr:nth-child(odd){background-color:#fafafa;}" );
+ writer.println( "tr td:nth-child(2){width:150px;color:#cc8800;text-align:right;}" );
+ writer.println( "tr td:nth-child(3){width:150px;color:#0000cc;text-align:center;}" );
+ writer.println( "th td:nth-child(2){width:150px;}" );
+ writer.println( "th td:nth-child(3){width:150px;}" );
writer.println( "" );
writer.println( "" );
writer.println( "
" );
@@ -115,16 +117,17 @@ public class IndexWriter
parentName = StringUtils.replace( parentName, "\\", "/" );
writer.println( "" );
}
- writer.println( "" );
+ writer.println( "" );
+ writer.println( "Name | Size (Bytes) | Last Modified |
" );
}
private void writeDocumentEnd( PrintWriter writer )
{
- writer.println( "" );
+ writer.println( "
" );
writer.println( "" );
writer.println( "