diff options
Diffstat (limited to 'src/views/admin-page.ecr')
-rw-r--r-- | src/views/admin-page.ecr | 70 |
1 files changed, 52 insertions, 18 deletions
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 @@ %></div><!-- btn-group --> <div class='btn-group btn-group-sm'> + <span> </span> </div><!-- btn-group --> <div class='btn-group btn-group-sm'><%= @@ -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), + ) + %></div><!-- btn-group --> + + <div class='btn-group btn-group-sm'><%= + 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), + ) + %></div><!-- btn-group --> + + <div class='btn-group btn-group-sm'><%= + 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), ) %></div><!-- btn-group --> @@ -160,7 +194,7 @@ class='btn btn-default search-toggle' title='Toggle search field.' > - <i class='fa fa-search'></i> + <i class='fa fa-fw fa-search'></i> </a><!-- btn--> </div><!-- btn-group --> @@ -172,11 +206,11 @@ title='Reload posts' > <span class='loading'> - <i class='fa fa-refresh'></i> + <i class='fa fa-fw fa-refresh'></i> </span> <span class='loading hidden'> - <i class='fa fa-spinner fa-spin'></i> + <i class='fa fa-fw fa-spinner fa-spin'></i> </span> </a><!-- btn --> </div><!-- btn-group --> @@ -206,9 +240,9 @@ <tr class='small'> <th> </th> <th>Name</th> - <th>Author</th> <th>Site</th> <th>URL / Slug</th> + <th>Author</th> <th>Created</th> <th>Posted</th> </tr> |