gwt-run 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +47 -0
- data/bin/gwt +98 -0
- data/bin/gwt~ +97 -0
- data/bin/jetty-run~ +84 -0
- data/lib/gwt-run.rb +21 -0
- data/lib/gwt-run.rb~ +1 -0
- data/lib/gwt_run.rb +21 -0
- data/lib/gwt_run.rb~ +1 -0
- data/lib/jetty-run.rb~ +1 -0
- data/lib/jetty_run.rb~ +1 -0
- data/lib/maven/gwt/Mavenfile +68 -0
- data/lib/maven/gwt/Mavenfile~ +62 -0
- data/lib/maven/gwt/cli.rb +34 -0
- data/lib/maven/gwt/cli.rb~ +14 -0
- data/lib/maven/gwt/generator.rb +86 -0
- data/lib/maven/gwt/generator.rb~ +62 -0
- data/lib/maven/gwt/jetty_project.rb~ +69 -0
- data/lib/maven/gwt/layout.rb +51 -0
- data/lib/maven/gwt/layout.rb~ +27 -0
- data/lib/maven/gwt/pom_magic.rb +74 -0
- data/lib/maven/gwt/pom_magic.rb~ +54 -0
- data/lib/maven/gwt/rack-web.xml +86 -0
- data/lib/maven/gwt/rack-web.xml~ +48 -0
- data/lib/maven/gwt/rack_gwt.rb~ +7 -0
- data/lib/maven/gwt/rack_project.rb~ +105 -0
- data/lib/maven/gwt/rails-web.xml +68 -0
- data/lib/maven/gwt/rails-web.xml~ +48 -0
- data/lib/maven/gwt/rails_project.rb~ +13 -0
- data/lib/maven/gwt/ruby_maven.rb~ +24 -0
- data/lib/maven/gwt/templates/Application.java +68 -0
- data/lib/maven/gwt/templates/Application.java~ +46 -0
- data/lib/maven/gwt/templates/Application.ui.xml +30 -0
- data/lib/maven/gwt/templates/Application.ui.xml~ +9 -0
- data/lib/maven/gwt/templates/EntryPoint.java +80 -0
- data/lib/maven/gwt/templates/EntryPoint.java~ +55 -0
- data/lib/maven/gwt/templates/Module.gwt.xml +44 -0
- data/lib/maven/gwt/templates/Module.gwt.xml~ +24 -0
- data/lib/maven/gwt/templates/ModuleDevelopment.gwt.xml +31 -0
- data/lib/maven/gwt/templates/ModuleDevelopment.gwt.xml~ +7 -0
- data/lib/maven/gwt/templates/gwt.css +95 -0
- data/lib/maven/gwt/templates/index.html +49 -0
- data/lib/maven/gwt/templates/index.html~ +29 -0
- data/lib/maven/gwt/version.rb +25 -0
- data/lib/maven/gwt/version.rb~ +5 -0
- data/lib/maven/gwt/web.xml~ +37 -0
- data/lib/rack/gwt/rack_gwt.rb~ +7 -0
- data/lib/rack/gwt/static.rb +58 -0
- data/lib/rack/gwt/static.rb~ +28 -0
- metadata +188 -0
@@ -0,0 +1,68 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (C) 2013 Christian Meier
|
3
|
+
*
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
+
* this software and associated documentation files (the "Software"), to deal in
|
6
|
+
* the Software without restriction, including without limitation the rights to
|
7
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
+
* subject to the following conditions:
|
10
|
+
*
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
12
|
+
* copies or substantial portions of the Software.
|
13
|
+
*
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
*/
|
21
|
+
|
22
|
+
package <%= base_package %>;
|
23
|
+
|
24
|
+
<% if options[:gin] -%>
|
25
|
+
import javax.inject.Inject;
|
26
|
+
import javax.inject.Singleton;
|
27
|
+
<% end -%>
|
28
|
+
|
29
|
+
import com.google.gwt.core.client.GWT;
|
30
|
+
import com.google.gwt.uibinder.client.UiBinder;
|
31
|
+
import com.google.gwt.uibinder.client.UiField;
|
32
|
+
import com.google.gwt.user.client.ui.Composite;
|
33
|
+
import com.google.gwt.user.client.ui.Widget;
|
34
|
+
import com.google.gwt.user.client.ui.RootPanel;
|
35
|
+
|
36
|
+
<% if options[:gin] -%>
|
37
|
+
@Singleton
|
38
|
+
<% end -%>
|
39
|
+
public class <%= application_class_name %>Application extends Composite {
|
40
|
+
|
41
|
+
interface Binder extends UiBinder<Widget, <%= application_class_name %>Application> {}
|
42
|
+
|
43
|
+
private static Binder BINDER = GWT.create(Binder.class);
|
44
|
+
|
45
|
+
<% if options[:gin] -%>
|
46
|
+
@Inject
|
47
|
+
<% end -%>
|
48
|
+
<%= application_class_name %>Application(){
|
49
|
+
initWidget( BINDER.createAndBindUi( this ) );
|
50
|
+
}
|
51
|
+
|
52
|
+
<% if options[:gwt_ruby] -%>
|
53
|
+
@Override
|
54
|
+
<% end -%>
|
55
|
+
public void run() {
|
56
|
+
RootPanel.get().add(this.asWidget());
|
57
|
+
}
|
58
|
+
<% if options[:session] -%>
|
59
|
+
|
60
|
+
@Override
|
61
|
+
public void startSession(User user) {
|
62
|
+
}
|
63
|
+
|
64
|
+
@Override
|
65
|
+
public void stopSession() {
|
66
|
+
}
|
67
|
+
<% end -%>
|
68
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
package <%= base_package %>;
|
2
|
+
|
3
|
+
<% if options[:gin] -%>
|
4
|
+
import javax.inject.Inject;
|
5
|
+
import javax.inject.Singleton;
|
6
|
+
<% end -%>
|
7
|
+
|
8
|
+
import com.google.gwt.core.client.GWT;
|
9
|
+
import com.google.gwt.uibinder.client.UiBinder;
|
10
|
+
import com.google.gwt.uibinder.client.UiField;
|
11
|
+
import com.google.gwt.user.client.ui.Composite;
|
12
|
+
import com.google.gwt.user.client.ui.Widget;
|
13
|
+
|
14
|
+
<% if options[:gin] -%>
|
15
|
+
@Singleton
|
16
|
+
<% end -%>
|
17
|
+
public class <%= application_class_name %>Application extends Composite {
|
18
|
+
|
19
|
+
interface Binder extends UiBinder<Widget, <%= application_class_name %>Application> {}
|
20
|
+
|
21
|
+
private static Binder BINDER = GWT.create(Binder.class);
|
22
|
+
|
23
|
+
<% if options[:gin] -%>
|
24
|
+
@Inject
|
25
|
+
<% end -%>
|
26
|
+
<%= application_class_name %>Application(){
|
27
|
+
initWidget( BINDER.createAndBindUi( this ) );
|
28
|
+
}
|
29
|
+
|
30
|
+
<% if options[:gwt_ruby] -%>
|
31
|
+
@Override
|
32
|
+
<% end -%>
|
33
|
+
public void run() {
|
34
|
+
//TODO
|
35
|
+
}
|
36
|
+
<% if options[:session] -%>
|
37
|
+
|
38
|
+
@Override
|
39
|
+
public void startSession(User user) {
|
40
|
+
}
|
41
|
+
|
42
|
+
@Override
|
43
|
+
public void stopSession() {
|
44
|
+
}
|
45
|
+
<% end -%>
|
46
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright (C) 2013 Christian Meier
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
+
this software and associated documentation files (the "Software"), to deal in
|
6
|
+
the Software without restriction, including without limitation the rights to
|
7
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
+
subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
12
|
+
copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
-->
|
21
|
+
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
22
|
+
<ui:UiBinder
|
23
|
+
xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
24
|
+
xmlns:g="urn:import:com.google.gwt.user.client.ui">
|
25
|
+
|
26
|
+
<g:HTMLPanel>
|
27
|
+
<h1>Hello <%= application_name_humanized %> !</h1>
|
28
|
+
</g:HTMLPanel>
|
29
|
+
|
30
|
+
</ui:UiBinder>
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (C) 2013 Christian Meier
|
3
|
+
*
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
+
* this software and associated documentation files (the "Software"), to deal in
|
6
|
+
* the Software without restriction, including without limitation the rights to
|
7
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
+
* subject to the following conditions:
|
10
|
+
*
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
12
|
+
* copies or substantial portions of the Software.
|
13
|
+
*
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
*/
|
21
|
+
|
22
|
+
package <%= base_package %>;
|
23
|
+
|
24
|
+
import com.google.gwt.core.client.EntryPoint;
|
25
|
+
import com.google.gwt.core.client.GWT;
|
26
|
+
<% if options[:gin] -%>
|
27
|
+
import com.google.gwt.inject.client.GinModules;
|
28
|
+
import com.google.gwt.inject.client.Ginjector;
|
29
|
+
<% end -%>
|
30
|
+
<% if options[:place] -%>
|
31
|
+
import com.google.gwt.place.shared.PlaceHistoryHandler;
|
32
|
+
<% end -%>
|
33
|
+
<% if options[:gwt_ruby] -%>
|
34
|
+
|
35
|
+
import <%= gwt_rails_package %>.Application;
|
36
|
+
import <%= gwt_rails_package %>.dispatchers.DefaultDispatcherSingleton;
|
37
|
+
<% end -%>
|
38
|
+
|
39
|
+
import org.fusesource.restygwt.client.Defaults;
|
40
|
+
|
41
|
+
/**
|
42
|
+
* Entry point classes define <code>onModuleLoad()</code>.
|
43
|
+
*/
|
44
|
+
public class <%= application_class_name %>EntryPoint implements EntryPoint {
|
45
|
+
<% if options[:gin] -%>
|
46
|
+
|
47
|
+
@GinModules(<%= application_class_name %>GinModule.class)
|
48
|
+
static public interface <%= application_class_name %>Ginjector extends Ginjector {
|
49
|
+
<% if options[:place] -%>
|
50
|
+
PlaceHistoryHandler getPlaceHistoryHandler();
|
51
|
+
<% end -%>
|
52
|
+
Application getApplication();
|
53
|
+
}
|
54
|
+
<% end -%>
|
55
|
+
|
56
|
+
/**
|
57
|
+
* This is the entry point method.
|
58
|
+
*/
|
59
|
+
public void onModuleLoad() {
|
60
|
+
Defaults.setServiceRoot(GWT.getModuleBaseURL().replaceFirst("[a-zA-Z0-9_]+/$", ""));
|
61
|
+
<% if options[:gwt_ruby] -%>
|
62
|
+
Defaults.setDispatcher(DefaultDispatcherSingleton.INSTANCE);
|
63
|
+
<% end -%>
|
64
|
+
GWT.log("base url for restservices: " + Defaults.getServiceRoot());
|
65
|
+
<% if options[:gin] -%>
|
66
|
+
|
67
|
+
final <%= application_class_name %>Ginjector injector = GWT.create(<%= application_class_name %>Ginjector.class);
|
68
|
+
|
69
|
+
// setup display
|
70
|
+
injector.getApplication().run();
|
71
|
+
<% if options[:place] -%>
|
72
|
+
|
73
|
+
// Goes to the place represented on URL else default place
|
74
|
+
injector.getPlaceHistoryHandler().handleCurrentHistory();
|
75
|
+
<% end -%>
|
76
|
+
<% else -%>
|
77
|
+
new <%= application_class_name %>Application().run();
|
78
|
+
<% end -%>
|
79
|
+
}
|
80
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
package <%= base_package %>;
|
2
|
+
|
3
|
+
import com.google.gwt.core.client.EntryPoint;
|
4
|
+
import com.google.gwt.core.client.GWT;
|
5
|
+
<% if options[:gin] -%>
|
6
|
+
import com.google.gwt.inject.client.GinModules;
|
7
|
+
import com.google.gwt.inject.client.Ginjector;
|
8
|
+
<% end -%>
|
9
|
+
<% if options[:place] -%>
|
10
|
+
import com.google.gwt.place.shared.PlaceHistoryHandler;
|
11
|
+
<% end -%>
|
12
|
+
|
13
|
+
import <%= gwt_rails_package %>.Application;
|
14
|
+
import <%= gwt_rails_package %>.dispatchers.DefaultDispatcherSingleton;
|
15
|
+
|
16
|
+
import org.fusesource.restygwt.client.Defaults;
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Entry point classes define <code>onModuleLoad()</code>.
|
20
|
+
*/
|
21
|
+
public class <%= application_class_name %>EntryPoint implements EntryPoint {
|
22
|
+
<% if options[:gin] -%>
|
23
|
+
|
24
|
+
@GinModules(<%= application_class_name %>GinModule.class)
|
25
|
+
static public interface <%= application_class_name %>Ginjector extends Ginjector {
|
26
|
+
<% if options[:place] -%>
|
27
|
+
PlaceHistoryHandler getPlaceHistoryHandler();
|
28
|
+
<% end -%>
|
29
|
+
Application getApplication();
|
30
|
+
}
|
31
|
+
<% end -%>
|
32
|
+
|
33
|
+
/**
|
34
|
+
* This is the entry point method.
|
35
|
+
*/
|
36
|
+
public void onModuleLoad() {
|
37
|
+
Defaults.setServiceRoot(GWT.getModuleBaseURL().replaceFirst("[a-zA-Z0-9_]+/$", ""));
|
38
|
+
Defaults.setDispatcher(DefaultDispatcherSingleton.INSTANCE);
|
39
|
+
GWT.log("base url for restservices: " + Defaults.getServiceRoot());
|
40
|
+
<% if options[:gin] -%>
|
41
|
+
|
42
|
+
final <%= application_class_name %>Ginjector injector = GWT.create(<%= application_class_name %>Ginjector.class);
|
43
|
+
|
44
|
+
// setup display
|
45
|
+
injector.getApplication().run();
|
46
|
+
<% if options[:place] -%>
|
47
|
+
|
48
|
+
// Goes to the place represented on URL else default place
|
49
|
+
injector.getPlaceHistoryHandler().handleCurrentHistory();
|
50
|
+
<% end -%>
|
51
|
+
<% else -%>
|
52
|
+
new <%= application_class_name %>Application().run();
|
53
|
+
<% end -%>
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright (C) 2013 Christian Meier
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
+
this software and associated documentation files (the "Software"), to deal in
|
6
|
+
the Software without restriction, including without limitation the rights to
|
7
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
+
subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
12
|
+
copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
-->
|
21
|
+
<module rename-to='<%= application_class_name %>'>
|
22
|
+
|
23
|
+
<inherits name='com.google.gwt.user.User'/>
|
24
|
+
<% if options[:place] -%>
|
25
|
+
|
26
|
+
<inherits name='com.google.gwt.activity.Activity'/>
|
27
|
+
<inherits name='com.google.gwt.place.Place'/>
|
28
|
+
<% end -%>
|
29
|
+
<% if options[:gin] -%>
|
30
|
+
|
31
|
+
<inherits name='com.google.gwt.inject.Inject'/>
|
32
|
+
<% end -%>
|
33
|
+
|
34
|
+
<inherits name='org.fusesource.restygwt.RestyGWT'/>
|
35
|
+
<% if options[:gwt_ruby] -%>
|
36
|
+
|
37
|
+
<inherits name='de.mkristian.gwt.RubyGWT'/>
|
38
|
+
<% end -%>
|
39
|
+
|
40
|
+
<entry-point class='<%= base_package %>.<%= application_class_name %>EntryPoint' />
|
41
|
+
|
42
|
+
<stylesheet src='../<%= application_name %>.css'/>
|
43
|
+
|
44
|
+
</module>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<module rename-to='<%= application_class_name %>'>
|
2
|
+
|
3
|
+
<inherits name='com.google.gwt.user.User'/>
|
4
|
+
<% if options[:place] -%>
|
5
|
+
|
6
|
+
<inherits name='com.google.gwt.activity.Activity'/>
|
7
|
+
<inherits name='com.google.gwt.place.Place'/>
|
8
|
+
<% end -%>
|
9
|
+
<% if options[:gin] -%>
|
10
|
+
|
11
|
+
<inherits name='com.google.gwt.inject.Inject'/>
|
12
|
+
<% end -%>
|
13
|
+
|
14
|
+
<inherits name='org.fusesource.restygwt.RestyGWT'/>
|
15
|
+
<% if options[:gwt_rails] -%>
|
16
|
+
|
17
|
+
<inherits name='de.mkristian.gwt.RailsGWT'/>
|
18
|
+
<% end -%>
|
19
|
+
|
20
|
+
<entry-point class='<%= base_package %>.<%= application_class_name %>EntryPoint' />
|
21
|
+
|
22
|
+
<stylesheet src='../stylesheets/<%= application_name %>.css'/>
|
23
|
+
|
24
|
+
</module>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<!--
|
2
|
+
Copyright (C) 2013 Christian Meier
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
+
this software and associated documentation files (the "Software"), to deal in
|
6
|
+
the Software without restriction, including without limitation the rights to
|
7
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
+
subject to the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
12
|
+
copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
-->
|
21
|
+
<module rename-to='<%= application_class_name %>'>
|
22
|
+
|
23
|
+
<collapse-all-properties />
|
24
|
+
|
25
|
+
<inherits name='<%= base_package.sub /.client/, '' %>.<%= application_class_name %>' />
|
26
|
+
|
27
|
+
<!-- for gwt codeserver -->
|
28
|
+
<add-linker name="xsiframe"/>
|
29
|
+
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
|
30
|
+
|
31
|
+
</module>
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (C) 2013 Christian Meier
|
3
|
+
*
|
4
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
5
|
+
* this software and associated documentation files (the "Software"), to deal in
|
6
|
+
* the Software without restriction, including without limitation the rights to
|
7
|
+
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
8
|
+
* the Software, and to permit persons to whom the Software is furnished to do so,
|
9
|
+
* subject to the following conditions:
|
10
|
+
*
|
11
|
+
* The above copyright notice and this permission notice shall be included in all
|
12
|
+
* copies or substantial portions of the Software.
|
13
|
+
*
|
14
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
16
|
+
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
17
|
+
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
18
|
+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
19
|
+
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
20
|
+
*/
|
21
|
+
|
22
|
+
.notice
|
23
|
+
{
|
24
|
+
background-color:lightgoldenRodYellow;
|
25
|
+
border:1px solid darkgoldenrod;
|
26
|
+
color:darkgoldenrod;
|
27
|
+
margin-left:35%;
|
28
|
+
margin-right:35%;
|
29
|
+
padding-left:5%;
|
30
|
+
width:30%;
|
31
|
+
padding-right:5%;
|
32
|
+
padding-top:.5em;
|
33
|
+
padding-bottom:.5em;
|
34
|
+
overflow:auto;;
|
35
|
+
position:absolute;
|
36
|
+
top:3em;
|
37
|
+
opacity:.9;
|
38
|
+
}
|
39
|
+
.gwt-rails-breadcrumbs *
|
40
|
+
{
|
41
|
+
float: right;
|
42
|
+
display: inline;
|
43
|
+
}
|
44
|
+
.gwt-rails-breadcrumbs *
|
45
|
+
{
|
46
|
+
margin-left: 1em;
|
47
|
+
}
|
48
|
+
.gwt-rails-menu *
|
49
|
+
{
|
50
|
+
float: left;
|
51
|
+
display: inline;
|
52
|
+
}
|
53
|
+
.gwt-rails-display, .gwt-rails-model-signature, .gwt-rails-model-fields
|
54
|
+
{
|
55
|
+
clear: both;
|
56
|
+
}
|
57
|
+
.gwt-rails-model-signature *
|
58
|
+
{
|
59
|
+
font-size: 0.7em;
|
60
|
+
float: left;
|
61
|
+
display: inline;
|
62
|
+
margin-right: .3em;
|
63
|
+
}
|
64
|
+
.gwt-rails-model-signature span
|
65
|
+
{
|
66
|
+
margin-right: 1em;
|
67
|
+
}
|
68
|
+
.gwt-rails-model-fields > div > *
|
69
|
+
{
|
70
|
+
display: block;
|
71
|
+
}
|
72
|
+
.gwt-rails-model-signature, .gwt-rails-buttons, .gwt-rails-display
|
73
|
+
{
|
74
|
+
margin-top: .3em;
|
75
|
+
}
|
76
|
+
.gwt-rails-model-fields .gwt-TextBox, .gwt-rails-model-fields .gwt-TextArea
|
77
|
+
{
|
78
|
+
width: 30%;
|
79
|
+
}
|
80
|
+
.gwt-rails-model-fields .gwt-TextArea
|
81
|
+
{
|
82
|
+
height: 6em;
|
83
|
+
}
|
84
|
+
|
85
|
+
.gwt-rails-application-links > div
|
86
|
+
{
|
87
|
+
display: inline;
|
88
|
+
border-left: solid darkblue 1px;
|
89
|
+
border-right: solid darkblue 1px;
|
90
|
+
padding-left: 0.5em;
|
91
|
+
padding-right: 0.5em;
|
92
|
+
margin: 0;
|
93
|
+
margin-left: -1px;
|
94
|
+
font-size: 0.9em;
|
95
|
+
}
|