summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-11-08 17:35:19 -0800
committerSteve Manuel <nilslice@gmail.com>2016-11-08 17:35:19 -0800
commit5d8e0b1c247cd9c81c42f4625eeb9cc435c0e9f0 (patch)
treeec8fc0d3a177cad7aa455bcd9151f9c74e296dc4
parent18d80d93a4e06c3958895647b69bd761bd64c65f (diff)
updating layout of buttons and css to make UI nicer
-rw-r--r--management/editor/editor.go4
-rw-r--r--system/admin/static/dashboard/css/admin.css2
2 files changed, 3 insertions, 3 deletions
diff --git a/management/editor/editor.go b/management/editor/editor.go
index 73fe400..650e018 100644
--- a/management/editor/editor.go
+++ b/management/editor/editor.go
@@ -109,10 +109,10 @@ func Form(post Editable, fields ...Field) ([]byte, error) {
<div class="row external post-controls">
<div class="col s12 input-field">
- <button class="right waves-effect waves-light btn gray reject-post" type="submit">Reject</button>
<button class="right waves-effect waves-light btn blue approve-post" type="submit">Approve</button>
+ <button class="right waves-effect waves-light btn grey darken-2 reject-post" type="submit">Reject</button>
</div>
- <label class="approve-details right-align col s12">g approval. By clicking 'Approve', it will be immediately published.</label>
+ <label class="approve-details right-align col s12">This content is pending approval. By clicking 'Approve', it will be immediately published.</label>
</div>
<script>
diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css
index 3cffc5d..ce6c214 100644
--- a/system/admin/static/dashboard/css/admin.css
+++ b/system/admin/static/dashboard/css/admin.css
@@ -154,7 +154,7 @@ footer p {
color: #9e9e9e;
}
-.post-controls .save-post {
+.post-controls .save-post. .post-controls .approve-post {
margin-left: 10px;
}