Changeset 10:5d6592e753c0

Show
Ignore:
Timestamp:
05/28/09 21:19:06 (9 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

HTML → JSP: Přechod k aplikaci.

Location:
java/sql-vyuka
Files:
2 added
5 modified
14 copied

Legend:

Unmodified
Added
Removed
  • java/sql-vyuka/nbproject/genfiles.properties

    r8 r10  
    1 build.xml.data.CRC32=567829be 
     1build.xml.data.CRC32=781cf957 
    22build.xml.script.CRC32=0f264e43 
    33build.xml.stylesheet.CRC32=c0ebde35 
    44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 
    55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 
    6 nbproject/build-impl.xml.data.CRC32=567829be 
     6nbproject/build-impl.xml.data.CRC32=781cf957 
    77nbproject/build-impl.xml.script.CRC32=b0e42421 
    88nbproject/build-impl.xml.stylesheet.CRC32=174458fc 
  • java/sql-vyuka/nbproject/project.properties

    r8 r10  
    1313debug.test.classpath=\ 
    1414    ${run.test.classpath} 
    15 display.browser=true 
     15display.browser=false 
    1616dist.dir=dist 
    1717dist.ear.war=${dist.dir}/${war.ear.name} 
     
    5050jspcompilation.classpath=${jspc.classpath}:${javac.classpath} 
    5151lib.dir=${web.docbase.dir}/WEB-INF/lib 
    52 no.dependencies=false 
    5352persistence.xml.dir=${conf.dir} 
    5453platform.active=default_platform 
  • java/sql-vyuka/nbproject/project.xml

    r8 r10  
    99            <web-module-additional-libraries/> 
    1010            <source-roots> 
    11                 <root id="src.dir" name="Source Packages"/> 
     11                <root id="src.dir"/> 
    1212            </source-roots> 
    1313            <test-roots> 
    14                 <root id="test.src.dir" name="Test Packages"/> 
     14                <root id="test.src.dir"/> 
    1515            </test-roots> 
    1616        </data> 
  • java/sql-vyuka/src/java/cz/frantovo/sql/vyuka/preklady_cs.properties

    r9 r10  
    99tlacitko.historie.tip=Vyp\u00ED\u0161e historii SQL p\u0159\u00EDkaz\u016F. 
    1010tlacitko.vykonat.tip=Vykon\u00E1 zadan\u00FD SQL p\u0159\u00EDkaz. 
     11 
     12vychozi.sql=SELECT * FROM tabulka; 
     13vychozi.vysledek=V\u00EDtejte v programu SQL v\u00FDuka! 
     14vychozi.napoveda=Tady bude n\u00E1pov\u011Bda 
  • java/sql-vyuka/web/index.jsp

    r8 r10  
    1 <%--  
    2     Document   : index 
    3     Created on : 24.5.2009, 16:54:56 
    4     Author     : fiki 
    5 --%> 
     1<%@page contentType="text/html" pageEncoding="UTF-8"%> 
     2<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
     3<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
     4<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    65 
    7 <%@page contentType="text/html" pageEncoding="UTF-8"%> 
    8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
    9    "http://www.w3.org/TR/html4/loose.dtd"> 
     6<fmt:setBundle basename="cz.frantovo.sql.vyuka.preklady" scope="application"/> 
    107 
    11 <html> 
     8<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"> 
    129    <head> 
    13         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    14         <title>JSP Page</title> 
     10        <meta http-equiv="content-language" content="cs"/> 
     11        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> 
     12        <link href="styl.css" type="text/css" rel="StyleSheet"/> 
     13        <script type="text/javaScript" src="hlavni.js"></script> 
     14        <title><fmt:message key="nazev"/></title> 
    1515    </head> 
    1616    <body> 
    17         <h1>Hello World!</h1> 
     17 
     18        <jsp:include page="WEB-INF/casti/aplikace.jspx" flush="false"/> 
     19 
    1820    </body> 
    1921</html> 
  • java/sql-vyuka/web/styl.css

    r7 r10  
    7575 
    7676#vstup button.zobrazitHistorii { 
    77     background-image: url('grafika/historie.png'); 
     77    background-image: url('grafika/tlacitko-historie.png'); 
    7878    background-color: transparent; 
    7979    background-position: center;