From c1c4c03d394e8701cfd4640d8571afacc83d2ba2 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 24 May 2016 13:30:11 -0400 Subject: enable post list --- src/guff.cr | 1 + src/views/admin-page.ecr | 53 ++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 46 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/guff.cr b/src/guff.cr index 6367671..04708ed 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -291,6 +291,7 @@ module Guff a.posted_at, a.expires_at, a.slug, + a.slug_lock, a.name, (CASE WHEN c.post_id IS NOT NULL THEN diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index ab882ce..39b4de3 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -83,13 +83,52 @@
<%= new_post_button %>
+ +
+ + + +
+ +
+ + + + + + + +
-
-

- TODO: posts -

+ + +
@@ -103,10 +142,8 @@
-
-

- TODO: files -

+
+ TODO: files
-- cgit v1.2.3