git-svn-id: https://svn.coded.pt/svn/SIPRP@1620 bb69d46d-e84e-40c8-a05a-06db0d633741

lxbfYeaa
Diogo Neves 15 years ago
parent a642ebd33a
commit 41211ad940

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="lib" path="lib/ashwood-2.0.jar"/>
<classpathentry kind="lib" path="lib/commons-collections-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-email-1.0-dev.jar"/>
<classpathentry kind="lib" path="lib/commons-fileupload-1.0.jar"/>
<classpathentry kind="lib" path="lib/commons-lang-2.1.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.1.jar"/>
<classpathentry kind="lib" path="lib/evologger.jar"/>
<classpathentry kind="lib" path="lib/evolute.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.8.jar"/>
<classpathentry kind="lib" path="lib/mail.jar"/>
<classpathentry kind="lib" path="lib/postgresql-9.0-801.jdbc4.jar"/>
<classpathentry kind="lib" path="lib/velocity-dep-1.4.jar"/>
<classpathentry kind="lib" path="lib/servlet-api.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>siprpWeb</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

@ -0,0 +1,12 @@
#Wed Feb 23 11:40:53 WET 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>SIPRP WEB</display-name>
<description>SIPRP WEB</description>
<servlet>
<servlet-name>SIPRP WEB</servlet-name>
<servlet-class>com.evolute.siprp.pagina.siprpServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SIPRP WEB</servlet-name>
<url-pattern>/index.html</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>Request</servlet-name>
<servlet-class>com.evolute.siprp.pagina.RequestServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Request</servlet-name>
<url-pattern>/request</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>Schedule</servlet-name>
<servlet-class>com.evolute.siprp.pagina.ScheduleServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Schedule</servlet-name>
<url-pattern>/schedule</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>Relatorio</servlet-name>
<servlet-class>com.evolute.siprp.pagina.RelatorioServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Relatorio</servlet-name>
<url-pattern>/relatorio</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>Noticias</servlet-name>
<servlet-class>com.evolute.siprp.pagina.NewsServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Noticias</servlet-name>
<url-pattern>/noticias</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>Recrutamento</servlet-name>
<servlet-class>com.evolute.siprp.pagina.RecruitServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Recrutamento</servlet-name>
<url-pattern>/recruit</url-pattern>
</servlet-mapping>
</web-app>

@ -0,0 +1,50 @@
<project name="evo-app-build-common" basedir="../../">
<import file="evo-app-compile-common.xml" />
<target name="app-build" description="Compiles all application classes" depends="app-prepare,app-pre-build">
<mkdir dir="${app.build.dir}" />
<depend srcdir="${app.src.dir}" destdir="${app.build.dir}" cache="${app.dependencies.chache.dir}">
<include name="**/*.java" />
</depend>
<javac srcdir="${app.src.dir}" destdir="${app.build.dir}" classpathref="app.build.classpath" debug="on" deprecation="on" fork="true" memoryMaximumSize="512M" />
<antcall target="app-post-build"/>
</target>
<target name="run-codegen" description="Runs codegen for this project" depends="load-properties">
<available file="${codegen.project.ant}" property="codegen.project.exists"/>
<antcall target="show-codegen-project-error"/>
<antcall target="run-codegen-if-project-exists"/>
</target>
<target name="run-codegen-if-project-exists" if="codegen.project.exists">
<available file="${codegen.properties.file}" property="codegen.properties.exists"/>
<antcall target="show-codegen-properties-error"/>
<antcall target="run-codegen-if-exists"/>
</target>
<target name="show-codegen-project-error" unless="codegen.project.exists">
<echo message="Codegen's build-file not found at ${codegen.project.ant}"/>
</target>
<target name="run-codegen-if-exists" if="codegen.properties.exists">
<ant inheritall="false" antfile="${codegen.project.ant}" target="app-run">
<property name="app.run.args" value="${basedir}" />
</ant>
</target>
<target name="show-codegen-properties-error" unless="codegen.properties.exists">
<echo message="Project's codegen configuration file not found at ${codegen.properties.file}"/>
</target>
<target name="run-LEAF" description="Runs LEAF for this project" depends="load-properties">
<path id="leaf.classpath">
<fileset dir="${lib.tools.dir}" />
<path refid="app.build.classpath" />
</path>
<java jvmversion="${app.java.version}" classname="${leaf.main}" classpathref="leaf.classpath" fork="true" dir="${app.build.dir}">
<arg value="${app.src.dir}"/>
</java>
</target>
</project>

@ -0,0 +1,62 @@
<project name="evo-app-build-obfuscate-common" basedir="../../">
<path id="lib.tools.classpath"/>
<target name="obfuscate">
<taskdef resource="proguard/ant/task.properties" classpath="${app.dir}/lib.tools/proguard.jar" />
<delete file="${app.deploy.dist.dir}/${evolute.jar.name}" failonerror="false" />
<proguard printmapping="${app.dir}/${app.name}.map">
<injar file="${app.lib.dir}/evologger.jar" />
<outjar file="${app.deploy.dist.lib.dir}/evologger.jar" />
<injar file="${app.lib.dir}/evolute.jar" />
<outjar file="${app.deploy.dist.lib.dir}/evolute.jar" />
<injar file="${app.deploy.dist.dir}/${app.jar.name}" />
<outjar file="${app.deploy.dist.dir}/${app.jar.name}_guard.jar" />
<libraryjar file="${evolute.lib.dir}" />
<libraryjar file="${app.lib.dir}" />
<libraryjar file="${java.home}/lib/jce.jar" />
<libraryjar file="${java.home}/lib/jsse.jar" />
<libraryjar file="${java.home}/lib/rt.jar" />
-printseeds
-verbose
-dontskipnonpubliclibraryclasses
-keepclasseswithmembers public class * {
public static void main(java.lang.String[]);
}
</proguard>
<delete file="${app.deploy.dist.dir}/${app.jar.name}" failonerror="true" />
<move file="${app.deploy.dist.dir}/${app.jar.name}_guard.jar" tofile="${app.deploy.dist.dir}/${app.jar.name}" />
</target>
<target name="ProguardTask">
<property file="${app.version.file}" prefix="version" />
<typedef classpathref="lib.tools.classpath" resource="net/jtools/classloadertask/antlib.xml">
<classpath>
<path refid="lib.tools.classpath"/>
</classpath>
</typedef>
<classloader loader="project">
<classpath>
<fileset dir="${lib.tools.dir}" includes="*.jar"/>
<fileset dir="${app.lib.dir}" includes="*.jar"/>
</classpath>
</classloader>
<taskdef name="proguardtask" classpathref="lib.tools.classpath" classname="com.evolute.ant.ProguardTask" onerror="ignore" />
<proguardtask filePath="${app.dir}/${app.name}.map" version="${version.major}.${version.minor}.${version.build}" fileName="${app.name}.map" projectName="${app.name}" />
</target>
<target name="pre-deploy">
<antcall target="obfuscate" />
<antcall target="ProguardTask" />
</target>
</project>

