summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-18 23:19:32 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-18 23:19:32 -0700
commit3c32a01d540844354c96383c640443e99a5030a7 (patch)
treea32a42a03293032fa3363c70075f37770a52fedb
parentf8a734b9c0fc844fb1af94a4c0c02c548c3e6f63 (diff)
changing UI for quick-delete-post button
-rw-r--r--system/admin/handlers.go2
-rw-r--r--system/admin/static/dashboard/css/admin.css6
2 files changed, 5 insertions, 3 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 1dea5c1..790351d 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -438,7 +438,7 @@ func adminPostListItem(p editor.Editable, t string) []byte {
<a href="/admin/edit?type=` + t + `&id=` + cid + `">` + p.ContentName() + `</a>
<span class="post-detail">Updated: ` + updatedTime + `</span>
<form class="quick-delete-post __ponzu" action="/admin/edit/delete">
- <i class="small material-icons red">delete</i>
+ <span>Delete</span>
<input type="hidden" name="id" value="` + cid + `" />
<input type="hidden" name="type" value="` + t + `" />
</form>
diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css
index 89fb047..5dda604 100644
--- a/system/admin/static/dashboard/css/admin.css
+++ b/system/admin/static/dashboard/css/admin.css
@@ -169,11 +169,13 @@ span.post-detail {
}
li:hover .quick-delete-post {
- display: block;
+ display: inline-block;
}
-.quick-delete-post i {
+.quick-delete-post span {
cursor: pointer;
+ color: #F44336;
+ text-transform: uppercase;
}