diff --git a/static/css/styles.css b/static/css/styles.css index d0ecb24..4293dd9 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -8,6 +8,9 @@ --body-lighter: #2a2c3b; --link-col: #7aa2f7; --hover-col: #2d467c; + --success: lightblue; + --warning: rgb(255, 161, 107); + --error: #f65f5f; --form-border: 1px dotted var(--link-col); --solid-border: 1px solid var(--link-col); --text-col: #e5e9f0; diff --git a/views/dashboard.eta b/views/dashboard.eta index 684a8fe..802cd32 100644 --- a/views/dashboard.eta +++ b/views/dashboard.eta @@ -16,7 +16,15 @@
<%= array.length - index %>
- <%= post.title %> Edit + + <%= post.title %> + Edit + <% if (post.published_at) { %> + (Published!) + <% } else { %> + (Draft) + <% } %> +

<%~ utils.md(utils.truncate(post.content, 100)).remove_tags %>

@@ -30,7 +38,7 @@