@ -0,0 +1,108 @@
<project name="evo-app-compile-common" basedir="../../">
<import file="evo-app-load-properties.xml" />
<!-- BUILD -->
<target name="app-post-build" />
<target name="app-pre-build" />
<target name="app-build" />
<target name="cifrar" depends="app-properties-exists" if="app.properties.exists" >
<echo message="Encrypting app.properties" />
<typedef classpathref="lib.tools.classpath" resource="net/jtools/classloadertask/antlib.xml">
<classpath>
<path refid="lib.tools.classpath"/>
</classpath>
</typedef>
<classloader loader="project">
<classpath>
<fileset dir="${lib.tools.dir}" includes="*.jar"/>
</classpath>
</classloader>
<taskdef name="cifrar-props" classpathref="lib.tools.classpath" classname="com.evolute.ant.PropsEncryptorTask" onerror="fail" />
<cifrar-props filepath="${properties.dir}${file.separator}app.properties" destpath="${app.build.dir}${file.separator}app.properties"/>
</target>
<target name="app-properties-exists">
<available file="${properties.dir}${file.separator}app.properties" property="app.properties.exists"/>
</target>
<target name="app-prepare" depends="load-properties">
<echo message="Dealing with package-info.java files (ant compilation problem workaround)" />
<delete failonerror="false">
<fileset dir="${app.build.dir}" includes="**/package-info.java"/>
</delete>
<echo message="Copying non-java files to build directory" />
<copy failonerror="false" overwrite="true" verbose="true" todir="${app.build.dir}" file="${app.version.file}"/>
<copy verbose="true" failonerror="true" overwrite="true" todir="${app.build.dir}">
<fileset dir="${app.src.dir}">
<exclude name="**/*.java" />
<exclude name="*.java" />
</fileset>
<fileset dir="${properties.dir}">
<exclude name="app.properties" />
<include name="**/*" />
</fileset>
</copy>
<antcall target="cifrar"/>
</target>
<target name="app-clean" description="Removes all generated files" depends="load-static-properties">
<delete verbose="true" failonerror="false">
<fileset dir="${app.build.dir}">
<include name="**/*" />
</fileset>
</delete>
<delete dir="${app.build.dir}" verbose="true" failonerror="true" />
<delete dir="${app.dist.dir}" verbose="true" failonerror="true" />
<delete dir="${app.deploy.dist.dir}" verbose="true" failonerror="true" />
</target>
<target name="app-run" description="Runs the application" depends="app-build">
<java jvmversion="${app.java.version}" classname="${app.main}" maxmemory="${app.max.mem}" classpathref="app.build.classpath" fork="true" dir="${app.build.dir}">
<jvmarg value="${jvm.run.args}" />
<arg value="${app.run.args}"/>
</java>
</target>
<!-- JAR -->
<target name="app-deploy-create-jar" depends="app-clean, app-build" >
<mkdir dir="${app.deploy.dist.dir}" />
<jar destfile="${app.deploy.dist.dir}/${app.jar.name}" >
<fileset dir="${app.build.dir}">
<include name="**/*" />
</fileset>
</jar>
<copy todir="${app.deploy.dist.lib.dir}">
<fileset dir="${app.lib.dir}">
<include name="**/*" />
</fileset>
</copy>
</target>
<target name="app-create-jar" description="Make application Jar" depends="app-clean, app-build" >
<pathconvert property="jar.classpath.converted" refid="app.jar.classpath" pathsep=" ">
<map from="${app.dir}/" to="" />
<map from="${basedir}/" to="" />
</pathconvert>
<mkdir dir="${app.dist.dir}" />
<jar destfile="${app.dist.dir}/${app.jar.name}">
<fileset dir="${app.build.dir}">
<include name="**/*" />
</fileset>
<manifest>
<attribute name="Main-Class" value="${app.main}" />
<attribute name="Class-Path" value="${jar.classpath.converted}" />
</manifest>
</jar>
<copy todir="${app.dist.lib.dir}">
<fileset dir="${app.lib.dir}">
<include name="**/*" />
</fileset>
</copy>
</target>
</project>

