diff --git a/source/webui/pages/admin.php b/source/webui/pages/admin.php index 0a46c19..310f7ca 100644 --- a/source/webui/pages/admin.php +++ b/source/webui/pages/admin.php @@ -2,10 +2,17 @@ $main = StatusBoard_Main::instance(); $auth = $main->auth(); +$config = $main->config(); $services = StatusBoard_Service::all(); $this->smarty->assign('services', $services); $users = $auth->listUsers(); $this->smarty->assign('users', $users); + +// Quick Settings +$this->smarty->assign('debug_displayexceptions', $config->get('debug.display_exceptions')); +$this->smarty->assign('cache_basedir', $config->get('cache.base_dir')); +$this->smarty->assign('templates_tmppath', $config->get('templates.tmp_path')); + ?> \ No newline at end of file diff --git a/source/webui/pages/admin/settings.php b/source/webui/pages/admin/settings.php new file mode 100644 index 0000000..2e64d32 --- /dev/null +++ b/source/webui/pages/admin/settings.php @@ -0,0 +1,7 @@ +auth(); +$config = $main->config(); + +?> \ No newline at end of file diff --git a/source/webui/templates/admin.tpl b/source/webui/templates/admin.tpl index f4eb6d0..298b40b 100644 --- a/source/webui/templates/admin.tpl +++ b/source/webui/templates/admin.tpl @@ -38,4 +38,50 @@
-
\ No newline at end of file + + +

Settings

+ +

+ Quick access to important settings. Please use the full settings + page to configure more advanced settings. +

+ +
+
+
+
+
+ Quick Settings + +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+   +
+
+
+
+
+
+
diff --git a/source/webui/templates/admin/settings.tpl b/source/webui/templates/admin/settings.tpl new file mode 100644 index 0000000..30404ce --- /dev/null +++ b/source/webui/templates/admin/settings.tpl @@ -0,0 +1 @@ +TODO \ No newline at end of file