summaryrefslogtreecommitdiff
path: root/system/admin/static
diff options
context:
space:
mode:
Diffstat (limited to 'system/admin/static')
-rw-r--r--system/admin/static/common/js/util.js16
-rw-r--r--system/admin/static/dashboard/css/admin.css26
2 files changed, 38 insertions, 4 deletions
diff --git a/system/admin/static/common/js/util.js b/system/admin/static/common/js/util.js
index 7f4c8ab..8d5e74b 100644
--- a/system/admin/static/common/js/util.js
+++ b/system/admin/static/common/js/util.js
@@ -67,4 +67,20 @@ function getPartialDate(unix) {
d.dd = day;
return d;
+}
+
+// Returns a part of the window URL 'search' string
+function getParam(param) {
+ var qs = window.location.search.substring(1);
+ var qp = qs.split('&');
+ var t = '';
+
+ for (var i = 0; i < qp.length; i++) {
+ var p = qp[i].split('=')
+ if (p[0] === param) {
+ t = p[1];
+ }
+ }
+
+ return t;
} \ No newline at end of file
diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css
index e23658e..3cffc5d 100644
--- a/system/admin/static/dashboard/css/admin.css
+++ b/system/admin/static/dashboard/css/admin.css
@@ -44,7 +44,7 @@
padding: 0px !important;
}
-ul.posts li {
+ul.posts li, ul.users li {
display: block;
margin: 0 0 20px 0;
padding: 0 0 20px 0 !important;
@@ -164,15 +164,15 @@ span.post-detail {
font-style: italic;
}
-.quick-delete-post {
+.quick-delete-post, .delete-user {
display: none;
}
-li:hover .quick-delete-post {
+li:hover .quick-delete-post, li:hover .delete-user {
display: inline-block;
}
-.quick-delete-post span {
+.quick-delete-post span, .delete-user span {
cursor: pointer;
color: #F44336;
text-transform: uppercase;
@@ -181,6 +181,10 @@ li:hover .quick-delete-post {
margin-right: 20px;
}
+.user-management {
+ padding: 20px;
+}
+
/* OVERRIDE Bootstrap + Materialize conflicts */
.iso-texteditor.input-field label {
@@ -199,3 +203,17 @@ li:hover .quick-delete-post {
-o-transform: translateY(-140%);
transform: translateY(-140%);
}
+
+.chips {
+ margin-top: 10px;
+}
+
+.external.post-controls .col.input-field {
+ margin-top: 40px;
+ padding: 0;
+}
+
+.approve-details {
+ text-align: right;
+ padding: 10px 0 !important;
+} \ No newline at end of file