@ -0,0 +1,181 @@
<project name="evo-app-deploy-common" basedir="../../">
<!-- PROPERTIES -->
<property name="properties.key.name" value="name" />
<property name="properties.key.major" value="major" />
<property name="properties.key.minor" value="minor" />
<property name="properties.key.build" value="build" />
<!-- SETUP -->
<target name="prepare-deploy-location">
<sshexec trust="yes" host="${app.deploy.server}" username="${deploy.user}" command="sh ${deploy.prepare.script} ${app.name}" password="${deploy.password}" />
</target>
<target name="run-jnlp-task" >
<typedef classpathref="lib.tools.classpath" resource="net/jtools/classloadertask/antlib.xml">
<classpath>
<path refid="lib.tools.classpath"/>
</classpath>
</typedef>
<classloader loader="project">
<classpath>
<fileset dir="${lib.tools.dir}" includes="*.jar"/>
</classpath>
</classloader>
<taskdef name="generate-jnlp" classpathref="lib.tools.classpath" classname="com.evolute.ant.JNLPGeneratorTask" onerror="ignore"/>
<generate-jnlp propertiesDir="${properties.dir}" basedir="${app.dir}" />
</target>
<!-- DEPLOY -->
<target name="load-properties" />
<target name="pre-deploy" />
<target name="app-deploy-version" if="deploy.version" >
<input defaultvalue="${basedir}" addproperty="deploy.jars">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.JarInputHandler" />
</input>
<input message="" addproperty="deploy.user">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.UserInputHandler" />
</input>
<input message="password:>" addproperty="deploy.password">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.PasswordInputHandler" />
</input>
<antcall target="app-deploy-create-jar"/>
<antcall target="pre-deploy" />
<antcall target="run-jnlp-task" />
<condition property="do.abort">
<equals arg1="${deploy.jars}" arg2="null"/>
</condition>
<fail if="do.abort">Deploy cancelled</fail>
<antcall target="app-deploy-version-jars"/>
</target>
<target name="app-version-increase-test">
<property name="TESTDEPLOY" value="yes"/>
<antcall target="app-version-increase-build"/>
</target>
<target name="app-version-increase-major">
<propertyfile file="${app.version.file}" comment="${app.version.comment}" >
<entry key="${properties.key.name}" value="${app.name}"/>
<entry key="${properties.key.major}" type="int" operation="+" value="1"/>
<entry key="${properties.key.minor}" type="int" operation="=" value="0"/>
<entry key="${properties.key.build}" type="int" operation="=" value="0"/>
</propertyfile>
<antcall target="app-deploy-version"/>
</target>
<target name="app-version-increase-minor">
<propertyfile file="${app.version.file}" comment="${app.version.comment}" >
<entry key="${properties.key.name}" value="${app.name}"/>
<entry key="${properties.key.major}" type="int" operation="+" value="0"/>
<entry key="${properties.key.minor}" type="int" operation="+" value="1"/>
<entry key="${properties.key.build}" type="int" operation="=" value="0"/>
</propertyfile>
<antcall target="app-deploy-version"/>
</target>
<target name="app-version-increase-build">
<propertyfile file="${app.version.file}" comment="${app.version.comment}" >
<entry key="${properties.key.name}" value="${app.name}"/>
<entry key="${properties.key.major}" type="int" operation="+" value="0"/>
<entry key="${properties.key.minor}" type="int" operation="+" value="0"/>
<entry key="${properties.key.build}" type="int" operation="+" value="1"/>
</propertyfile>
<antcall target="app-deploy-version"/>
</target>
<target name="deploy-test" if="TESTDEPLOY">
<sshexec trust="yes" host="${app.deploy.server}" username="${deploy.user}" command="sh ${app.deploy.test.script} ${app.name}" password="${deploy.password}" />
</target>
<target name="deploy-production" unless="TESTDEPLOY">
<sshexec trust="yes" host="${app.deploy.server}" username="${deploy.user}" command="sh ${app.deploy.production.script} ${app.name}" password="${deploy.password}" />
</target>
<target name="app-deploy-version-jars-user-pass" if="deploy.password">
<antcall target="prepare-deploy-location" />
<echo message="Uploading files: ${deploy.jars}"/>
<scp verbose="yes" todir="${deploy.user}@${app.deploy.server}:${app.deploy.path}" password="${deploy.password}" sftp="true" trust="true" >
<fileset dir="${app.deploy.dist.dir}" includes="${deploy.jars}"/>
</scp>
<scp verbose="yes" todir="${deploy.user}@${app.deploy.server}:${app.deploy.jnlp.path}" password="${deploy.password}" sftp="true" trust="true" >
<fileset dir="${jnlp.dir}" includes="**/*.jnlp"/>
</scp>
<antcall target="deploy-test"/>
<antcall target="deploy-production"/>
</target>
<target name="app-deploy-version-jars-user" if="deploy.user">
<antcall target="app-deploy-version-jars-user-pass"/>
</target>
<target name="app-deploy-version-jars" if="deploy.jars" >
<antcall target="app-deploy-version-jars-user" />
</target>
<target name="app-deploy-choose-version" if="deploy.version" >
<antcall target="app-version-increase-${deploy.version}" />
</target>
<target name="app-deploy" description="Deploys application" depends="load-properties">
<input defaultvalue="" addproperty="deploy.version">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.VersionInputHandler" />
</input>
<antcall target="app-deploy-choose-version"/>
<antcall target="app-create-software-evo-licensor"/>
</target>
<target name="app-create-software-evo-licensor" depends="load-properties">
<property file="${app.version.file}" prefix="version" />
<typedef classpathref="lib.tools.classpath" resource="net/jtools/classloadertask/antlib.xml">
<classpath>
<path refid="lib.tools.classpath"/>
</classpath>
</typedef>
<classloader loader="project">
<classpath>
<fileset dir="${lib.tools.dir}" includes="*.jar"/>
<fileset dir="${app.lib.dir}" includes="*.jar"/>
</classpath>
</classloader>
<taskdef name="createTask" classpathref="lib.tools.classpath" classname="com.evolute.ant.CreateSoftwareAntTask" onerror="ignore"/>
<createTask projectVersion="${version.major}.${version.minor}.${version.build}" projectName="${app.name}" />
</target>
<!-- DOCUMENTATION -->
<target name="docs-generate-upload" description="Generates and uploads the project documentation" depends="load-properties,docs-generate,docs-upload"/>
<target name="docs-generate">
<mkdir dir="${docs.api.dir}"/>
<javadoc verbose="true" classpath="lib.docs.classpath" destdir="${docs.api.dir}" docencoding="UTF-8" doctitle="${app.name}" sourcepath="${app.src.dir}" />
</target>
<target name="docs-upload">
<input message="" addproperty="deploy.user">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.UserInputHandler" />
</input>
<input message="password:>" addproperty="deploy.password">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.PasswordInputHandler" />
</input>
<typedef classpathref="lib.tools.classpath" resource="net/jtools/classloadertask/antlib.xml">
<classpath>
<path refid="lib.tools.classpath"/>
</classpath>
</typedef>
<classloader loader="project">
<classpath>
<fileset dir="${lib.tools.dir}" includes="*.jar"/>
</classpath>
</classloader>
<sshexec trust="yes" host="${app.deploy.docs.server}" username="${deploy.user}" command="sh ${app.docs.prepare.script} ${app.name}" password="${deploy.password}" />
<scp verbose="yes" todir="${deploy.user}@${app.deploy.docs.server}:${app.deploy.docs.path}" password="${deploy.password}" sftp="true" trust="true" >
<fileset dir="${docs.dir}"/>
</scp>
</target>
</project>

@ -0,0 +1,87 @@
<project name="evo-app-load-properties" basedir="../../">
<property name="properties.base.dir" value="${basedir}/properties" />
<property name="lib.tools.dir" value="${basedir}/lib.tools" />
<target name="load-static-properties" >
<property name="app.dir" value="${basedir}" />
<property name="evolute.dir" value="${basedir}/../evolute" />
<property name="evolute.lib.dir" value="${evolute.dir}/lib" />
<property name="evolute.lib.tools.dir" value="${evolute.dir}/lib.tools" />
<property name="evolute.ant.dir" value="${evolute.dir}/ant" />
<property name="evolute.jar.name" value="evolute.jar" />
<property name="docs.dir" value="${app.dir}/docs" />
<property name="docs.api.dir" value="${docs.dir}/api" />
<property name="app.src.dir" value="${app.dir}/src" />
<property name="app.lib.dir" value="${app.dir}/lib" />
<property name="deploy.project.relative.lib.dir" value="lib" />
<property name="app.dist.dir" value="${app.dir}/dist" />
<property name="app.dist.lib.dir" value="${app.dist.dir}/lib" />
<property name="app.deploy.dist.dir" value="${app.dir}/deploy" />
<property name="app.deploy.dist.lib.dir" value="${app.deploy.dist.dir}/lib" />
<property name="app.build.dir" value="${app.dir}/build" />
<property name="app.dependencies.chache.dir" value="${app.dir}/dependenciesCache" />
<property name="codegen.project.ant" value="${basedir}/../codegen/build.xml"/>
<property name="codegen.properties.file" value="${basedir}/properties/codegen.xml"/>
<property name="leaf.project.ant" value="${basedir}/../LEAF/build.xml"/>
<path id="app.jar.classpath">
<fileset dir="${app.lib.dir}" />
</path>
<path id="app.build.classpath">
<pathelement location="${app.build.dir}" />
<path refid="app.jar.classpath" />
</path>
<path id="lib.tools.classpath">
<fileset dir="${lib.tools.dir}" />
</path>
<path id="lib.docs.classpath">
<path refid="lib.tools.classpath" />
<path refid="app.jar.classpath" />
</path>
<typedef resource="org/tigris/subversion/svnant/svnantlib.xml" classpathref="lib.tools.classpath" />
</target>
<target name="load-properties-file" >
<property name="properties.dir" value="${properties.base.dir}" />
<property file="${properties.dir}/app.properties" />
<property file="${properties.dir}/project.properties" />
<antcall target="load-static-properties"/>
</target>
<target name="load-properties" depends="load-static-properties,load-properties-file">
<property name="app.name" value="${app.appName}" />
<property name="app.main" value="${app.main-class}" />
<property name="app.jar.name" value="${app.name}.jar" />
<property name="jnlp.dir" value="${app.dir}/jnlp" />
<property name="jnlp.extensions.dir" value="${jnlp.dir}/extensions" />
<property name="app.java.version" value="${java.version}" />
<property name="app.deploy.server" value="www.evolute.pt" />
<property name="app.deploy.path" value="/home/software/src_${app.name}" />
<property name="app.deploy.jnlp.path" value="${app.deploy.path}/jnlp" />
<property name="app.deploy.production.script" value="/home/software/auto_deploy.sh ${app.name}" />
<property name="app.deploy.test.script" value="/home/software/auto_test_deploy.sh ${app.name}" />
<property name="deploy.prepare.script" value="/home/software/auto_prepare_deploy.sh ${app.name}" />
<property name="app.deploy.docs.server" value="${app.deploy.server}" />
<property name="app.deploy.docs.path" value="/home/software/public_html/docs/${app.name}" />
<property name="app.docs.prepare.script" value="/home/software/auto_prepare_docs_upload.sh" />
<property name="app.version.file" value="${properties.base.dir}/version.properties" />
<property name="app.version.comment" value="${app.name} versioning file" />
<property name="app.run.args" value="" />
<property name="jvm.run.args" value="-XX:-UseGCOverheadLimit" />
<property name="app.ws.wsdl.url" value="${app.ws.wsdl.url.protocol}://${app.ws.wsdl.url.host}:${app.ws.wsdl.url.port}${app.ws.wsdl.url.path}" />
<property name="app.max.mem" value="512M" />
<property name="leaf.main" value="com.evolute.leaf.Main" />
</target>
</project>

