diff --git a/assets/css/swagg.css b/assets/css/swagg.css index c2d7398..be3b9a7 100644 --- a/assets/css/swagg.css +++ b/assets/css/swagg.css @@ -88,15 +88,15 @@ img { } .articles { - displace: flex; + display: flex; flex-flow: column; - margin-bottom: 1em; } article { border-color: #00FF00; border-style: ridge; padding: 0em 1em; + margin-bottom: 1em; } article .message.field { diff --git a/templates/index.html.ep b/templates/index.html.ep index bce9c4b..390c6ce 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -1,24 +1,26 @@ % layout 'default'; % title 'View';

Messages from the World Wide Web

-<% for my $row (@$view_posts) { =%>
+ <% for my $post (@$view_posts) { =%>
-

<%= @$row[0] %>

+

<%= @$post[0] %>

-

<%= @$row[2] %>

+

<%= @$post[2] %>

- - <%= @$row[1] %> - <% if (@$row[3]) { =%> - (<%= link_to Homepage => @$row[3] %>) + - <%= @$post[1] %> + <% if (@$post[3]) { =%> + (<%= link_to Homepage => @$post[3] %>) <% } =%>
+ <% } =%>
-<% } =%> +<% unless ($last_page == 1) { =%> +<% } =%>