Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Set up basic styles
  • Loading branch information
erunyon committed Jun 23, 2011
1 parent 70813f8 commit 0939ef9
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/front_side.css
@@ -0,0 +1,7 @@
table {width:auto; margin:20px -16px;}
th {color:#fff; background-color:#000; text-shadow:none;}
th, td {margin:0; padding:5px 8px 3px; border:none;}

.ui-content .ui-listview {margin-bottom:0;}

#leader_board {clear:both; margin:20px 0;}
2 changes: 1 addition & 1 deletion app/views/home/index.html.erb
@@ -1,5 +1,5 @@
<h1>Welcome <%= current_team_member %></h1>
<ul>
<ul data-role="listview">
<li>
<%- if team_member_signed_in? -%>
<%= link_to 'Sign Out', destroy_team_member_session_path %>
Expand Down
21 changes: 15 additions & 6 deletions app/views/layouts/front_side.html.erb
Expand Up @@ -2,16 +2,25 @@
<html>
<head>
<title>Scavenge</title>
<%= stylesheet_link_tag "application", "front_side" %>
<%= javascript_include_tag "application" %>
<link rel="apple-touch-icon" href="/images/webclip.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<%= stylesheet_link_tag "jquery-mobile", "front_side" %>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<%= javascript_include_tag "jquery-mobile" %>
<%= csrf_meta_tags %>
</head>
<body>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>

<p>Welcome to the Front Side</p>
<%= yield %>
<div data-role="page">
<div data-role="header">
<h1>Scavenge</h1>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
</div><!-- /header -->
<div data-role="content">
<%= yield %>
</div>
</div><!-- /page -->

</body>
</html>
Binary file added public/images/webclip.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0939ef9

Please sign in to comment.