Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tatsuro Ueda
committed
Feb 26, 2013
1 parent
992d2aa
commit d609a64
Showing
11 changed files
with
211 additions
and
90 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,5 @@ | |
* | ||
*= require_self | ||
*= require_tree . | ||
*= require 'base' | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import "bootstrap"; | ||
@import "bootstrap-responsive"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
// Place all the styles related to the view controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ | ||
|
||
body { | ||
padding-top: 60px; | ||
padding-bottom: 40px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,32 @@ | ||
<h1>のぞみページ2</h1> | ||
<div class="container"> | ||
|
||
<table> | ||
<tr> | ||
<th>タイトル</th> | ||
<th></th> | ||
<th></th> | ||
<th></th> | ||
</tr> | ||
<!-- Main hero unit for a primary marketing message or call to action --> | ||
<div class="hero-unit"> | ||
<h1>のぞみページ2</h1> | ||
<p>ドキドキ・プリキュアのページです</p> | ||
</div> | ||
|
||
<% @pages.each do |page| %> | ||
<tr> | ||
<td><%= page.title %></td> | ||
<td><%= link_to 'みる', controller: "view", action: "show", id: page.id %></td> | ||
</tr> | ||
<!-- Example row of columns --> | ||
<% last_index = @pages.count - 1 %> | ||
<% @pages.each_with_index do |page, index| %> | ||
<% if index % 3 == 0 %> | ||
<div class="row"> | ||
<% end %> | ||
<div class="span4"> | ||
<h2><%= page.title %></h2> | ||
<p><%= image_tag page.image.url %></p> | ||
<p><%= page.text %></p> | ||
<p><%= link_to 'みる', controller: "view", action: "show", id: page.id %></p> | ||
</div> | ||
<% if index % 3 == 2 or index == last_index %> | ||
</div> | ||
<% end %> | ||
<% end %> | ||
</table> | ||
|
||
<hr> | ||
|
||
<footer> | ||
<p>© Company 2013</p> | ||
</footer> | ||
|
||
</div> |
Binary file added
BIN
+14 KB
public/system/pages/images/000/000/002/original/000000-portrait_live.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.34 KB
public/system/pages/images/000/000/003/original/111217-HoI2-portrait2.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.34 KB
public/system/pages/images/000/000/004/original/101122-jobanPortrait.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.