public
Description: Host your Google AppEngine apps on your own server.
Homepage: http://appdrop.com
Clone URL: git://github.com/jchris/appdrop.git
Search Repo:
bragged a little on the front page, and you can logout
jchris (author)
Mon Apr 14 00:09:23 -0700 2008
commit  88af697bd436f98293ed07f6534636c4a96b2e2e
tree    2cd01b0fa3124ab81be27563f35d5b37851b1c11
parent  41bf92b74dcec748b21fc0e538c600dc0fe9187f
...
10
11
12
13
14
 
 
 
 
 
 
 
 
15
16
 
17
18
19
20
21
 
 
...
10
11
12
 
 
13
14
15
16
17
18
19
20
21
 
22
23
24
25
 
26
27
28
0
@@ -10,11 +10,18 @@
0
     <div id="header">
0
       <h1><a href="/">AppDrop</a><%= " | #{@title}" if @title %></h1>
0
       <% if false && flash[:notice] %><h3 id="flash"><%= flash[:notice] %></h3><% end %>
0
- <% if current_user %>
0
- <p>Hello <%= current_user %>. <%= link_to "You may click here to logout" %></p>
0
+<div id="loginout"> <% if current_user %>
0
+ <form action="/login" method="post">
0
+ Hello <%= current_user %>.
0
+ <%= hidden_field_tag :_method, :delete %>
0
+ <%= submit_tag "Click to logout", :class => "small" %>
0
+ </form>
0
+ <% else %>
0
+ <%= link_to( "Login or Signup here", "/login") unless controller.controller_name == "login" %>
0
       <% end %>
0
- </div>
0
+</div> </div>
0
     <%= yield %>
0
     </div>
0
   </body>
0
-</html>
0
\ No newline at end of file
0
+</html>
0
+
...
1
2
 
3
...
 
1
2
3
0
@@ -1 +1 @@
0
-16403
0
\ No newline at end of file
0
+23374
0
\ No newline at end of file
...
16
17
18
19
 
 
20
21
22
...
16
17
18
 
19
20
21
22
23
0
@@ -16,7 +16,8 @@
0
 
0
 <p><strong>Confidence builder:</strong> AppDrop is a proof-of-concept, made to show that the AppEngine platform released by Google is not closed, and could easily be supported by other hosts. Unlike Google&apos;s project, we make no claims to be able to scale beyond a small amount of traffic. In fact, at AppDrop we reserve the right to shut the whole thing down any time we feel like it. We're running on EC2, so <em>our virtual machine could just disappear at any time</em>. We hope you enjoy AppDrop. If we see enough demand, we might decided to make serious go at it. Only time will tell.</p>
0
 <h2><em>Lock in, we don&apos;t need no stinking lock in!</em></h2>
0
-<p><strong>Use at your own risk!</strong> Our current implementation makes no claims to be a finished product. For that reason, we&apos;re doing the simplest thing that could possibly work on most fronts. This means that we&apos;ve pretty much ignored security concerns, so for the time being please don&apos;t upload any applications that deal in sensitive data. Also, we&apos;ve yet to enable email support. This application and the EC2 Image that support it will be released for you to play with soon enough, so if email support, database scaling, or more secure logins are important to you, you&apos;ll have the opportunity to implement them yourself.</p>
0
+<p><strong>Use at your own risk!</strong> Our current implementation makes no claims to be a finished product. For that reason, we&apos;re doing the simplest thing that could possibly work on most fronts. This means that we&apos;ve pretty much ignored security concerns, so for the time being please don&apos;t upload any applications that deal in sensitive data. Also, we&apos;ve yet to enable email support. This application and the EC2 Image that support it will be released for you to play with soon enough, so if email support, database scaling, or more secure logins are important to you, you&apos;ll have the opportunity to implement them yourself. </p>
0
+<p>(We&apos;ve made one enhancement over and above what Google&apos;s implementation supports: you can set your own nickname, rather than having it derived from your email address&mdash;hopefully this won&apos;t bring on unexpected bugs.)</p>
0
 <p>Hacked together by <a href="http://jchris.mfdz.com">Chris Anderson</a> with moral support from <a href="http://bottlecaplabs.net/">Bottlecap Labs</a>. <a href="https://github.com/jchris/portable-google-app-engine-sdk/tree/master">Download the Modified App Engine SDK</a> or <a href="https://github.com/jchris/appdrop/tree/master">get the AppDrop.com source code (the Rails app you&apos;re looking at)</a>.</p>
0
     </div>
0
   </body>
...
34
35
36
 
 
 
37
38
39
...
41
42
43
 
 
 
 
44
45
...
34
35
36
37
38
39
40
41
42
...
44
45
46
47
48
49
50
51
52
0
@@ -34,6 +34,9 @@ ol {
0
   padding:0;
0
   list-style: none;
0
 }
0
+#loginout {
0
+ float:right;
0
+}
0
 form li {
0
   clear:left;
0
   padding:4px;
0
@@ -41,4 +44,8 @@ form li {
0
 input[type=submit] {
0
   margin:20px;
0
   font-size:2em;
0
+}
0
+input.small {
0
+ margin:4px;
0
+ font-size:1em;
0
 }
0
\ No newline at end of file

Comments

    No one has commented yet.