diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-05-25 18:52:10 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-05-25 18:52:10 -0400 |
commit | b08a33c634e8c894cd742266d92c5d16fcf1d364 (patch) | |
tree | 8ef50659514a06b76d0f3879185d0baec3fc1479 /src/views/admin-page.ecr | |
parent | 9679aa0d8f072a06f7c8af3b92c87fc3f23a804c (diff) | |
download | guff-b08a33c634e8c894cd742266d92c5d16fcf1d364.tar.bz2 guff-b08a33c634e8c894cd742266d92c5d16fcf1d364.zip |
cleanups, s/posted/public/
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> |