first release

This commit is contained in:
jomo
2013-05-31 22:26:22 +02:00
parent 149232ec0c
commit 8921d108e2
70 changed files with 1080 additions and 85 deletions
+13
View File
@@ -0,0 +1,13 @@
<div id="head">
<%= link_to(root_path) do %>
<div id="logo"></div>
<% end %>
<div id="userinfo">
<% if !current_user.nil? %>
<%= link_to image_tag(Tools.avatar_url(current_user.id, 32), :class => "avatar"), current_user %>
<%= link_to image_tag("logout.png"), logout_path %>
<% else %>
<%= link_to "Log in", login_path, :action => "new" %>
<% end %>
</div>
</div>