aboutsummaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-05-25 18:52:10 -0400
committerPaul Duncan <pabs@pablotron.org>2016-05-25 18:52:10 -0400
commitb08a33c634e8c894cd742266d92c5d16fcf1d364 (patch)
tree8ef50659514a06b76d0f3879185d0baec3fc1479 /src/views
parent9679aa0d8f072a06f7c8af3b92c87fc3f23a804c (diff)
downloadguff-b08a33c634e8c894cd742266d92c5d16fcf1d364.tar.bz2
guff-b08a33c634e8c894cd742266d92c5d16fcf1d364.zip
cleanups, s/posted/public/
Diffstat (limited to 'src/views')
-rw-r--r--src/views/admin-page.ecr70
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>&nbsp;&nbsp;</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>&nbsp;</th>
<th>Name</th>
- <th>Author</th>
<th>Site</th>
<th>URL / Slug</th>
+ <th>Author</th>
<th>Created</th>
<th>Posted</th>
</tr>