Moar CSS and HTML stuff
This commit is contained in:
parent
c7e5528a27
commit
3f5b6862a3
|
@ -19,8 +19,8 @@ should be YAML or XML or something better suited.
|
||||||
|
|
||||||
Run it in development mode:
|
Run it in development mode:
|
||||||
|
|
||||||
morbo -w assets/css/ -w lib/ -w migrations/ -w t/ -w templates/ \
|
morbo -w assets/css/ -w public/ -w lib/ -w templates/ \
|
||||||
script/post_text
|
-w script/ script/post_text
|
||||||
|
|
||||||
Now try requesting http://localhost:3000
|
Now try requesting http://localhost:3000
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ header > nav a {
|
||||||
padding: 0.25em 0.5em;
|
padding: 0.25em 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.remark .date, .remark .author, .remark .body {
|
.remark .author, .remark .body {
|
||||||
margin: 1em 0.5em;
|
margin: 1em 0.5em;
|
||||||
padding: 0.25em 0.5em;
|
padding: 0.25em 0.5em;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,10 @@
|
||||||
<h2><%= title %></h2>
|
<h2><%= title %></h2>
|
||||||
<main class="threads">
|
<main class="threads">
|
||||||
<article class="thread">
|
<article class="thread">
|
||||||
<h3 class="title"><%= $thread->{'title'} %></h3>
|
<h3 class="title">
|
||||||
|
<%= $thread->{'title'} %>
|
||||||
|
<span class="id">#<%= $thread->{'id'} %></span>
|
||||||
|
</h3>
|
||||||
<h4 class="date"><%= $thread->{'date'} %></h4>
|
<h4 class="date"><%= $thread->{'date'} %></h4>
|
||||||
<h5 class="author"><%= $thread->{'author'} %></h5>
|
<h5 class="author"><%= $thread->{'author'} %></h5>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
|
@ -47,10 +50,10 @@
|
||||||
</nav>
|
</nav>
|
||||||
</article>
|
</article>
|
||||||
<% } =%>
|
<% } =%>
|
||||||
<nav>
|
|
||||||
<% if ($last_page && $last_page != 1) { =%>
|
<% if ($last_page && $last_page != 1) { =%>
|
||||||
|
<nav>
|
||||||
<%= pagination $this_page, $last_page, ($base_path . '/{page}') %>
|
<%= pagination $this_page, $last_page, ($base_path . '/{page}') %>
|
||||||
<% } =%>
|
|
||||||
</nav>
|
</nav>
|
||||||
|
<% } =%>
|
||||||
</section>
|
</section>
|
||||||
<% } =%>
|
<% } =%>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user