# HG changeset patch
# User František Kučera
# Date 1236436573 -3600
# Node ID 43a6e33a4854adb6a694dae6bdd5083dd246a63a
# Parent f6b8c00ef3d305139b0672025cc2767604158732
Logo, Kaptcha (captcha) a vylepšený formulář
diff -r f6b8c00ef3d3 -r 43a6e33a4854 java/UpozorneniEmailem/nbproject/build-impl.xml
--- a/java/UpozorneniEmailem/nbproject/build-impl.xml Sat Mar 07 14:12:27 2009 +0100
+++ b/java/UpozorneniEmailem/nbproject/build-impl.xml Sat Mar 07 15:36:13 2009 +0100
@@ -498,10 +498,15 @@
+
-
+
+
+
-
+
+
+
diff -r f6b8c00ef3d3 -r 43a6e33a4854 java/UpozorneniEmailem/nbproject/genfiles.properties
--- a/java/UpozorneniEmailem/nbproject/genfiles.properties Sat Mar 07 14:12:27 2009 +0100
+++ b/java/UpozorneniEmailem/nbproject/genfiles.properties Sat Mar 07 15:36:13 2009 +0100
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=15ba57e8
+build.xml.data.CRC32=b763cd1a
build.xml.script.CRC32=6228cf8f
build.xml.stylesheet.CRC32=c0ebde35
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=15ba57e8
-nbproject/build-impl.xml.script.CRC32=1eabcb3d
+nbproject/build-impl.xml.data.CRC32=b763cd1a
+nbproject/build-impl.xml.script.CRC32=f0626c5f
nbproject/build-impl.xml.stylesheet.CRC32=174458fc
diff -r f6b8c00ef3d3 -r 43a6e33a4854 java/UpozorneniEmailem/nbproject/project.properties
--- a/java/UpozorneniEmailem/nbproject/project.properties Sat Mar 07 14:12:27 2009 +0100
+++ b/java/UpozorneniEmailem/nbproject/project.properties Sat Mar 07 15:36:13 2009 +0100
@@ -23,7 +23,8 @@
j2ee.platform=1.5
j2ee.server.type=J2EE
jar.compress=false
-javac.classpath=
+javac.classpath=\
+ ${libs.Kaptcha.classpath}
# Space-separated list of extra javac options
javac.compilerargs=
javac.debug=true
@@ -49,7 +50,6 @@
javadoc.windowtitle=
jspcompilation.classpath=${jspc.classpath}:${javac.classpath}
lib.dir=${web.docbase.dir}/WEB-INF/lib
-no.dependencies=false
persistence.xml.dir=${conf.dir}
platform.active=default_platform
resource.dir=setup
diff -r f6b8c00ef3d3 -r 43a6e33a4854 java/UpozorneniEmailem/nbproject/project.xml
--- a/java/UpozorneniEmailem/nbproject/project.xml Sat Mar 07 14:12:27 2009 +0100
+++ b/java/UpozorneniEmailem/nbproject/project.xml Sat Mar 07 15:36:13 2009 +0100
@@ -5,13 +5,18 @@
UpozorneniEmailem
1.6.5
-
+
+
+ ${libs.Kaptcha.classpath}
+ WEB-INF/lib
+
+
-
+
-
+
diff -r f6b8c00ef3d3 -r 43a6e33a4854 java/UpozorneniEmailem/web/WEB-INF/web.xml
--- a/java/UpozorneniEmailem/web/WEB-INF/web.xml Sat Mar 07 14:12:27 2009 +0100
+++ b/java/UpozorneniEmailem/web/WEB-INF/web.xml Sat Mar 07 15:36:13 2009 +0100
@@ -7,5 +7,32 @@
index.jsp
-
-
+
+
+
+
+ Kaptcha
+ com.google.code.kaptcha.servlet.KaptchaServlet
+
+ kaptcha.border
+ no
+
+
+ kaptcha.textproducer.font.color
+ orange
+
+
+ kaptcha.image.height
+ 50
+
+
+ kaptcha.image.width
+ 300
+
+
+
+ Kaptcha
+ /protiZlymRobotum.jpg
+
+
+
diff -r f6b8c00ef3d3 -r 43a6e33a4854 java/UpozorneniEmailem/web/css/styl.css
--- a/java/UpozorneniEmailem/web/css/styl.css Sat Mar 07 14:12:27 2009 +0100
+++ b/java/UpozorneniEmailem/web/css/styl.css Sat Mar 07 15:36:13 2009 +0100
@@ -32,6 +32,10 @@
border: none;
}
+#logo {
+ margin-right: 1em;
+}
+
#licence {
border: 1px solid silver;
font-size: smaller;
@@ -44,7 +48,7 @@
form {
text-align: right;
- max-width: 22em;
+ max-width: 32em;
}
fieldset {
@@ -54,14 +58,24 @@
input {
margin: 2px;
padding: 2px;
- width: 200px;
+ width: 300px;
+ border: 1px solid silver;
}
-select {
+#protiZlymRobotum {
+ margin: 2px;
+ padding: 2px;
+ border: 1px solid silver;
+}
+
+textarea{
margin: 2px;
padding: 2px;
- width: 208px;
+ width: 300px;
+ height: 100px;
+ border: 1px solid silver;
}
+
button {
margin: 2px;
margin-top: 2px;
diff -r f6b8c00ef3d3 -r 43a6e33a4854 java/UpozorneniEmailem/web/index.jsp
--- a/java/UpozorneniEmailem/web/index.jsp Sat Mar 07 14:12:27 2009 +0100
+++ b/java/UpozorneniEmailem/web/index.jsp Sat Mar 07 15:36:13 2009 +0100
@@ -14,7 +14,7 @@
- Upozornění e-mailem
+ Upozornění e-mailem
+
+
@@ -56,7 +65,6 @@