diff --git a/admin/controllers/themes.php b/admin/controllers/themes.php index 901e8d82..c8d2a7de 100644 --- a/admin/controllers/themes.php +++ b/admin/controllers/themes.php @@ -21,3 +21,10 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) // ============================================================================ // Main // ============================================================================ + +$themes = Filesystem::listDirectories(PATH_THEMES); + +// Load each plugin clasess +foreach($themes as $themePath) { +// include($themePath.DS.'plugin.php'); +} \ No newline at end of file diff --git a/admin/themes/default/css/default.css b/admin/themes/default/css/default.css index 07a95df2..bef79c3f 100644 --- a/admin/themes/default/css/default.css +++ b/admin/themes/default/css/default.css @@ -12,6 +12,10 @@ body { background-color: #f9f9f9; } +div.unit-80 { + margin-left: 1% !important; +} + /* ----------- FONTS AWESOME ----------- */ .fa-right { margin-right: 5px; @@ -241,30 +245,41 @@ a.btn-red:hover { /* ----------- THEMES ----------- */ -div.pluginBox { +div.themeBox { box-shadow: 0 1px 2px rgba(0,0,0,.26); background-color: #fff; border-radius: 2px; box-sizing: border-box; - padding: 20px; + padding: 15px 20px; width: 70%; margin-bottom: 20px; } -div.pluginBox p { - margin-bottom: 10px; +div.themeBox p { + margin-bottom: 6px; } -div.pluginBox span.author { - color: #999; - margin-left: 10px; - float: right; +div.themeBox p.name { + border-bottom: 1px dashed #ccc; } -div.pluginBox span.version { - color: #999; +div.themeBox a.btn-smaller { + padding: 4px 10px; + margin-right: 10px; +} + +div.themeBox span.author { + color: #777; margin-left: 10px; float: right; + font-size: 0.9em; +} + +div.themeBox span.version { + color: #777; + margin-left: 10px; + float: right; + font-size: 0.9em; } /* ----------- PLUGINS ----------- */ diff --git a/admin/views/dashboard.php b/admin/views/dashboard.php index 8efb064b..f96240a9 100644 --- a/admin/views/dashboard.php +++ b/admin/views/dashboard.php @@ -5,7 +5,7 @@
-

Start here!

+

p('Start here') ?>