From a60a65f49e94d31bc17d89fd5e4e536a0f50d065 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 25 May 2016 22:41:24 -0400 Subject: initial settings panel --- src/guff.cr | 20 ++++++++++++++++++ src/views/admin-page.ecr | 54 ++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 68 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/guff.cr b/src/guff.cr index ea9f73a..f2a5da4 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -1893,6 +1893,26 @@ module Guff name: "Settings", text: "Configure site settings.", }], + + "settings": [{ + id: "general", + css: "active", + icon: "fa-home", + name: "General", + text: "Configure general settings.", + }, { + id: "sites", + css: "", + icon: "fa-cog", + name: "Sites", + text: "Configure sites.", + }, { + id: "users", + css: "", + icon: "fa-users", + name: "Users", + text: "Manage users and permissions.", + }], } TEMPLATES = { diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index 4e271ee..af031eb 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -349,13 +349,55 @@ role='tabpanel' >
-
-
-
-

- TODO: settings -

+
+
+ +
+ +
+
+
+

+ TODO: general settings +

+
+ +
+
+
+
+ +
+

+ TODO: users settings +

+
+
+
+ +
+

+ TODO: sites settings +

+
+
+
+
-- cgit v1.2.3