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
Showing
14 changed files
with
9,697 additions
and
95 deletions.
There are no files selected for viewing
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,34 @@ | ||
// Place all the styles related to the top controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ | ||
|
||
// '.contents' is a mear container | ||
div.contents { | ||
div.row { | ||
div.span9 { | ||
p.lead { | ||
font-size: 3em; | ||
line-height: 1.4em; | ||
text-shadow: 0 1px 0px #ddd; | ||
} | ||
} | ||
div.span9.game-title { | ||
width: 100%; | ||
text-align: center; | ||
font-size: 1.2em; | ||
} | ||
form#ini-form { | ||
text-align: right; | ||
small { | ||
font-size: 0.8em; | ||
} | ||
} | ||
h3 { | ||
text-align: right; | ||
} | ||
h4 { | ||
text-align: right; | ||
} | ||
} | ||
|
||
} |
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 |
---|---|---|
@@ -1,14 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Gangvote</title> | ||
<title>Stars★</title> | ||
<%= stylesheet_link_tag "application", :media => "all" %> | ||
<%= javascript_include_tag "application" %> | ||
<%= csrf_meta_tags %> | ||
<link rel="stylesheet" href="bootstrap/css/bootstrap.css" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"> | ||
</head> | ||
<body> | ||
<hr> | ||
<!-- twitterbootstrap navbar --> | ||
<div class="navbar navbar-inverse"> | ||
<div class="navbar-inner"> | ||
<%= link_to('theMAN', {:controller => 'top'}, {:class => 'brand'}) %> | ||
<ul class="nav pull-right"> | ||
<!-- li class="active"><a href="#">Home</a></li> | ||
<li><a href="#">Link</a></li> | ||
<li><a href="#">Link</a></li --> | ||
<li> | ||
<div class="login-info"> | ||
<p>3月31日 京都大学vs関西学院大学</p> | ||
<% unless @user_name.nil? %> | ||
<p><%= @user_name %>として参加中</p> | ||
<% end %> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<!-- /twitterbootstrap navbar --> | ||
<div class="contents"> | ||
<%= yield %> | ||
<hr> | ||
</div> | ||
</body> | ||
</html> |
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,11 +1,27 @@ | ||
<a href="/players"><%= image_tag 'logos/shiraishi.jpg', :class => 'prof-img' %></a> | ||
<% if @user_name.nil? %> | ||
<%= form_tag({ :controller => 'account', :action => 'login' }, { :id => 'ini-form', :class => 'form' }) do %> | ||
<%= text_field_tag 'user_name', '', { :size => 50, :placeholder => 'ユーザ名を登録' } %> | ||
<%= submit_tag '登録' %> | ||
<% end %> | ||
<small>このユーザ名は24時間だけ有効です。</small> | ||
<% else %> | ||
<h3><%= @user_name %>として参加中</h3> | ||
<h4><%= link_to('Players', {:controller => 'players'}) %></h4> | ||
<% end %> | ||
<div class="row"> | ||
<div class="span9"> | ||
<p>あなたの投票がMVPを決める</p> | ||
<p class="lead"> | ||
You<br>Decide<br>the MAN | ||
</p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="span9 game-title"> | ||
<p>3月31日:京都大学vs関西学院大学</p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<!-- a href="/players"><%= image_tag 'logos/shiraishi.jpg', :class => 'prof-img' %></a --> | ||
<% if @user_name.nil? %> | ||
<%= form_tag({ :controller => 'account', :action => 'login' }, { :id => 'ini-form' }) do %> | ||
<%= text_field_tag 'user_name', '', { :size => 50, :placeholder => 'ユーザ名を登録' } %><br> | ||
<%= submit_tag '参加', { :class => 'btn'} %><br> | ||
<small>※ MVP投票集計以外の目的には使用されません</small><br> | ||
<small>※ このユーザ名情報は24時間後に破棄されます</small> | ||
<% end %> | ||
<% else %> | ||
<h3><%= @user_name %>として参加中</h3> | ||
<h4><%= link_to('Players', {:controller => 'players'}) %></h4> | ||
<% end %> | ||
</div> |
Oops, something went wrong.