Make new blog button nicer.

master
Blog Manager Robot 3 years ago
parent 372e493bdd
commit cec004bd84
  1. 9
      Web/templates/dashboard/index.html.ep

@ -8,6 +8,13 @@
<h2 class="mt-5 display-6 mb-4">This is totes the dashboard</h2> <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>
% if ( $person->blogs ) { % if ( $person->blogs ) {
<h3 class="h3 mt-5 mb-3">My Websites</h3> <h3 class="h3 mt-5 mb-3">My Websites</h3>
<table style="border: 1px solid #ccc" class="table mb-5"> <table style="border: 1px solid #ccc" class="table mb-5">
@ -27,5 +34,3 @@
</tbody> </tbody>
</table> </table>
% } % }
<a href="<%= $c->url_for( 'show_blog_create' ) %>">Create a new blog</a>

Loading…
Cancel
Save