Commit 464bb1f3
Changed files (3)
app
views
layouts
public
images
stylesheets
app/views/layouts/application.html.erb
@@ -13,7 +13,7 @@
<div id="user-nav">
<% if user_signed_in? %>
signed in as: <%= current_user.email %>. Not you?
- <%= link_to "sign out", destroy_user_session_path %> </p>
+ <%= link_to "sign out", destroy_user_session_path %> | <%= link_to "more", authentications_path %>
<% else %>
<%= link_to "sign up", new_user_registration_path %> or <%= link_to "sign in", new_user_session_path %>
<% end %>
public/images/google_apps_32.png
Binary file
public/stylesheets/scaffold.css
@@ -64,7 +64,56 @@ div.field, div.actions {
margin-right: 20px;
text-align: center;
margin-bottom: 10px;
+}
+.authentications {
+ margin-bottom: 30px;
}
+
+.authentication {
+ width: 130px;
+ float: left;
+ background-color: #EEE;
+ border: solid 1px #999;
+ padding: 5px 10px;
+ -moz-border-radius: 8px;
+ -webkit-border-radius: 8px;
+ position: relative;
+ margin-right: 10px;
+}
+
+.authentication .remove {
+ text-decoration: none;
+ position: absolute;
+ top: 3px;
+ right: 3px;
+ color: #333;
+ padding: 2px 4px;
+ font-size: 10px;
+}
+
+.authentication .remove:hover {
+ color: #CCC;
+ background-color: #777;
+ -moz-border-radius: 6px;
+ -webkit-border-radius: 6px;
+}
+
+.authentication img {
+ float: left;
+ margin-right: 10px;
+}
+
+.authentication .provider {
+ font-weight: bold;
+}
+
+.authentication .uid {
+ color: #666;
+ font-size: 11px;
+}
+
+
+
.clear {
clear: both;
height: 0;