a TON of bugfixes and new features

This commit is contained in:
jomo
2014-04-28 03:01:33 +02:00
parent a6ba503e73
commit 65f5adf65d
59 changed files with 1023 additions and 970 deletions

View File

@@ -0,0 +1,12 @@
<% users = User.select{|u| u.online?} %>
<div id="footer">
<div id="online-users">
<p title="Seen within the last 5 minutes">Users currently online: <%= users.length %></p>
<% users.each do |u| %>
<%= render partial: "users/username", locals: { user: u } %>
<% end %>
</div>
<div class="note">
Website made by <a href="/users/2">Redstone Sheep</a> with design by <a href="/users/12">ColoArtz</a>.
</div>
</div>

View File

@@ -11,11 +11,12 @@
</head>
<body>
<div id="mobile-info">We don't have a mobile style yet. It might look shitty.<br>Tip: Hold your device in landscape mode.</div>
<%= render "/layouts/head" %>
<%= render partial: "/layouts/head" %>
<div id="main-content">
<%= "<div id='alert' class='flash'>#{alert}</div>".html_safe if alert %>
<%= "<div id='notice' class='flash'>#{notice}</div>".html_safe if notice %>
<%= "<div class='flash alert'>#{alert}</div>".html_safe if alert %>
<%= "<div class='flash notice'>#{notice}</div>".html_safe if notice %>
<%= yield %>
</div>
<%= render partial: "/layouts/footer" %>
</body>
</html>