Add blueprint style and install jRails plugin

This commit is contained in:
Wen-Tien Chang committed 2009-05-15 14:02:28 +08:00
1 parent 0f5ae0d34d
commit 68622bb23c
17 files changed
+821 -13

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
<p>
<%= f.label :name, "Name" %>
<%= f.text_field :name %>
<%= f.text_field :name, :class => 'text' %>
</p>
<p>
+27 -12
View File
@@ -1,17 +1,32 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Pages: <%= controller.action_name %></title>
<%= stylesheet_link_tag 'scaffold' %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>R4</title>
<link rel="shortcut icon" href="/favicon.ico">
<%= yield :page_specific_link %>
<%= stylesheet_link_tag "blueprint/screen", "forms", "main", :media => "screen, projection" %>
<%= stylesheet_link_tag "blueprint/print", :media => "print" %>
<!--[if IE]>
<%= stylesheet_link_tag "blueprint/ie", :media => "screen, projection" %>
<![endif]-->
<%= yield :page_specific_css %>
</head>
<body>
<div class="container">
<div id ="nav" class="span-24">
<%= link_to 'Pages', admin_pages_path %> |
<%= link_to 'Snippet', admin_snippets_path %> |
<%= link_to 'Layout', admin_layouts_path %>
</div>
<%= yield %>
</div>
<p style="color: green"><%= flash[:notice] %></p>
<%= yield %>
<%= javascript_include_tag "jquery",
"jquery-ui",
"jrails",
"application", :cache => 'all' %>
<%= yield :page_specific_javascript %>
</body>
</html>
</html>