@ -0,0 +1,19 @@
<project name="evo-app-multiple-client-common" basedir="../../">
<target name="load-properties-file" >
<input defaultvalue="${properties.base.dir}" addproperty="properties.dir">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.ProjectClientInputHandler" />
</input>
<property file="${properties.dir}/app.properties" />
<property file="${properties.dir}/project.properties" />
<property file="${properties.base.dir}/app.properties" />
<property file="${properties.base.dir}/project.properties" />
<copy verbose="true" failonerror="true" overwrite="true" todir="${basedir}/build">
<fileset dir="${properties.dir}">
<include name="*" />
<include name="**/*" />
</fileset>
</copy>
</target>
</project>

@ -0,0 +1,113 @@
<project name="evo-app-build-5" basedir="../">
<import file="common/evo-app-load-properties.xml" />
<import file="common/evo-app-deploy-common.xml" />
<!-- CLASSPATH -->
<path id="app.jar.classpath">
<fileset dir="${app.lib.dir}" />
</path>
<path id="app.build.classpath">
<path refid="app.jar.classpath" />
<pathelement location="${app.build.dir}" />
</path>
<path id="svn.classpath">
<fileset dir="${evolute.lib.tools.dir}" />
</path>
<path id="jsch.classpath">
<fileset dir="${evolute.lib.tools.dir}" />
</path>
<path id="lib.tools.classpath">
<fileset dir="${lib.tools.dir}" />
</path>
<!-- BUILD -->
<target name="app-prepare" depends="load-properties">
<echo message="Copying non-java files to build directory" />
<copy todir="${app.build.dir}">
<fileset dir="${app.src.dir}">
<exclude name="**/*.java" />
<exclude name="*.java" />
</fileset>
<fileset dir="${properties.dir}">
<include name="*" />
<include name="**/*" />
</fileset>
</copy>
</target>
<target name="app-build" description="Compiles all application classes" depends="app-prepare">
<mkdir dir="${app.build.dir}" />
<depend srcdir="${app.src.dir}" destdir="${app.build.dir}" cache="${app.dependencies.chache.dir}">
<include name="**/*.java" />
</depend>
<javac srcdir="${app.src.dir}" destdir="${app.build.dir}" classpathref="app.build.classpath" debug="on" deprecation="on" fork="true" memoryMaximumSize="512M" source="1.5" target="1.5" />
<antcall target="app-datanucleus"/>
</target>
<target name="app-datanucleus">
<path id="jpox.enhancer.classpath">
<fileset dir="${lib.tools.dir}" />
<path refid="app.build.classpath" />
</path>
<taskdef name="jpoxEnhancer" description="JPOX Enhancer" classpathref="jpox.enhancer.classpath" classname="org.datanucleus.enhancer.tools.EnhancerTask" />
<jpoxEnhancer maxmemory="256M" classpathref="jpox.enhancer.classpath" dir="${app.build.dir}" verbose="true"/>
</target>
<target name="app-clean" description="Removes all generated files">
<delete failonerror="false">
<fileset dir="${app.build.dir}">
<include name="**/*" />
</fileset>
</delete>
<delete dir="${app.build.dir}" failonerror="false" />
<delete dir="${app.dist.dir}" failonerror="false" />
<delete dir="${app.deploy.dist.dir}" failonerror="false" />
</target>
<target name="app-run" description="Runs the application" depends="app-build">
<java classname="${app.main}" classpathref="app.build.classpath" fork="true" dir="${app.build.dir}" />
</target>
<!-- JAR -->
<target name="app-deploy-create-jar" depends="app-clean, app-build" >
<mkdir dir="${app.deploy.dist.dir}" />
<jar destfile="${app.deploy.dist.dir}/${app.jar.name}" >
<fileset dir="${app.build.dir}">
<include name="**/*" />
</fileset>
</jar>
<copy todir="${app.deploy.dist.lib.dir}">
<fileset dir="${app.lib.dir}">
<include name="**/*" />
</fileset>
</copy>
</target>
<target name="app-create-jar" description="Make application Jar" depends="app-clean, app-build" >
<pathconvert property="jar.classpath.converted" refid="app.jar.classpath" pathsep=" ">
<map from="${app.dir}/" to="" />
<map from="${basedir}/" to="" />
</pathconvert>
<mkdir dir="${app.dist.dir}" />
<jar destfile="${app.dist.dir}/${app.jar.name}">
<fileset dir="${app.build.dir}">
<include name="**/*" />
</fileset>
<manifest>
<attribute name="Main-Class" value="${app.main}" />
<attribute name="Class-Path" value="${jar.classpath.converted}" />
</manifest>
</jar>
<copy todir="${app.dist.lib.dir}">
<fileset dir="${app.lib.dir}">
<include name="**/*" />
</fileset>
</copy>
</target>
</project>

@ -0,0 +1,25 @@
<project name="evo-app-build-jdo" basedir="../">
<import file="common/evo-app-compile-common.xml" />
<import file="common/evo-app-deploy-common.xml" />
<target name="app-build" description="Compiles all application classes" depends="app-prepare,app-pre-build">
<mkdir dir="${app.build.dir}" />
<depend srcdir="${app.src.dir}" destdir="${app.build.dir}" cache="${app.dependencies.chache.dir}">
<include name="**/*.java" />
</depend>
<javac srcdir="${app.src.dir}" destdir="${app.build.dir}" classpathref="app.build.classpath" debug="on" deprecation="on" fork="true" memoryMaximumSize="512M" />
<antcall target="app-datanucleus"/>
<antcall target="app-post-build"/>
</target>
<target name="app-datanucleus">
<path id="jpox.enhancer.classpath">
<fileset dir="${lib.tools.dir}" />
<path refid="app.build.classpath" />
</path>
<taskdef name="jpoxEnhancer" description="JPOX Enhancer" classpathref="jpox.enhancer.classpath" classname="org.datanucleus.enhancer.tools.EnhancerTask" />
<jpoxEnhancer maxmemory="256M" classpathref="jpox.enhancer.classpath" dir="${app.build.dir}" verbose="true"/>
</target>
</project>

