From b08a33c634e8c894cd742266d92c5d16fcf1d364 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 25 May 2016 18:52:10 -0400 Subject: cleanups, s/posted/public/ --- src/views/admin-page.ecr | 70 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 52 insertions(+), 18 deletions(-) (limited to 'src/views') diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index f2b44f0..4e271ee 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -86,6 +86,7 @@ %>
+   
<%= @@ -107,15 +108,18 @@ type: "divider", }, { id: "blog", - name: "Blog Posts", + name: "Blog Post", + icon: "fa-sticky-note-o", text: "Show blog posts.", }, { id: "page", - name: "Pages", + name: "Page", + icon: "fa-bookmark-o", text: "Show pages.", }, { id: "project", - name: "Projects", + name: "Project", + icon: "fa-cube", text: "Show projects.", }], ) @@ -138,19 +142,49 @@ text: "Show drafts and posted items.", }, { type: "divider", + }].concat(states_menu_items), + ) + %>
+ +
<%= + dropdown( + id: "posts-filter-site", + css: "posts-filter-menu", + + name: "Site", + text: "Filter by site.", + + icon: "", + default: "all", + + items: [{ + id: "all", + name: "All", + text: "Show all sites.", }, { - id: "draft", - name: "Draft", - text: "Show draft items.", - }, { - id: "posted", - name: "Posted", - text: "Show posted items.", + type: "divider", + }].concat(sites_menu_items), + ) + %>
+ +
<%= + dropdown( + id: "posts-filter-user", + css: "posts-filter-menu", + + name: "Author", + text: "Filter by author.", + + icon: "", + default: "all", + + items: [{ + id: "all", + name: "All", + text: "Show all authors.", }, { - id: "deleted", - name: "Deleted", - text: "Show deleted items.", - }], + type: "divider", + }].concat(authors_menu_items), ) %>
@@ -160,7 +194,7 @@ class='btn btn-default search-toggle' title='Toggle search field.' > - + @@ -172,11 +206,11 @@ title='Reload posts' > - + @@ -206,9 +240,9 @@   Name - Author Site URL / Slug + Author Created Posted -- cgit v1.2.3