summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-04 17:09:50 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-04 17:09:50 -0500
commitc45d69d4a7e6232d088986a78f6e12a25ae7be63 (patch)
treed3b5625887ed1743e5dc512a24849ea3fb36c273 /app
parentf10de077a7d5d6978bcb6d1264aa14880d4ce6b0 (diff)
parent4050ce81532a65883cbadbfc17c21d05d67061ba (diff)
Merge branch 'master' of github.com:LukeShu/leager
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/application.css6
-rw-r--r--app/assets/stylesheets/custom.css.scss6
-rw-r--r--app/views/layouts/application.html.erb13
3 files changed, 16 insertions, 9 deletions
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 35fe66b..b3f5d46 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -13,11 +13,13 @@
*/
#query{
- background-color: #888;
+ background-color: white;
border: 2px solid #ED9C28;
border-radius: 5px;
color: #FFF;
font-weight: bold;
height: 30px;
-
+}
+.navbar{
+ background-color: white;
}
diff --git a/app/assets/stylesheets/custom.css.scss b/app/assets/stylesheets/custom.css.scss
index 25cac21..a8a8e68 100644
--- a/app/assets/stylesheets/custom.css.scss
+++ b/app/assets/stylesheets/custom.css.scss
@@ -1,6 +1,10 @@
@import "bootstrap";
header > nav {
- @extend .navbar;
+ @extend .navbar;
@extend .navbar-inverse;
+ color: white;
+}
+header > nav > #log-buttons{
+ margin-top: 8px;
}
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index d817484..6fdbbec 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -16,15 +16,16 @@
<%= submit_tag("Go", {:class => "btn btn-warning"}) %>
<% end %>
</div>
- <ul>
+
+ <div id="log-buttons">
<% if signed_in? %>
- <li><%= current_user.user_name.upcase %></li>
- <li><%= link_to "Sign out", session_path("current"), method: "delete" %></li>
+ <%= current_user.user_name.upcase %>
+ <button type="button" class="btn btn-danger" ><%= link_to "Sign out", session_path("current"), method: "delete" %></button>
<% else %>
- <li><%= link_to "Log in", new_session_path %></li>
- <li><%= link_to "Sign up", new_user_path %></li>
+ <button type="button" class="btn btn-info" ><%= link_to "Log in", new_session_path %></button>
+ <button type="button" class="btn btn-success"><%= link_to "Sign up", new_user_path %></button>
<% end %>
- </ul>
+ </div>
</nav></header>
<% if notice %><div id="notice"><p><%= notice %></p></div><% end %>