diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-11-03 11:02:30 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-11-03 11:02:30 +1300 |
commit | 9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39 (patch) | |
tree | cd1bb509448bd690b37892566a6be8369be80a40 /src/main/webapp/WEB-INF | |
download | trackermap-web-9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39.tar.gz trackermap-web-9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39.tar.bz2 trackermap-web-9cc6eebd2e4c95fa3ac633df7a4d1255a2f00c39.zip |
Created project
Diffstat (limited to 'src/main/webapp/WEB-INF')
5 files changed, 73 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/classes/org/traccar/web/Traccar.gwt.xml b/src/main/webapp/WEB-INF/classes/org/traccar/web/Traccar.gwt.xml new file mode 100644 index 00000000..ff123394 --- /dev/null +++ b/src/main/webapp/WEB-INF/classes/org/traccar/web/Traccar.gwt.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module rename-to='Traccar'> + <!-- Inherit the core Web Toolkit stuff. --> + <inherits name='com.google.gwt.user.User' /> + + <!-- We need the JUnit module in the main module, --> + <!-- otherwise eclipse complains (Google plugin bug?) --> + <inherits name='com.google.gwt.junit.JUnit' /> + + <!-- Inherit the default GWT style sheet. You can change --> + <!-- the theme of your GWT application by uncommenting --> + <!-- any one of the following lines. --> + <inherits name='com.google.gwt.user.theme.standard.Standard' /> + <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> + <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> + + <!-- Other module inherits --> + + <!-- Specify the app entry point class. --> + <entry-point class='org.traccar.web.client.Traccar' /> + + <!-- Specify the paths for translatable code --> + <source path='client' /> + <source path='shared' /> + +</module> diff --git a/src/main/webapp/WEB-INF/classes/org/traccar/web/client/Messages.properties b/src/main/webapp/WEB-INF/classes/org/traccar/web/client/Messages.properties new file mode 100644 index 00000000..c222555b --- /dev/null +++ b/src/main/webapp/WEB-INF/classes/org/traccar/web/client/Messages.properties @@ -0,0 +1,2 @@ +sendButton = Send +nameField = Enter your name
\ No newline at end of file diff --git a/src/main/webapp/WEB-INF/classes/org/traccar/web/client/Messages_fr.properties b/src/main/webapp/WEB-INF/classes/org/traccar/web/client/Messages_fr.properties new file mode 100644 index 00000000..b4a76270 --- /dev/null +++ b/src/main/webapp/WEB-INF/classes/org/traccar/web/client/Messages_fr.properties @@ -0,0 +1,2 @@ +sendButton = Envoyer +nameField = Entrez votre nom
\ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jetty-web.xml b/src/main/webapp/WEB-INF/jetty-web.xml new file mode 100644 index 00000000..f959e1b3 --- /dev/null +++ b/src/main/webapp/WEB-INF/jetty-web.xml @@ -0,0 +1,10 @@ +<Configure class="org.mortbay.jetty.webapp.WebAppContext"> + <Get name="securityHandler"> + <Set name="userRealm"> + <New class="org.mortbay.jetty.security.HashUserRealm"> + <Set name="name">Test Realm</Set> + <Set name="config"><SystemProperty name="jetty.home" default="."/>/src/test/realm.properties</Set> + </New> + </Set> + </Get> +</Configure> diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000..81fa375a --- /dev/null +++ b/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!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> + + <!--<security-role> + <role-name>admin</role-name> + </security-role> + <security-role> + <role-name>user</role-name> + <security-role>--> + + <!--<security-constraint> + <web-resource-collection> + <url-pattern>/*</url-pattern> + </web-resource-collection> + <auth-constraint> + <role-name>admin</role-name> + <role-name>user</role-name> + </auth-constraint> + </security-constraint> + + <login-config> + <auth-method>BASIC</auth-method> + </login-config>--> + + <welcome-file-list> + <welcome-file>traccar.html</welcome-file> + </welcome-file-list> + +</web-app> |