Added friendly new person message.

master
Blog Manager Robot 3 years ago
parent b00b88c0f7
commit e8a4828031
  1. 28
      Web/templates/dashboard/index.html.ep

@ -6,16 +6,18 @@
</ol>
</nav>
<h2 class="mt-5 display-6 mb-4">This is totes the dashboard</h2>
<div class="float-end">
<a style="text-decoration: none;" href="<%= $c->url_for( 'show_blog_create' ) %>">
<span style="color: green; width: 32px; height: 32px;" data-feather="plus-circle"></span>
<cpan style="color: black; vertical-align: 30%; font-size: 16px">New Blog</span>
</a>
<div class="row">
<div class="col">
<div class="float-end">
<a style="text-decoration: none;" href="<%= $c->url_for( 'show_blog_create' ) %>">
<span style="color: green; width: 32px; height: 32px;" data-feather="plus-circle"></span>
<cpan style="color: black; vertical-align: 30%; font-size: 16px">New Blog</span>
</a>
</div>
</div>
</div>
% if ( $person->blogs ) {
% if ( $person->blogs >= 1 ) {
<h3 class="h3 mt-5 mb-3">My Websites</h3>
<table style="border: 1px solid #ccc" class="table mb-5">
<tbody>
@ -33,4 +35,14 @@
% }
</tbody>
</table>
% } else {
<div style="margin-top: 2em" class="alert alert-success" role="alert">
<p>Hello and welcome to MyJekyllBlog,</p>
<p>You can create your own blog by clicking the <span class="fw-bolder">New Blog</span> button just above this message box and to the right.</p>
<p>Thank you for signing up!</p>
</div>
% }

Loading…
Cancel
Save