@ -0,0 +1,6 @@
<project name="evo-app-build-obfuscate-jdo" basedir="../">
<import file="common/evo-app-compile-common.xml" />
<import file="common/evo-app-deploy-common.xml" />
</project>

@ -0,0 +1,7 @@
<project name="evo-app-build-obfuscate" basedir="../">
<import file="common/evo-app-build-common.xml" />
<import file="common/evo-app-build-obfuscate-common.xml" />
<import file="common/evo-app-deploy-common.xml" />
</project>

@ -0,0 +1,6 @@
<project name="evo-app-build" basedir="../">
<import file="common/evo-app-build-common.xml" />
<import file="common/evo-app-deploy-common.xml" />
</project>

@ -0,0 +1,7 @@
<project name="evo-app-multiple-client-build" basedir="../">
<import file="common/evo-app-multiple-client-common.xml" />
<import file="common/evo-app-build-common.xml" />
<import file="common/evo-app-deploy-common.xml" />
</project>

@ -0,0 +1,6 @@
<project name="evo-app-multiple-client-build" basedir="../">
<import file="common/evo-app-multiple-client-common.xml" />
<import file="evo-app-build-obfuscate.xml" />
</project>

@ -0,0 +1,31 @@
<project name="evo-app-ws-client-build" basedir="../">
<import file="common/evo-app-build-common.xml" />
<path id="jaxws.classpath">
<path refid="lib.tools.classpath"/>
<pathelement location="${java.home}/../lib/tools.jar" />
</path>
<target name="receitas-gen-client" depends="app-build" description="generates client">
<taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport" onerror="ignore">
<classpath refid="lib.tools.classpath" />
</taskdef>
<java fork="false" classname="com.evolute.ssl.InstallCert" classpathref="app.build.classpath">
<arg value="${app.ws.wsdl.url.host}"/>
<arg value="${app.ws.wsdl.url.port}"/>
<arg value="${app.ssl.truststore.file}"/>
<arg value="${app.ssl.truststore.pass}"/>
<arg value="true"/>
<arg value="true"/>
</java>
<wsimport fork="false" debug="true" verbose="true" keep="true" sourcedestdir="${app.src.dir}" package="${app.ws.dest.package}" wsdl="${app.ws.wsdl.url}">
<jvmarg value="-Djavax.net.ssl.trustStore=${basedir}/jssecacerts" />
<jvmarg value="-Djavax.net.ssl.trustStorePassword=changeit" />
<jvmarg value="-Djavax.net.ssl.keyStore=${basedir}/jssecacerts" />
<jvmarg value="-Djavax.net.ssl.keyStorePassword=changeit" />
</wsimport>
</target>
</project>

@ -0,0 +1,14 @@
<project name="evo-gwt-library-build" default="library-deploy" basedir="../">
<target name="app-pre-build">
<copy verbose="true" failonerror="true" overwrite="true" todir="${app.build.dir}">
<fileset dir="${app.src.dir}">
<include name="**/*.java" />
<include name="*.java" />
</fileset>
</copy>
</target>
<import file="evo-library-build.xml" />
</project>

@ -0,0 +1,21 @@
<project name="evo-library-build" default="library-deploy" basedir="../">
<import file="common/evo-app-build-common.xml" />
<target name="deploy-default-project" depends="app-create-jar">
<mkdir dir="${deploy.project.dir}${file.separator}${deploy.project.relative.lib.dir}"/>
<copy failonerror="false" verbose="true" file="${app.dist.dir}/${app.jar.name}" toDir="${deploy.project.dir}${file.separator}${deploy.project.relative.lib.dir}" />
</target>
<target name="deploy-project" if="deploy.project.dir">
<antcall target="deploy-default-project" />
</target>
<target name="library-deploy" description="Deploys current version of evolute utilities" depends="load-static-properties">
<input defaultvalue="${basedir}" addproperty="deploy.project.dir">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.ProjectInputHandler" />
</input>
<antcall target="deploy-project" />
</target>
</project>

@ -0,0 +1,21 @@
<project name="evo-tool-build" default="tool-deploy" basedir="../">
<import file="common/evo-app-build-common.xml" />
<target name="deploy-default-tool" depends="app-create-jar">
<mkdir dir="${deploy.project.dir}/lib.tools"/>
<copy failonerror="false" verbose="true" file="${app.dist.dir}/${app.jar.name}" toDir="${deploy.project.dir}/lib.tools" />
</target>
<target name="deploy-to-project" if="deploy.project.dir">
<antcall target="deploy-default-tool" />
</target>
<target name="tool-deploy" description="Deploys current version of evolute utilities" depends="load-static-properties">
<input defaultvalue="${basedir}" addproperty="deploy.project.dir">
<handler classpathref="lib.tools.classpath" classname="com.evolute.ant.ProjectInputHandler" />
</input>
<antcall target="deploy-to-project" />
</target>
</project>

