From 377ffbe0f9e3749bcebd3e61ef9623cc45485dd8 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 26 May 2016 00:17:18 -0400 Subject: populate settings tab --- src/guff.cr | 26 +++---- src/views/admin-page.ecr | 186 +++++++++++++++++++++++++---------------------- 2 files changed, 113 insertions(+), 99 deletions(-) (limited to 'src') diff --git a/src/guff.cr b/src/guff.cr index f2a5da4..7eb284a 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -1880,32 +1880,32 @@ module Guff icon: "fa-files-o", name: "Files", text: "Manage files.", - }, { - id: "users", - css: "", - icon: "fa-users", - name: "Users", - text: "Manage users and permissions.", }, { id: "settings", css: "", - icon: "fa-cog", + icon: "fa-cogs", name: "Settings", - text: "Configure site settings.", + text: "Configure settings.", }], "settings": [{ id: "general", css: "active", - icon: "fa-home", + icon: "fa-cog", name: "General", - text: "Configure general settings.", + text: "Manage general settings.", }, { id: "sites", css: "", - icon: "fa-cog", + icon: "fa-sitemap", name: "Sites", - text: "Configure sites.", + text: "Manage sites and domains.", + }, { + id: "themes", + css: "", + icon: "fa-eye", + name: "Themes", + text: "Manage themes.", }, { id: "users", css: "", @@ -2733,7 +2733,7 @@ module Guff }, %{ INSERT INTO states(state_id, state, icon, name, sort) VALUES (1, 'draft', 'fa-wrench', 'Draft', 1), - (2, 'public', 'fa-eye', 'Public', 2), + (2, 'public', 'fa-bullhorn', 'Public', 2), (3, 'deleted', 'fa-trash', 'Deleted', 3) }, %{ CREATE TABLE posts ( diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index af031eb..7845682 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -269,80 +269,6 @@ -
-
-
- -
- - - -
- - - Loading... - -
-
-
-
-
+
-
+
-
+
-

- TODO: general settings -

+
+
+
+ +
+

+ TODO: general settings +

+
+
-
+ + +
+ + + Loading... + +
+
+
+ +
+
+
+
+ +

- TODO: users settings + TODO: themes

@@ -391,12 +398,19 @@ class='tab-pane' role='tabpanel' > -

- TODO: sites settings -

+
+
+
+ +
+

+ TODO: sites settings +

+
+
-
+
-- cgit v1.2.3