prop_up 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -221
- data/lib/prop/app_builder.rb +45 -28
- data/lib/prop/generators/app_generator.rb +40 -1
- data/lib/prop/version.rb +1 -1
- data/prop.gemspec +1 -0
- data/templates/Gemfile_clean +3 -0
- data/templates/application.js +9 -0
- data/templates/backbone.js +1586 -0
- data/templates/leaflet_map.js +50 -0
- data/templates/modernizr.js +834 -0
- data/templates/places.coffee +6 -0
- data/templates/prop_layout.html.erb.erb +20 -6
- data/templates/underscore.js +1282 -0
- metadata +22 -2
@@ -1,15 +1,29 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
+
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
3
|
+
<!--[if lt IE 7 ]> <html class="ie6" lang="en"> <![endif]-->
|
4
|
+
<!--[if IE 7 ]> <html class="ie7" lang="en"> <![endif]-->
|
5
|
+
<!--[if IE 8 ]> <html class="ie8" lang="en"> <![endif]-->
|
6
|
+
<!--[if IE 9 ]> <html class="ie9" lang="en"> <![endif]-->
|
7
|
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
|
2
8
|
<html>
|
3
9
|
<head>
|
4
10
|
<meta charset="utf-8" />
|
5
11
|
<meta name="ROBOTS" content="NOODP" />
|
6
|
-
<title><%%=
|
7
|
-
|
8
|
-
|
12
|
+
<title><%%= app_name %></title>
|
13
|
+
<!-- Uncomment to make IE8 render like IE7 -->
|
14
|
+
<!-- <meta http-equiv="X-UA-Compatible" content="IE=7" /> -->
|
15
|
+
|
16
|
+
<!-- Set the viewport width to device width for mobile -->
|
17
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
18
|
+
<%= stylesheet_link_tag :application, :media => 'all' %>
|
19
|
+
<%= javascript_include_tag "vendor/custom.modernizr" %>
|
20
|
+
<%= csrf_meta_tags %>
|
9
21
|
</head>
|
10
22
|
<body class="<%%= body_class %>">
|
11
|
-
|
12
|
-
|
13
|
-
|
23
|
+
<%= render 'flashes' -%>
|
24
|
+
<%= yield %>
|
25
|
+
<%= render 'javascript' %>
|
26
|
+
<%= javascript_include_tag 'http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false' %>
|
27
|
+
<%= javascript_include_tag "application" %>
|
14
28
|
</body>
|
15
29
|
</html>
|