@ -0,0 +1,118 @@
<project name="siprpWeb" basedir="." default="web-makeWar">
<property name="lib.tools" value="lib.tools" />
<!-- TOMCAT MANAGER PROPERTIES -->
<property name="url" value="http://localhost:8080/manager" />
<property name="username" value="tomcat" />
<property name="password" value="tomcat" />
<!-- WEB PROPERTIES -->
<property name="web.name" value="siprpWeb" />
<property name="web.dir" value="${basedir}" />
<property name="web.src.dir" value="src" />
<property name="web.lib.dir" value="lib" />
<property name="web.build.dir" value="build" />
<property name="web.build.WEB-INF.dir" value="${web.build.dir}/WEB-INF" />
<property name="web.build.classes.dir" value="${web.build.WEB-INF.dir}/classes" />
<property name="web.build.contents.dir" value="${web.build.dir}/html" />
<property name="web.dist.dir" value="dist" />
<property name="web.contents.dir" value="contents" />
<property name="web.warfile" value="${web.name}.war" />
<property name="web.WEB-INF.dir" value="WEB-INF" />
<property name="web.xmlfile" value="web.xml" />
<property name="web.dependencies.chache.dir" value="dependenciesCache" />
<!-- COMMON CLASSPATHS -->
<path id="common.classpath">
<fileset dir="${common.lib.dir}" />
</path>
<path id="catalina.path">
<fileset dir="${lib.tools}">
<include name="catalina-ant.jar" />
</fileset>
</path>
<!-- WEB CLASSPATHS -->
<path id="web.jar.classpath">
<fileset dir="${web.lib.dir}" />
</path>
<path id="web.build.classpath">
<path refid="web.jar.classpath" />
<pathelement location="${web.build.classes.dir}" />
</path>
<!-- TOMCAT TASKS (from catalina-ant.jar) -->
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask" classpathref="catalina.path" />
<taskdef name="list" classname="org.apache.catalina.ant.ListTask" classpathref="catalina.path" />
<taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask" classpathref="catalina.path" />
<taskdef name="resources" classname="org.apache.catalina.ant.ResourcesTask" classpathref="catalina.path" />
<taskdef name="roles" classname="org.apache.catalina.ant.RolesTask" classpathref="catalina.path" />
<taskdef name="start" classname="org.apache.catalina.ant.StartTask" classpathref="catalina.path" />
<taskdef name="stop" classname="org.apache.catalina.ant.StopTask" classpathref="catalina.path" />
<taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask" classpathref="catalina.path" />
<!-- WEB TARGETS -->
<target name="web-prepare">
<mkdir dir="${web.build.classes.dir}" />
<copy todir="${web.build.classes.dir}">
<fileset dir="${web.src.dir}">
<exclude name="**/*.java" />
<exclude name="*.java" />
</fileset>
</copy>
<mkdir dir="${web.build.contents.dir}" />
<copy todir="${web.build.contents.dir}">
<fileset dir="${web.contents.dir}" />
</copy>
</target>
<target name="web-build" description="Compiles all application classes" depends="web-prepare">
<depend srcdir="${web.src.dir}" destdir="${web.build.classes.dir}" cache="${web.dependencies.chache.dir}">
<include name="**/*.java" />
</depend>
<javac srcdir="${web.src.dir}" destdir="${web.build.classes.dir}" classpathref="web.build.classpath" debug="on" deprecation="on" fork="true" memoryMaximumSize="512M" />
</target>
<target name="web-clean" description="Removes all generated files">
<delete failonerror="false">
<fileset dir="${web.build.dir}" />
</delete>
<delete dir="${web.build.dir}" failonerror="false" />
<delete file="${web.dist.dir}/${web.warfile}" failonerror="false" />
</target>
<target name="web-makeWar" depends="web-build" description="Creates the web war">
<mkdir dir="${web.dist.dir}" />
<war destfile="${web.dist.dir}/${web.warfile}" webxml="${web.WEB-INF.dir}/${web.xmlfile}">
<fileset dir="${web.build.dir}">
<include name="html/**/*" />
</fileset>
<lib dir="${web.lib.dir}" />
<classes dir="${web.build.classes.dir}" />
</war>
</target>
<target name="web-tomcat-deploy" description="Install web application" depends="web-makeWar">
<deploy url="${url}" username="${username}" password="${password}" path="/${web.name}" war="${web.dist.dir}/${web.warfile}" />
</target>
<target name="web-tomcat-reload" description="Reload web application">
<reload url="${url}" username="${username}" password="${password}" path="/${web.name}" />
</target>
<target name="web-tomcat-undeploy" description="Remove web application">
<undeploy url="${url}" username="${username}" password="${password}" path="/${web.name}" />
</target>
<target name="web-tomcat-redeploy" description="Undeploys and then Deploys... all in one click" depends="web-makeWar">
<antcall target="web-tomcat-undeploy"></antcall>
<antcall target="web-tomcat-deploy"></antcall>
</target>
</project>

@ -0,0 +1,64 @@
function showhide( id )
{
if( document.getElementById )
{
obj = document.getElementById( id );
if ( obj.style.display == "none" )
{
obj.style.display = "";
document.getElementById( 'span_' + id ).style.color = "#C13F45";
}
else
{
obj.style.display = "none";
document.getElementById( 'span_' + id ).style.color = "#497895";
}
}
}
function isValidDate( year, month, day )
{
return day > 0 && ( day <= [, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][ month ] ||
day == 29 && month == 2 && year % 4 == 0 && ( year % 100 > 0 || year % 400 == 0 ) );
}
function isValid( element, type )
{
switch( type )
{
// date
case 0:
if( element.value.search( /^\d\d?\/\d\d?\/\d{1,4}$/ ) != 0 )
{
alert( "Formato da data incorrecto." );
window.setTimeout( "document.getElementById( '" + element.name + "').focus()", 1 );
return false;
}
date_value = element.value.split( "/" );
if( ! isValidDate( date_value[ 2 ], date_value[ 1 ], date_value[ 0 ] ) )
{
alert( "Data inválida." );
window.setTimeout( "document.getElementById( '" + element.name + "').focus()", 1 );
return false;
}
break;
// integer
case 1:
if( element.value.search( /^\d\d:\d\d$/ ) != 0 )
{
alert( "Formato da hora incorrecto." );
window.setTimeout( "document.getElementById( '" + element.name + "' ).focus()", 1 );
return false;
}
time_value = element.value.split( ":" );
if( time_value[ 0 ] > 23 || time_value[ 1 ] > 59 )
{
alert( "Hora inválida." );
window.setTimeout( "document.getElementById( '" + element.name + "').focus()", 1 );
return false;
}
break;
}
return true;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 817 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 636 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 B

@ -0,0 +1,80 @@
/*
* CSS - SIPRP.pt (print area)
*
* Made by Ana Fragateiro
*
* evolute.pt
*
*/
body{
background: #fff;
margin:0;
width:100%;
font-size: 13px;
font-family:century gothic,verdana,arial,sans-serif;
}
.title{
font-weight: bold;
font-size: 13px;
color: #678995;
font-family:century gothic,verdana,arial,sans-serif;
border-bottom:2px solid #678995;
padding:10px 8px;
}
.info{
font-size: 12px;
color:#444444;
margin-top: 5px;
margin-bottom: 5px;
}
table{
margin: 10px;
border-collapse:collapse;
font-size: 13px;
}
table .tableheader {
font-size: 13px;
background: #678995;
padding: 5px;
color: #fff;
}
table .tableheader td{
padding:10px 8px;
}
table .elements td{
border-bottom: 1px solid #cccccc;
border-collapse:collapse;
padding:6px 8px;
font-size: 13px;
}
.normal_text b{
font-weight: bold;
color:#BF1B2E;
}
.space{
margin-bottom: 25px;
}
a{
color: #bf1b2e;
text-decoration: none;
font-size: 13px;
}
#cont{
width: 800px;
margin-left:auto;
margin-right:auto;
}

