dubious 0.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +202 -0
- data/README.rdoc +160 -0
- data/ROADMAP.rdoc +28 -0
- data/Rakefile +130 -0
- data/bin/dubious +4 -0
- data/examples/contacts/Rakefile +169 -0
- data/examples/contacts/WEB-INF/app.yaml +9 -0
- data/examples/contacts/WEB-INF/appengine-web.xml +14 -0
- data/examples/contacts/WEB-INF/classes/controllers/ApplicationController.class +0 -0
- data/examples/contacts/WEB-INF/classes/controllers/ContactsController.class +0 -0
- data/examples/contacts/WEB-INF/classes/controllers/InfoPropertiesController.class +0 -0
- data/examples/contacts/WEB-INF/classes/controllers/SourceController.class +0 -0
- data/examples/contacts/WEB-INF/classes/models/Contact$Query.class +0 -0
- data/examples/contacts/WEB-INF/classes/models/Contact.class +0 -0
- data/examples/contacts/WEB-INF/lib/appengine-api.jar +0 -0
- data/examples/contacts/WEB-INF/lib/dubious.jar +0 -0
- data/examples/contacts/WEB-INF/lib/dubydatastore.jar +0 -0
- data/examples/contacts/WEB-INF/web.xml +3 -0
- data/examples/contacts/app.yaml +44 -0
- data/examples/contacts/app/controllers/application_controller.mirah +5 -0
- data/examples/contacts/app/controllers/contacts_controller.mirah +62 -0
- data/examples/contacts/app/controllers/info_properties_controller.mirah +55 -0
- data/examples/contacts/app/controllers/source_controller.mirah +30 -0
- data/examples/contacts/app/models/contact.mirah +28 -0
- data/examples/contacts/app/views/contacts/edit.html.erb +50 -0
- data/examples/contacts/app/views/contacts/index.html.erb +38 -0
- data/examples/contacts/app/views/contacts/new.html.erb +49 -0
- data/examples/contacts/app/views/contacts/show.html.erb +47 -0
- data/examples/contacts/app/views/layouts/application.html.erb +10 -0
- data/examples/contacts/app/views/layouts/contacts.html.erb +20 -0
- data/examples/contacts/app/views/source/list.html.erb +27 -0
- data/examples/contacts/app/views/source/show.html.erb +15 -0
- data/examples/contacts/config/application.properties +4 -0
- data/examples/contacts/config/asset.properties +32 -0
- data/examples/contacts/config/build.properties +10 -0
- data/examples/contacts/config/routes.properties +1 -0
- data/examples/contacts/public/404.html +30 -0
- data/examples/contacts/public/422.html +30 -0
- data/examples/contacts/public/500.html +30 -0
- data/examples/contacts/public/favicon.ico +0 -0
- data/examples/contacts/public/images/appengine_duby.png +0 -0
- data/examples/contacts/public/images/back.gif +0 -0
- data/examples/contacts/public/images/dir.gif +0 -0
- data/examples/contacts/public/images/dubious.png +0 -0
- data/examples/contacts/public/images/file.gif +0 -0
- data/examples/contacts/public/images/silver-120x30.gif +0 -0
- data/examples/contacts/public/index.html +144 -0
- data/examples/contacts/public/javascripts/effects.js +1128 -0
- data/examples/contacts/public/javascripts/jquery.rails.min.js +117 -0
- data/examples/contacts/public/javascripts/lang/sh_css.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_duby.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_erb.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_html.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_java.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_js.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_mirah.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_properties.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_rb.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_sh.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_xml.min.js +1 -0
- data/examples/contacts/public/javascripts/lang/sh_yaml.min.js +1 -0
- data/examples/contacts/public/javascripts/prototype.js +4320 -0
- data/examples/contacts/public/javascripts/sh_main.min.js +4 -0
- data/examples/contacts/public/robots.txt +0 -0
- data/examples/contacts/public/stylesheets/main.css +188 -0
- data/examples/contacts/public/stylesheets/scaffold.css +57 -0
- data/examples/contacts/public/stylesheets/sh_style.css +66 -0
- data/examples/contacts/public/stylesheets/source.css +27 -0
- data/examples/shout/Rakefile +138 -0
- data/examples/shout/WEB-INF/appengine-web.xml +14 -0
- data/examples/shout/WEB-INF/web.xml +11 -0
- data/examples/shout/app.mirah +35 -0
- data/examples/shout/app.yaml +11 -0
- data/examples/shout/public/404.html +30 -0
- data/examples/shout/public/422.html +30 -0
- data/examples/shout/public/500.html +30 -0
- data/examples/shout/public/favicon.ico +0 -0
- data/examples/shout/public/images/appengine_duby.png +0 -0
- data/examples/shout/public/images/back.gif +0 -0
- data/examples/shout/public/images/dir.gif +0 -0
- data/examples/shout/public/images/file.gif +0 -0
- data/examples/shout/public/images/silver-120x30.gif +0 -0
- data/examples/shout/public/index.html +116 -0
- data/examples/shout/public/javascripts/effects.js +1128 -0
- data/examples/shout/public/javascripts/jquery.rails.min.js +117 -0
- data/examples/shout/public/javascripts/prototype.js +4320 -0
- data/examples/shout/public/robots.txt +0 -0
- data/examples/shout/public/stylesheets/main.css +185 -0
- data/examples/shout/public/stylesheets/scaffold.css +57 -0
- data/examples/shout/views/application.html.erb +10 -0
- data/examples/shout/views/list.html.erb +14 -0
- data/javalib/dubydatastore.jar +0 -0
- data/lib/dubious.jar +0 -0
- data/lib/dubious.rb +2 -0
- data/lib/dubious/cli.rb +65 -0
- data/lib/dubious/templates/base/Rakefile +169 -0
- data/lib/dubious/templates/base/WEB-INF/app.yaml.tt +9 -0
- data/lib/dubious/templates/base/app/controllers/application_controller.mirah +5 -0
- data/lib/dubious/templates/base/config/application.properties.tt +6 -0
- data/lib/dubious/templates/base/config/asset.properties +0 -0
- data/lib/dubious/templates/base/config/build.properties +0 -0
- data/lib/dubious/templates/base/config/routes.properties +1 -0
- data/lib/dubious/templates/base/public/404.html +30 -0
- data/lib/dubious/templates/base/public/422.html +30 -0
- data/lib/dubious/templates/base/public/500.html +30 -0
- data/lib/dubious/templates/base/public/favicon.ico +0 -0
- data/lib/dubious/templates/base/public/images/appengine_duby.png +0 -0
- data/lib/dubious/templates/base/public/images/back.gif +0 -0
- data/lib/dubious/templates/base/public/images/dir.gif +0 -0
- data/lib/dubious/templates/base/public/images/dubious.png +0 -0
- data/lib/dubious/templates/base/public/images/file.gif +0 -0
- data/lib/dubious/templates/base/public/images/silver-120x30.gif +0 -0
- data/lib/dubious/templates/base/public/index.html +144 -0
- data/lib/dubious/templates/base/public/javascripts/jquery.rails.min.js +117 -0
- data/lib/dubious/templates/base/public/robots.txt +0 -0
- data/lib/dubious/templates/base/public/stylesheets/main.css +188 -0
- data/lib/dubious/templates/base/public/stylesheets/scaffold.css +57 -0
- data/lib/dubious/templates/generator/controller.mirah.tt +5 -0
- data/lib/dubious/templates/generator/model.mirah.tt +6 -0
- metadata +224 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
<h1>Editing contact</h1>
|
2
|
+
|
3
|
+
<% f = form_for(@contact) %>
|
4
|
+
<%= f.start_form %>
|
5
|
+
<%= f.error_messages %>
|
6
|
+
<p>
|
7
|
+
<%= f.label :title %><br />
|
8
|
+
<%= f.text_field :title %>
|
9
|
+
</p>
|
10
|
+
<p>
|
11
|
+
<%= f.label :summary %><br />
|
12
|
+
<%= f.text_area :summary %>
|
13
|
+
</p>
|
14
|
+
<p>
|
15
|
+
<%= f.label :birthday %><br />
|
16
|
+
<%= f.date_select :birthday %>
|
17
|
+
</p>
|
18
|
+
<p>
|
19
|
+
<%= f.label :platform %><br />
|
20
|
+
<%= f.radio_button :platform, 'Mac' %>Mac
|
21
|
+
<%= f.radio_button :platform, 'PC' %>PC
|
22
|
+
<%= f.radio_button :platform, 'Linux' %>Linux
|
23
|
+
</p>
|
24
|
+
<p>
|
25
|
+
<%= f.label :editor %><br />
|
26
|
+
<%= f.select :editor, ['Vim','Emacs','TextMate','Other'] %>
|
27
|
+
</p>
|
28
|
+
<p>
|
29
|
+
<%= f.label :url %><br />
|
30
|
+
<%= f.text_field :url, :size => '60' %>
|
31
|
+
</p>
|
32
|
+
<p>
|
33
|
+
<%= f.label :address %><br />
|
34
|
+
<%= f.text_field :address %>
|
35
|
+
</p>
|
36
|
+
<p>
|
37
|
+
<%= f.label :phone %><br />
|
38
|
+
<%= f.text_field :phone %>
|
39
|
+
</p>
|
40
|
+
<p>
|
41
|
+
<%= f.label :private %><br />
|
42
|
+
<%= f.check_box :private %>
|
43
|
+
</p>
|
44
|
+
<p>
|
45
|
+
<%= f.submit 'Update' %>
|
46
|
+
</p>
|
47
|
+
<%= f.end_form %>
|
48
|
+
|
49
|
+
<%= link_to 'Show', resource(@contact, :show) %> |
|
50
|
+
<%= link_to 'Back', resource(:contacts) %>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<h1>Listing contacts</h1>
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<tr>
|
5
|
+
<th>Title</th>
|
6
|
+
<th>Summary</th>
|
7
|
+
<th>Birthday</th>
|
8
|
+
<th>URL</th>
|
9
|
+
<th>Platform</th>
|
10
|
+
<th>Editor</th>
|
11
|
+
<th>Address</th>
|
12
|
+
<th>Phone</th>
|
13
|
+
<th>Private</th>
|
14
|
+
<th>Happy</th>
|
15
|
+
</tr>
|
16
|
+
|
17
|
+
<% @contacts.each do |contact| %>
|
18
|
+
<tr>
|
19
|
+
<td><%=h contact.title %></td>
|
20
|
+
<td><%=h contact.summary %></td>
|
21
|
+
<td><%= date_format(contact.birthday) %></td>
|
22
|
+
<td><%=h contact.url %></td>
|
23
|
+
<td><%=h contact.platform %></td>
|
24
|
+
<td><%=h contact.editor %></td>
|
25
|
+
<td><%=h contact.address %></td>
|
26
|
+
<td><%=h contact.phone %></td>
|
27
|
+
<td><%= contact.private ? :true : :false %></td>
|
28
|
+
<td><%= link_to 'Show', resource(contact) %></td>
|
29
|
+
<td><%= link_to 'Edit', resource(contact, :edit) %></td>
|
30
|
+
<td><%= link_to 'Destroy', resource(contact),
|
31
|
+
:confirm => 'Are you sure?', :method => :delete %></td>
|
32
|
+
</tr>
|
33
|
+
<% end %>
|
34
|
+
</table>
|
35
|
+
|
36
|
+
<br />
|
37
|
+
|
38
|
+
<%= link_to 'New contact', resource(:contacts, :new) %>
|
@@ -0,0 +1,49 @@
|
|
1
|
+
<h1>New contact</h1>
|
2
|
+
|
3
|
+
<% f = form_for(@contact) %>
|
4
|
+
<%= f.start_form %>
|
5
|
+
<%= f.error_messages %>
|
6
|
+
<p>
|
7
|
+
<%= f.label :title %><br />
|
8
|
+
<%= f.text_field :title %>
|
9
|
+
</p>
|
10
|
+
<p>
|
11
|
+
<%= f.label :summary %><br />
|
12
|
+
<%= f.text_area :summary %>
|
13
|
+
</p>
|
14
|
+
<p>
|
15
|
+
<%= f.label :birthday %><br />
|
16
|
+
<%= f.date_select :birthday %>
|
17
|
+
</p>
|
18
|
+
<p>
|
19
|
+
<%= f.label :platform %><br />
|
20
|
+
<%= f.radio_button :platform, 'Mac' %>Mac
|
21
|
+
<%= f.radio_button :platform, 'PC' %>PC
|
22
|
+
<%= f.radio_button :platform, 'Linux' %>Linux
|
23
|
+
</p>
|
24
|
+
<p>
|
25
|
+
<%= f.label :editor %><br />
|
26
|
+
<%= f.select :editor, ['Vim','Emacs','TextMate','Other'] %>
|
27
|
+
</p>
|
28
|
+
<p>
|
29
|
+
<%= f.label :url %><br />
|
30
|
+
<%= f.text_field :url, :size => '60' %>
|
31
|
+
</p>
|
32
|
+
<p>
|
33
|
+
<%= f.label :address %><br />
|
34
|
+
<%= f.text_field :address %>
|
35
|
+
</p>
|
36
|
+
<p>
|
37
|
+
<%= f.label :phone %><br />
|
38
|
+
<%= f.text_field :phone %>
|
39
|
+
</p>
|
40
|
+
<p>
|
41
|
+
<%= f.label :private %><br />
|
42
|
+
<%= f.check_box :private %>
|
43
|
+
</p>
|
44
|
+
<p>
|
45
|
+
<%= f.submit 'Create' %>
|
46
|
+
</p>
|
47
|
+
<%= f.end_form %>
|
48
|
+
|
49
|
+
<%= link_to 'Back', resource(:contacts) %>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<p>
|
2
|
+
<b>Title:</b>
|
3
|
+
<%=h @contact.title %>
|
4
|
+
</p>
|
5
|
+
|
6
|
+
<p>
|
7
|
+
<b>Summary:</b>
|
8
|
+
<%=h @contact.summary %>
|
9
|
+
</p>
|
10
|
+
|
11
|
+
<p>
|
12
|
+
<b>Birthday:</b>
|
13
|
+
<%=h @contact.birthday %>
|
14
|
+
</p>
|
15
|
+
|
16
|
+
<p>
|
17
|
+
<b>Platform:</b>
|
18
|
+
<%=h @contact.platform %>
|
19
|
+
</p>
|
20
|
+
|
21
|
+
<p>
|
22
|
+
<b>Editor:</b>
|
23
|
+
<%=h @contact.editor %>
|
24
|
+
</p>
|
25
|
+
|
26
|
+
<p>
|
27
|
+
<b>Url:</b>
|
28
|
+
<%=h @contact.url %>
|
29
|
+
</p>
|
30
|
+
|
31
|
+
<p>
|
32
|
+
<b>Address:</b>
|
33
|
+
<%=h @contact.address %>
|
34
|
+
</p>
|
35
|
+
|
36
|
+
<p>
|
37
|
+
<b>Phone:</b>
|
38
|
+
<%=h @contact.phone %>
|
39
|
+
</p>
|
40
|
+
|
41
|
+
<p>
|
42
|
+
<b>Private:</b>
|
43
|
+
<%= @contact.private %>
|
44
|
+
</p>
|
45
|
+
|
46
|
+
<%= link_to 'edit', resource(@contact, :edit) %> |
|
47
|
+
<%= link_to 'Back', resource(:contacts) %>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<head>
|
3
|
+
<meta charset="UTF-8" />
|
4
|
+
<meta name="csrf-param" content="authenticity_token"/>
|
5
|
+
<meta name="csrf-token" content="123"/>
|
6
|
+
<title>Contacts: <%= params.action %></title>
|
7
|
+
<%= stylesheet_link_tag 'scaffold' %>
|
8
|
+
<%= stylesheet_link_tag 'http://jqueryui.com/themes/base/jquery.ui.all.css' %>
|
9
|
+
<%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" %>
|
10
|
+
<%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js" %>
|
11
|
+
<%= javascript_include_tag "jquery.rails.min" %>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
|
15
|
+
<p style="color: green"><%= flash_notice %></p>
|
16
|
+
|
17
|
+
<%= yield_body %>
|
18
|
+
|
19
|
+
</body>
|
20
|
+
</html>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<title>View Source: .<%= @path %></title>
|
6
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
7
|
+
<%= stylesheet_link_tag 'source' %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
<div class="main">
|
11
|
+
<div class="head">.<%= @path %></div>
|
12
|
+
<img alt="" border="0" height="16" width="16"
|
13
|
+
onClick="history.go(-1)" src="/images/back.gif" />
|
14
|
+
<a href="javascript: void(0);" onClick="history.go(-1)">..</a><br/>
|
15
|
+
<% for entry in @entries
|
16
|
+
name = entry.getName
|
17
|
+
reserved = name.equals('_ah') # now seems to be hidden
|
18
|
+
kind = (reserved or entry.isDirectory) ? 'dir' : 'file'
|
19
|
+
link = reserved ? '#' : @base + name
|
20
|
+
onclick = "location.href='#{link}'" %>
|
21
|
+
<img alt="" src="/images/<%= kind %>.gif" width='16' height='16'
|
22
|
+
onclick="<%= onclick %>" border='0'>
|
23
|
+
<a href="<%= link %>"><%= name %></a><br/>
|
24
|
+
<% end %>
|
25
|
+
</div>
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head><% ext = @path.substring(@path.lastIndexOf('.') + 1, @path.length) %>
|
5
|
+
<title>View Source: .<%= @path %></title>
|
6
|
+
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
7
|
+
<%= stylesheet_link_tag 'source' %>
|
8
|
+
<%= stylesheet_link_tag 'sh_style' %>
|
9
|
+
<%= javascript_include_tag "sh_main.min" %>
|
10
|
+
<%= javascript_include_tag "lang/sh_#{ext}.min" %>
|
11
|
+
</head>
|
12
|
+
<body onload="sh_highlightDocument();">
|
13
|
+
<pre class="sh_<%= ext %>"><%=h @content %></pre>
|
14
|
+
</body>
|
15
|
+
</html>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# cached assests from: Sat Aug 07 17:48:02 -0700 2010
|
2
|
+
/404.html=1279837288
|
3
|
+
/422.html=1279837288
|
4
|
+
/500.html=1279837288
|
5
|
+
/favicon.ico=1279837288
|
6
|
+
/images/appengine_duby.png=1279837288
|
7
|
+
/images/back.gif=1279837288
|
8
|
+
/images/dir.gif=1279837288
|
9
|
+
/images/file.gif=1279837288
|
10
|
+
/images/silver-120x30.gif=1279837288
|
11
|
+
/index.html=1279837288
|
12
|
+
/javascripts/effects.js=1279837288
|
13
|
+
/javascripts/jquery.rails.min.js=1279837288
|
14
|
+
/javascripts/lang/sh_css.min.js=1279837288
|
15
|
+
/javascripts/lang/sh_duby.min.js=1279837288
|
16
|
+
/javascripts/lang/sh_erb.min.js=1279837288
|
17
|
+
/javascripts/lang/sh_html.min.js=1279837288
|
18
|
+
/javascripts/lang/sh_java.min.js=1279837288
|
19
|
+
/javascripts/lang/sh_js.min.js=1279837288
|
20
|
+
/javascripts/lang/sh_mirah.min.js=1279837288
|
21
|
+
/javascripts/lang/sh_properties.min.js=1279837288
|
22
|
+
/javascripts/lang/sh_rb.min.js=1279837288
|
23
|
+
/javascripts/lang/sh_sh.min.js=1279837288
|
24
|
+
/javascripts/lang/sh_xml.min.js=1279837288
|
25
|
+
/javascripts/lang/sh_yaml.min.js=1279837288
|
26
|
+
/javascripts/prototype.js=1279837288
|
27
|
+
/javascripts/sh_main.min.js=1279837288
|
28
|
+
/robots.txt=1279837288
|
29
|
+
/stylesheets/main.css=1279837288
|
30
|
+
/stylesheets/scaffold.css=1281083782
|
31
|
+
/stylesheets/sh_style.css=1279837288
|
32
|
+
/stylesheets/source.css=1279837288
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# the current build environment
|
2
|
+
application.build.time=2010-07-21T21:30:51-06:00
|
3
|
+
dubious.version.commit=2304770c14a6b8c80900303392ae91df418c84f8
|
4
|
+
dubious.version.time=2010-07-21T12:02:43-06:00
|
5
|
+
mirah.version.commit=cb4d60b0f65353ced0211610493ad5635eba3d23
|
6
|
+
mirah.version.time=2010-07-21T20:43:05-06:00
|
7
|
+
bitescript.version.commit=3bb29885312ac46947876947114c2bca5948c871
|
8
|
+
bitescript.version.time=2010-07-09T18:32:42-06:00
|
9
|
+
model.version.commit=b333b7d814a859086797bcf3fbbb4cd8c7dc5385
|
10
|
+
model.version.time=2010-07-15T15:37:21-06:00
|
@@ -0,0 +1 @@
|
|
1
|
+
# put custom routes here
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
9
|
+
<style type="text/css">
|
10
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
+
div.dialog {
|
12
|
+
width: 25em;
|
13
|
+
padding: 0 4em;
|
14
|
+
margin: 4em auto 0 auto;
|
15
|
+
border: 1px solid #ccc;
|
16
|
+
border-right-color: #999;
|
17
|
+
border-bottom-color: #999;
|
18
|
+
}
|
19
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
+
</style>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<!-- This file lives in public/404.html -->
|
25
|
+
<div class="dialog">
|
26
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
27
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>The change you wanted was rejected (422)</title>
|
9
|
+
<style type="text/css">
|
10
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
+
div.dialog {
|
12
|
+
width: 25em;
|
13
|
+
padding: 0 4em;
|
14
|
+
margin: 4em auto 0 auto;
|
15
|
+
border: 1px solid #ccc;
|
16
|
+
border-right-color: #999;
|
17
|
+
border-bottom-color: #999;
|
18
|
+
}
|
19
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
+
</style>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<!-- This file lives in public/422.html -->
|
25
|
+
<div class="dialog">
|
26
|
+
<h1>The change you wanted was rejected.</h1>
|
27
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
|
+
<title>We're sorry, but something went wrong (500)</title>
|
9
|
+
<style type="text/css">
|
10
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
11
|
+
div.dialog {
|
12
|
+
width: 25em;
|
13
|
+
padding: 0 4em;
|
14
|
+
margin: 4em auto 0 auto;
|
15
|
+
border: 1px solid #ccc;
|
16
|
+
border-right-color: #999;
|
17
|
+
border-bottom-color: #999;
|
18
|
+
}
|
19
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
20
|
+
</style>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body>
|
24
|
+
<!-- This file lives in public/500.html -->
|
25
|
+
<div class="dialog">
|
26
|
+
<h1>We're sorry, but something went wrong.</h1>
|
27
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
28
|
+
</div>
|
29
|
+
</body>
|
30
|
+
</html>
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
5
|
+
<title>Dubious Demo</title>
|
6
|
+
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css">
|
7
|
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
|
8
|
+
<script type="text/javascript">
|
9
|
+
$(function(){
|
10
|
+
var about_content = $('#about-content');
|
11
|
+
var about_link = $('#about-link');
|
12
|
+
var url = about_link.attr('href');
|
13
|
+
|
14
|
+
about_link.click(function(){
|
15
|
+
if (about_content.children().length > 0){ // has children
|
16
|
+
about_content.slideToggle('fast');
|
17
|
+
} else { // does not have children
|
18
|
+
$.ajax({
|
19
|
+
url: url,
|
20
|
+
datatype: 'html',
|
21
|
+
success: function(data){
|
22
|
+
about_content.html(data).slideToggle('fast');
|
23
|
+
},
|
24
|
+
error: function(){
|
25
|
+
about_content.html('<p>Error requesting ' + url + '</p>').slideToggle('fast');
|
26
|
+
}
|
27
|
+
});
|
28
|
+
}
|
29
|
+
return false;
|
30
|
+
});
|
31
|
+
});
|
32
|
+
</script>
|
33
|
+
</head>
|
34
|
+
<body>
|
35
|
+
<div id="page">
|
36
|
+
<div id="sidebar">
|
37
|
+
|
38
|
+
<br/>
|
39
|
+
<img src="images/appengine_duby.png">
|
40
|
+
<br/>
|
41
|
+
|
42
|
+
<ul id="sidebar-items">
|
43
|
+
|
44
|
+
<li>
|
45
|
+
<h3>Join the community</h3>
|
46
|
+
<ul class="links">
|
47
|
+
<li><a
|
48
|
+
href="http://github.com/mirah/dubious"
|
49
|
+
target="_new">Dubious on github</a></li>
|
50
|
+
<li><a
|
51
|
+
href="http://github.com/mirah/mirah"
|
52
|
+
target="_new">Mirah on github</a></li>
|
53
|
+
<li><a
|
54
|
+
href="http://groups.google.com/group/mirah"
|
55
|
+
target="_new">Send Feedback</a></li>
|
56
|
+
</ul>
|
57
|
+
</li>
|
58
|
+
|
59
|
+
<li>
|
60
|
+
<h3>Example Apps</h3>
|
61
|
+
<ul class="links">
|
62
|
+
<li><a
|
63
|
+
href="http://michal-duby.appspot.com/examples/15-puzzle/"
|
64
|
+
title="@michal_hantl"
|
65
|
+
target="_new">15-puzzle</a></li>
|
66
|
+
<li><a
|
67
|
+
href="http://michal-duby.appspot.com/examples/memcache-chat"
|
68
|
+
title="@michal_hantl"
|
69
|
+
target="_new">Memcache Chat</a></li>
|
70
|
+
<li><a
|
71
|
+
href="http://github.com/headius/mirah/tree/master/examples/wiki"
|
72
|
+
title="@ribrdb"
|
73
|
+
target="_new">Mirah Wiki</a></li>
|
74
|
+
<li><a
|
75
|
+
href="http://github.com/jacortinas/appengine-rails-jquery-demo"
|
76
|
+
title="@jacortinas"
|
77
|
+
target="_new">Mustache & GSON</a></li>
|
78
|
+
</ul>
|
79
|
+
</li>
|
80
|
+
|
81
|
+
<li>
|
82
|
+
<h3>Related Videos</h3>
|
83
|
+
<ul class="links">
|
84
|
+
<li><a
|
85
|
+
href="http://www.youtube.com/watch?v=qEuOUkDZg_0"
|
86
|
+
title="2010-08-27 @johnwoodell"
|
87
|
+
target="_new">Mirah and Dubious</a></li>
|
88
|
+
<li><a
|
89
|
+
href="http://www.youtube.com/watch?v=WlsD2FiBIbg"
|
90
|
+
title="2010-07-28 @headius"
|
91
|
+
target="_new">Expressive Languages</a></li>
|
92
|
+
<li><a
|
93
|
+
href="http://www.youtube.com/watch?v=08rNKxW0PPo"
|
94
|
+
title="2009-11-17 @ribrdb"
|
95
|
+
target="_new">Introducing Duby (Mirah)</a></li>
|
96
|
+
</ul>
|
97
|
+
</li>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div id="content">
|
102
|
+
<div id="header">
|
103
|
+
<h1>Prepare for takeoff</h1>
|
104
|
+
<h2>This is Mirah/Dubious on App Engine</h2>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div id="about">
|
108
|
+
<h3><a href="info/properties" id="about-link">About this app’s environment</a> or
|
109
|
+
<a href="/source/">view source</a></h3>
|
110
|
+
<div id="about-content" style="display: none"></div>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
<div id="getting-started">
|
114
|
+
<h1>Getting started</h1>
|
115
|
+
<h2>Here’s how to get rolling:</h2>
|
116
|
+
|
117
|
+
<ol>
|
118
|
+
<li><h2>Assign an app identifier</h2>
|
119
|
+
<p>Simply <a href="http://appengine.google.com/start/createapp"
|
120
|
+
target="_new">create an application</a> at appspot.com,<br>
|
121
|
+
|
122
|
+
<li>
|
123
|
+
<h2>Publish this sample app</h2>
|
124
|
+
<p>Fork this <a href="http://github.com/mirah/dubious">dubious-demo</a></p>
|
125
|
+
</li>
|
126
|
+
|
127
|
+
<li>
|
128
|
+
<h2>Leave a comment</h2>
|
129
|
+
<p>On this <a href="/shout/">shout demo</a> for Mirah</p>
|
130
|
+
</li>
|
131
|
+
|
132
|
+
<li>
|
133
|
+
<h2>Demo RESTful controllers</h2>
|
134
|
+
<p>This <a href="/contacts/">contacts scaffold</a> should be familiar</p>
|
135
|
+
</li>
|
136
|
+
|
137
|
+
</ol>
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
|
141
|
+
<div id="footer"> </div>
|
142
|
+
</div>
|
143
|
+
</body>
|
144
|
+
</html>
|