Refactor dashboard.

master
Manager Bot 3 years ago
parent 20e0dc3da2
commit f545f74234
  1. 7
      Web/templates/dashboard/blog_history.html.ep
  2. 6
      Web/templates/dashboard/blog_media.html.ep
  3. 6
      Web/templates/dashboard/blog_pages.html.ep
  4. 6
      Web/templates/dashboard/blog_posts.html.ep

@ -4,8 +4,7 @@
%= include '_base/status_window'; %= include '_base/status_window';
% if ( $history ) { <table style="border: 1px solid #ccc" class="table mt-5">
<table style="border: 1px solid #ccc" class="table mt-5">
<tbody> <tbody>
<tr> <tr>
<th class="text-nowrap">When?</th> <th class="text-nowrap">When?</th>
@ -27,6 +26,4 @@
</tr> </tr>
% } % }
</tbody> </tbody>
</table> </table>
% }

@ -16,8 +16,7 @@
</div> </div>
</form> </form>
% if ( $media_files ) { <table style="border: 1px solid #ccc" class="table mt-5">
<table style="border: 1px solid #ccc" class="table mt-5">
<tbody> <tbody>
<tr> <tr>
<th class="text-nowrap">Image</th> <th class="text-nowrap">Image</th>
@ -39,5 +38,4 @@
</tr> </tr>
% } % }
</tbody> </tbody>
</table> </table>
% }

@ -15,8 +15,7 @@
</div> </div>
</div> </div>
% if ( $blog_pages ) { <table style="border: 1px solid #ccc" class="table">
<table style="border: 1px solid #ccc" class="table">
<tbody> <tbody>
<tr> <tr>
<th class="text-nowrap">Path</th> <th class="text-nowrap">Path</th>
@ -38,5 +37,4 @@
</tr> </tr>
% } % }
</tbody> </tbody>
</table> </table>
% }

@ -15,8 +15,7 @@
</div> </div>
</div> </div>
% if ( $blog_posts ) { <table style="border: 1px solid #ccc" class="table">
<table style="border: 1px solid #ccc" class="table">
<tbody> <tbody>
<tr> <tr>
<th class="text-nowrap">Title</th> <th class="text-nowrap">Title</th>
@ -40,6 +39,5 @@
</tr> </tr>
% } % }
</tbody> </tbody>
</table> </table>
% }

Loading…
Cancel
Save