A hosting service for Jekyll Blogs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
1.3 KiB

% layout 'standard', title => 'Dashboard', sb_active => 'dashboard';
<nav aria-label="breadcrumb" class="mt-3 mb-3">
<ol class="breadcrumb">
<li class="breadcrumb-item active" aria-current="page"><a href="<%= $c->url_for( 'show_dashboard' ) %>">Dashboard</a></li>
</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>
% if ( $person->blogs ) {
<h3 class="h3 mt-5 mb-3">My Websites</h3>
<table style="border: 1px solid #ccc" class="table mb-5">
<tbody>
<tr>
<th class="text-nowrap">Domain</th>
<th class="text-nowrap">Status Link</th>
</tr>
</thead>
<tbody>
% for my $blog ( $person->blogs ) {
<tr>
<td><a target="_blank" href="https://<%= $blog->domain->name %>"><%= $blog->domain->name %></a></td>
<td><a href="<%= $c->url_for( 'show_dashboard_blog', { id => $blog->id } ) %>">Manage Blog</a></td>
</tr>
% }
</tbody>
</table>
% }