bacchus 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bacchus/rack/beta_site.rb +9 -9
- data/lib/bacchus/version.rb +1 -1
- metadata +1 -1
@@ -35,15 +35,15 @@ module Rack
|
|
35
35
|
|
36
36
|
def render_access_form
|
37
37
|
body = <<-EOS
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
38
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
39
|
+
<html>
|
40
|
+
<head>
|
41
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
|
42
|
+
<script src="#{path_to('bacchus.js')}" type="text/javascript"></script>
|
43
|
+
</head>
|
44
|
+
<body>
|
45
|
+
</body>
|
46
|
+
</html>
|
47
47
|
EOS
|
48
48
|
[200, {'Content-Type' => 'text/html', 'Content-Length' => body.length.to_s}, [body]]
|
49
49
|
end
|
data/lib/bacchus/version.rb
CHANGED