aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-25 01:19:52 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-25 01:19:52 -0400
commit9679aa0d8f072a06f7c8af3b92c87fc3f23a804c (patch)
treeede1c412c6374b051987ff38b104767e641fc787 /src/views
parentc5da1e620c07697c2b7b5d4b51db73ef0fc143e4 (diff)
downloadguff-9679aa0d8f072a06f7c8af3b92c87fc3f23a804c.tar.bz2
guff-9679aa0d8f072a06f7c8af3b92c87fc3f23a804c.zip
populate posts table
Diffstat (limited to 'src/views')
-rw-r--r--src/views/admin-page.ecr25
1 files changed, 23 insertions, 2 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr
index ad8d429..f2b44f0 100644
--- a/src/views/admin-page.ecr
+++ b/src/views/admin-page.ecr
@@ -9,6 +9,7 @@
assets/font-awesome-4.5.0/css/font-awesome.min.css
assets/bootstrap-3.3.6/css/bootstrap.min.css
assets/bootstrap-3.3.6/css/bootstrap-theme.min.css
+ assets/css/admin.css
}
%>
</head>
@@ -84,6 +85,9 @@
new_post_button
%></div><!-- btn-group -->
+ <div class='btn-group btn-group-sm'>
+ </div><!-- btn-group -->
+
<div class='btn-group btn-group-sm'><%=
dropdown(
id: "posts-filter-type",
@@ -194,8 +198,25 @@
</div><!-- input-group -->
</div><!-- panel-heading -->
- <div id='posts' class='list-group'>
- </div><!-- panel-body -->
+ <table
+ id='posts'
+ class='table table-hover'
+ >
+ <thead>
+ <tr class='small'>
+ <th>&nbsp;</th>
+ <th>Name</th>
+ <th>Author</th>
+ <th>Site</th>
+ <th>URL / Slug</th>
+ <th>Created</th>
+ <th>Posted</th>
+ </tr>
+ </thead>
+
+ <tbody>
+ </tbody>
+ </table><!-- table -->
</div><!-- panel -->
</div><!-- tab-pane -->