@ -0,0 +1,129 @@
body
{
color: #497895;
font-family: verdana;
margin-top: 0px;
}
.text
{
color: #497895;
font-family: verdana;
font-size: 10pt;
text-align: justify;
}
.noticias
{
color: #497895;
font-family: verdana;
font-size: 9pt;
text-align: left;
}
td.asd
{
border-width: 1px 1px 1px 1px;
border-style: solid;
}
td.title
{
color: #ffffff;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
}
td.noticias
{
font-size: 9pt;
}
td.footer
{
color: #ffffff;
font-family: verdana;
font-size: 8pt;
text-align: right;
}
a:link,
a:visited,
a:active
{
color: #497895;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a:hover
{
color: #C13F45;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a.menu:link,
a.menu:visited,
a.menu:active
{
color: #FFFFFF;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a.menu:hover
{
color: #C13F45;
font-family: verdana;
font-size: 10pt;
font-weight: bold;
text-decoration: none;
}
a.big:link,
a.big:visited,
a.big:active
{
color: #497895;
font-family: verdana;
font-size: 12pt;
font-weight: bold;
text-decoration: none;
}
a.big:hover
{
color: #C13F45;
font-family: verdana;
font-size: 12pt;
font-weight: bold;
text-decoration: none;
}
a.copy:link,
a.copy:visited,
a.copy:active
{
color: #FFFFFF;
font-family: verdana;
font-size: 8pt;
font-weight: normal;
text-decoration: underline;
}
select,
option,
input
{
color: #497895;
font-family: verdana;
margin-top: 0px;
}

@ -0,0 +1,534 @@
/*
* CSS - SIPRP.pt (backoffice area)
*
* Made by Ana Fragateiro
*
* evolute.pt
*
*/
body{
background: #fff url(imgs/bg.png) repeat-x;
margin:0;
width:100%;
font-size: 13px;
font-family:century gothic,verdana,arial,sans-serif;
}
body #popup{
background: #fff url(imgs/none.png) repeat!important;
margin:0;
width:100%;
font-size: 13px;
font-family:century gothic,verdana,arial,sans-serif;
}
#bg_header{
background: #f5f5f4;
height:100px;
position:absolute;
right:0;
width:50%;
margin-top: 2px;
}
.wrapper{
width:1024px;
margin-left:auto;
margin-right:auto;
}
.wrapper2{
width:957px;
margin-left:auto;
margin-right:auto;
}
hr{
background: url(imgs/hr.png) repeat-x;
width:95%;
opacity:0.4;
filter:alpha(opacity=40);
}
#cont_banner h1{
margin-left:26px;
background: url(imgs/h1.png) no-repeat center left;
padding-left: 27px;
color:white;
font-size: 25px;
}
#cont_banner ul.menu{
float:right;
list-style: none;
margin-right:30px;
}
#cont_banner ul.menu li{
float:left;
margin-left:35px;
color: white;
}
#cont_banner ul.menu li a{
text-decoration:none;
color: white;
font-size: 14px;
}
#header{
background: url(imgs/header.png) no-repeat;
margin-top: 8px;
width: 1020px;
height: 114px;
}
#logo{
background: url(imgs/logo.png) no-repeat;
margin-top: 12px;
width: 452px;
height: 80px;
float: left;
margin-left: 46px;
}
#lang{
float:right;
margin-right:30px;
position:relative;
}
#menu{
height:36px;
margin-left:18px;
}
#menu ul{
float:left;
list-style-type:none;
padding:0;
}
#menu ul li{
background:url(imgs/hover_l.png) no-repeat scroll 0 0 transparent;
display:block;
float:left;
height:27px;
margin-left:-18px;
position:relative;
width:500px;
}
#cima{
background: url(imgs/cima.png) no-repeat;
width: 957px;
height: 7px;
margin-left:auto;
}
#cont_banner{
background: #678995;
width: 957px;
min-height: 100px;
display: inline-block;
}
#cont_banner .button_back{
color: #fff;
float: right;
margin-top: 10px;
margin-right: 35px;
font-size: 17px;
}
#baixo{
background: url(imgs/baixo.png) no-repeat;
width: 957px;
height: 8px;
margin-left:auto;
margin-right:auto;
}
#menu_footer{
float: right;
font-size:11px;
margin-right:25px;
margin-top:-115px;
vertical-align:top;
color: #3e4d52;
}
#menu_footer li{
background: url(imgs/it.png) no-repeat center left transparent;
padding-left: 10px;
list-style-type:none;
float:left;
}
#menu_footer li a{
color:#3E4D52;
float:left;
padding-left:5px;
padding-right:10px;
text-decoration:none;
}
#menu_footer li#current a, #menu_footer li a:hover{
text-decoration: underline;
}
#cont{
width: 957px;
min-height: 100px;
margin-left:auto;
margin-right:auto;
margin-top:40px;
min-height:200px;
}
.contentheading{
font-size: 17px;
color: #bf1b2e;
margin-bottom: 6px;
}
a{
color: #bf1b2e;
text-decoration: none;
}
#footer{
background: url(imgs/footer.png) repeat-x;
min-height: 60px;
display: inline-block;
position: absolute;
z-index: -2;
width: 100%;
}
.wrapperFooter{
background:transparent url(imgs/footer_bg.png) no-repeat scroll 0 0;
height: 394px;
position: relative;
z-index: -1;
margin-top: -254px;
}
.chronoform a{
display: none;
}
.cf_label{
font-size: 90%;
}
#copy{
color:gray;
display:inline-block;
font-size:11px;
margin-left:25px;
margin-top:-100px;
vertical-align:top;
float:left;
}
.contact{
background:url(imgs/login_form.png) no-repeat scroll 0 0 transparent;
height:325px;
padding-right:25px;
width:357px;
margin-left: auto;
margin-right: auto;
}
.contact form{
padding-top: 70px;
margin-left:30px;
}
.contact .login{
margin:0 auto;
padding-bottom:18px;
width:456px;
}
.contact input{
background:url(imgs/textinputbg.gif) repeat-x scroll 0 0 #FFFFFF;
border:1px solid #D3D3D3;
color:#000000;
font-size:15px;
margin-bottom:10px;
padding:7px 0;
text-indent:7px;
width:63%;
}
.contact input:focus {
border:1px solid #678995;
}
.contact label{
color:#444444;
display:block;
font-size:15px;
margin-bottom:3px;
}
/*
**backoffice css
*/
.title{
font-weight: bold;
font-size: 13px;
color: #678995;
font-family:century gothic,verdana,arial,sans-serif;
border-bottom:2px solid #678995;
padding:10px 8px;
}
.title a{
font-weight: normal;
margin-left:15px;
margin-right:15px;
}
a:hover{
text-decoration:underline;
}
a.button_back:hover{
text-decoration: none!important;
}
.info{
font-size: 12px;
color:#444444;
margin-top: 5px;
margin-bottom: 5px;
}
table{
margin: 10px;
border-collapse:collapse;
}
table .tableheader {
font-size: 13px;
background: #678995;
padding: 5px;
color: #fff;
}
table .tableheader td{
padding:10px 8px;
}
table .elements td{
border-bottom: 1px solid #cccccc;
border-collapse:collapse;
padding:6px 8px;
}
table tr.elements:hover{
color: #000099;
background: #fff;
}
table .box5{
text-align: left;
}
table .box6{
text-align: center;
}
table .box6 a{
font-weight: bold;
}
.icons_info{
padding: 6px;
}
.icons_info img{
vertical-align: middle;
margin-left: 5px;
}
.ind{
padding: 5px;
}
.normal_text span a{
font-weight: bold;
}
.space{
margin-bottom: 25px;
}
fieldset{
border:1px solid #678995;
float:left;
width:auto;
margin:10px;
padding:10px;
}
legend{
background:none repeat scroll 0 0;
border:medium none;
color:#678995;
padding:2px 6px;
font-size: 17px;
font-weight:bold;
}
#marcacao_tipo label{
display:block;
float:left;
font-weight:bold;
line-height:22px;
padding:0 10px 0 0;
vertical-align:middle;
width:100px;
}
#pedido label{
display:block;
float:left;
font-weight:bold;
line-height:22px;
padding:0 10px 0 0;
vertical-align:middle;
width:130px;
}
#marcacao_tipo input, #pedido input{
float:left;
background:url(imgs/textinputbg.gif) repeat-x scroll 0 0 #FFFFFF;
border:1px solid #D3D3D3;
font-size:12px;
margin:2px 0 20px 10px;
padding:4px 2px;
width:145px;
}
#marcacao_tipo input:focus, #pedido input:focus {
border:1px solid #678995;
}
.form_elemnt {
float:left;
margin-left:30px;
width:85%;
}
.nota{
color: #444444;
font-size: 11px;
margin: 6px;
width:85%;
float: left;
}
.name{
margin-left:10px;
margin-bottom: 6px;
}
.button_marcar{
background:url(imgs/button_marcar.png) no-repeat!important;
width:100px!important;
height: 30px!important;
float:right!important;
border:0px solid!important;
margin:0px!important;
padding:0px!important;
}
.button_marcar:focus{
border:none none;
}
.button_marcar:hover{
background:url(imgs/button_marcar_hover.png) no-repeat!important;
}
.button_marcar:active{
background:url(imgs/button_marcar_active.png) no-repeat!important;
}
.texto{
margin-left: 30px;
}
.button_pedido{
background:url(imgs/button_pedido.png) no-repeat!important;
width:145px!important;
height: 30px!important;
float:right!important;
border:0px solid!important;
margin:0px!important;
padding:0px!important;
}
.button_pedido:focus{
border:none none;
}
.button_pedido:hover{
background:url(imgs/button_pedido_hover.png) no-repeat!important;
}
.button_pedido:active{
background:url(imgs/button_pedido_active.png) no-repeat!important;
}
.button_login{
background:url(imgs/button_login.png) no-repeat!important;
width:114px!important;
height:37px;
float: right!important;
border:0px solid #D3D3D3!important;
color:#000000;
font-size:15px;
margin-bottom:10px;
padding:0px!important;
text-indent:7px;
margin-right: 36px;
}
.button_login:hover{
background:url(imgs/button_login_hover.png) no-repeat!important;
}
.button_login:active{
background:url(imgs/button_login_active.png) no-repeat!important;
}

