java/nekurak.net-web/web/index.jsp
author František Kučera <franta-hg@frantovo.cz>
Thu, 25 Feb 2010 02:41:57 +0100
changeset 39 ea342cf8c15a
parent 38 a2ca6c1804d1
child 40 67d332d48562
permissions -rw-r--r--
Přestavba EJB, pročištění starých ukázek, web.
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
     3 	  xmlns:c="http://java.sun.com/jsp/jstl/core"
     4 	  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
     5 	  version="2.0">
     6     <jsp:directive.page contentType="application/xhtml+xml"/>
     7     <jsp:output doctype-system="http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd"
     8 		doctype-root-element="html"
     9 		omit-xml-declaration="false"/>
    10 
    11     <!-- <lokalizace> -->
    12     <c:if test="${param.jazyk != null}">
    13 	<fmt:setLocale value="${param.jazyk}"/>
    14     </c:if>
    15     <fmt:setBundle basename="cz.frantovo.nekurak.preklady" scope="application"/>
    16     <!-- </lokalizace> -->
    17 
    18     <html xmlns="http://www.w3.org/1999/xhtml"
    19 	  xmlns:svg="http://www.w3.org/2000/svg"
    20 	  xmlns:xlink="http://www.w3.org/1999/xlink">
    21 	<head>
    22 	    <title><fmt:message key="nazev"/></title>
    23 	    <link href="styl.css" type="text/css" rel="StyleSheet"/>
    24 	</head>
    25 	<body>
    26 	    <div class="body">
    27 
    28 		<div id="horniPruh">
    29 		    <h1><fmt:message key="nazev"/></h1>
    30 		</div>
    31 
    32 		<ul id="nabidka">
    33 		    <li><a href="#">Úvod</a></li>
    34 		    <li><a href="#">Přidat podnik</a></li>
    35 		    <li><a href="#">Přihlásit se</a></li>
    36 		</ul>
    37 
    38 		<div id="obsah">
    39 
    40 		    <c:choose>
    41 			<c:when test="${param.akce == 'detail'}">
    42 
    43 			</c:when>
    44 			<c:otherwise>
    45 			    <jsp:include page="WEB-INF/casti/uvod.jsp" flush="false"/>
    46 			</c:otherwise>
    47 		    </c:choose>
    48 
    49 		</div>
    50 
    51 		<div id="paticka">
    52 		    <p>
    53 			© 2010 nekurak.net. Licence: Affero GPL.
    54 			<a href="nekurak.net-src.zip">nekurak.net-src.zip</a>
    55 			<a href="nekurak.net-src.zip.SHA-512">.</a>
    56 		    </p>
    57 		</div>
    58 
    59 	    </div>
    60 	</body>
    61     </html>
    62 
    63 </jsp:root>