use larger font for directory links
[meviz.git] / src / main / java / eu / svjatoslav / meviz / htmlindexer / layouts / MixedLayout.java
index 29e5b00..915c7c8 100755 (executable)
@@ -1,7 +1,7 @@
 /*
  * Meviz - Various tools collection to work with multimedia.
  * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
- * 
+ *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public License
  * as published by the Free Software Foundation.
@@ -62,7 +62,7 @@ public class MixedLayout implements Layout {
                dirHtml.append("<TR>");
                dirHtml.append("<TD><b><a href=\""
                                + indexer.getDirectoryUrl(directory, indexingContext)
-                               + "\"> ==&gt; " + directory.fileName + "</a></b></TD>");
+                               + "\"><h2> ==&gt; " + directory.fileName + "</h2></a></b></TD>");
                dirHtml.append("</TR>\n");
 
        }
@@ -169,17 +169,6 @@ public class MixedLayout implements Layout {
                                                                + "/" + file.fileName) + "\">\n");
                filesHtml.append("</source>\n");
 
-               // if browser cannot play video directry, fall back to java Applet
-               filesHtml
-                               .append("<applet code=\"com.fluendo.player.Cortado.class\" archive=\"http://theora.org/cortado.jar\" width=\"800\" height=\"600\">\n");
-               filesHtml.append("    <param name=\"url\" value=\""
-                               + indexingContext.getGlobalUrl()
-                               + UrlParamEncoder.encode(indexingContext.getLocalUrl() + "/"
-                                               + file.fileName) + "\"/>\n");
-               filesHtml.append("    <param name=\"keepAspect\" value=\"true\"/>\n");
-               filesHtml.append("    <param name=\"autoPlay\" value=\"false\"/>\n");
-               filesHtml.append("</applet>\n");
-
                filesHtml.append("</video>\n");
 
                filesHtml.append("<br/>\n");
@@ -255,7 +244,7 @@ public class MixedLayout implements Layout {
                        finalHtml.append("<TR>");
                        finalHtml.append("<TD><b><a href=\""
                                        + indexer.getParentDirectoryUrl(indexingContext)
-                                       + "\"> &lt;== ..</a></b></TD>");
+                                       + "\"><h2> &lt;== parent directory</h2></a></b></TD>");
                        finalHtml.append("</TR>\n");
                }