@ -0,0 +1,88 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head>
<title>SIPRP</title>
<link rel="stylesheet" type="text/css" href="html/css/template.css">
<link href="images/favicon.ico" rel="shortcut icon">
<script type="text/javascript" src="html/js/cufon.js"></script>
<script type="text/javascript" src="html/js/Antipasto_400.font.js"></script>
<script type="text/javascript">
Cufon.replace('#menu', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('h1', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('#menu_s', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.contentheading', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.one', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.resizer', { fontFamily: 'Antipasto', hover:true } );
Cufon.replace('.button_back', { fontFamily: 'Antipasto', hover:true } );
if( !document.all )
{
window.captureEvents(Event.KEYUP);
}
else
{
document.onkeypress = s;
}
function s( e )
{
if( document.all ) // IE
{
var e = window.event.keyCode;
}
else
{
e = e.which;
}
if( e == 13 )
{
document.loginForm.submit();
}
}
</script>
</head>
<body>
<div id="bg_header"></div>
<div class="wrapper">
<div id="header">
<div id="logo"></div>
<div id="lang"></div>
<div id="resizer">
<ul class="resizer">
</ul>
</div>
</div>
<div class="wrapper2">
<div id="menu">
</div>
<div id="cima"></div>
<div id="cont_banner">
<h1>Erro</h1>
<hr>
</div>
<div id="baixo"></div>
</div>
<div id="cont">
<div class="contentheading">$msg</div>
</div>
</div>
<div id="footer">
<div class="wrapper"><div class="wrapperFooter"></div>
<div id="copy"></div>
</div>
</div>
</body>
</html>

@ -0,0 +1,60 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0028)http://www.evolute.pt/siprp/ -->
<HTML><HEAD><TITLE>Siprp</TITLE>
<META http-equiv=content-type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<TABLE style="WIDTH: 1132px; HEIGHT: 288px; TEXT-ALIGN: left" cellSpacing=2
cellPadding=2 border=0>
<TBODY>
<TR>
<TD style="VERTICAL-ALIGN: top; HEIGHT: 50px"><BR></TD>
<TD style="VERTICAL-ALIGN: top; WIDTH: 500px; HEIGHT: 50px"><BR></TD>
<TD style="VERTICAL-ALIGN: top; HEIGHT: 50px"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top; WIDTH: 500px; TEXT-ALIGN: left"><IMG
style="WIDTH: 449px; HEIGHT: 101px" alt=""
src="Siprp_ficheiros/logo_siprp.jpg"></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top; WIDTH: 500px"><SMALL><SPAN
style="FONT-WEIGHT: bold; COLOR: rgb(0,51,102); FONT-FAMILY: verdana">em
construção</SPAN></SMALL><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD
style="VERTICAL-ALIGN: top; WIDTH: 500px; FONT-FAMILY: verdana"><SMALL></SMALL>
<DIV align=justify><SMALL><STRONG>SIPRP - Sociedade Ibérica de Prevenção
de Riscos Profissionais</STRONG></SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>ATRIUM SALDANHA</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>Praça Duque de Saldanha, 1 - 9º
C</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>1050-094 Lisboa</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>Telefone:&nbsp; (+351) 213 504
540</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>Fax: (+351) 213 504
549</SMALL></DIV><SMALL></SMALL>
<DIV align=justify><SMALL>E-mail: <A
href="mailto:geral@siprp.pt">geral@siprp.pt</A></SMALL></DIV><SMALL></SMALL></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR>
<TR>
<TD style="VERTICAL-ALIGN: top"><BR></TD>
<TD
style="VERTICAL-ALIGN: top; FONT-FAMILY: verdana"><SMALL>Desenvolvimento
por: Evolute - Consultoria Informática, Lda</SMALL></TD>
<TD style="VERTICAL-ALIGN: top"><BR></TD></TR></TBODY></TABLE><BR></BODY></HTML>

@ -0,0 +1,18 @@
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|06 Sep 2004 16:01:35 -0000
vti_extenderversion:SR|5.0.2.2623
vti_cacheddtm:TX|06 Sep 2004 16:01:35 -0000
vti_filesize:IR|2907
vti_cachedtitle:SR|Siprp
vti_cachedbodystyle:SR|<BODY>
vti_cachedlinkinfo:VX|S|Siprp_ficheiros/logo_siprp.jpg H|mailto:geral@siprp.pt
vti_cachedsvcrellinks:VX|NSUS|images/Siprp_ficheiros/logo_siprp.jpg NHUS|mailto:geral@siprp.pt
vti_cachedneedsrewrite:BR|false
vti_cachedhasbots:BR|false
vti_cachedhastheme:BR|false
vti_cachedhasborder:BR|false
vti_metatags:VR|HTTP-EQUIV=content-type text/html;\\ charset=ISO-8859-1 GENERATOR MSHTML\\ 6.00.2800.1458
vti_charset:SR|windows-1252
vti_generator:SR|MSHTML 6.00.2800.1458
vti_title:SR|Siprp
vti_backlinkinfo:VX|

@ -0,0 +1,11 @@
vti_encoding:SR|utf8-nl
vti_author:SR|op233351b
vti_modifiedby:SR|op233351b
vti_timelastmodified:TR|06 Sep 2004 17:07:36 -0000
vti_timecreated:TR|06 Sep 2004 17:07:36 -0000
vti_cacheddtm:TX|06 Sep 2004 17:07:36 -0000
vti_filesize:IR|6174
vti_extenderversion:SR|5.0.2.2623
vti_lastwidth:IX|449
vti_lastheight:IX|101
vti_backlinkinfo:VX|index.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save