aboutsummaryrefslogtreecommitdiff
path: root/src/views/admin-page.ecr
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/admin-page.ecr')
-rw-r--r--src/views/admin-page.ecr30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr
index 39b4de3..eedc41c 100644
--- a/src/views/admin-page.ecr
+++ b/src/views/admin-page.ecr
@@ -84,6 +84,36 @@
new_post_button
%></div><!-- btn-group -->
+ <div class='btn-group btn-group-sm'><%=
+ dropdown(
+ id: "posts-filter-type",
+ name: "Type",
+ css: "posts-filter-menu",
+ text: "Filter by type.",
+ icon: "",
+ default: "all",
+ items: [{
+ id: "all",
+ name: "All",
+ text: "Show all types.",
+ }, {
+ type: "divider",
+ }, {
+ id: "blog",
+ name: "Blog Posts",
+ text: "Show blog posts.",
+ }, {
+ id: "page",
+ name: "Pages",
+ text: "Show pages.",
+ }, {
+ id: "project",
+ name: "Projects",
+ text: "Show projects.",
+ }],
+ )
+ %></div><!-- btn-group -->
+
<div class='btn-group btn-group-sm pull-right'>
<a
href='#'