From d6553e54f37a0b574d40ae36a53b85e4dd4ff167 Mon Sep 17 00:00:00 2001 From: Sebastian Gierlinger Date: Wed, 11 Sep 2013 17:23:07 +0200 Subject: [PATCH] Clean up config (drop 'env') closes #628 - removed .env from config.js - ghost.config() returns correct config for NODE_ENV - removed .env[process.env.NODE_ENV] - updated tests - deleted users.hbs, plugins.hbs, appearance.hbs (forgot to delete in PR #649) --- ghost/admin/tpl/settings/appearance.hbs | 11 -- ghost/admin/tpl/settings/plugins.hbs | 241 ------------------------ ghost/admin/tpl/settings/users.hbs | 57 ------ ghost/admin/views/settings.js | 28 --- 4 files changed, 337 deletions(-) delete mode 100644 ghost/admin/tpl/settings/appearance.hbs delete mode 100644 ghost/admin/tpl/settings/plugins.hbs delete mode 100644 ghost/admin/tpl/settings/users.hbs diff --git a/ghost/admin/tpl/settings/appearance.hbs b/ghost/admin/tpl/settings/appearance.hbs deleted file mode 100644 index fadb08597d..0000000000 --- a/ghost/admin/tpl/settings/appearance.hbs +++ /dev/null @@ -1,11 +0,0 @@ -
-
-

Appearance

-
-
-
Raw json be here
-

Active theme: {{json settings.activeTheme}}

-

Available themes: {{json availableThemes}}

-

Available plugins: {{json availablePlugins}}

-
-
\ No newline at end of file diff --git a/ghost/admin/tpl/settings/plugins.hbs b/ghost/admin/tpl/settings/plugins.hbs deleted file mode 100644 index fc4b3c7a23..0000000000 --- a/ghost/admin/tpl/settings/plugins.hbs +++ /dev/null @@ -1,241 +0,0 @@ - -
-

Plugins

-
- -
-
-
-
-
-

Updates

-
- - - - - - - - - - - - - - - - - -
-
- -
-
- Ghost SEO - - - -
-
-
- Yoast - yoast.com -
-
-
- v 0.1.13 - 3 weeks ago -
-
-
- - - - - - - - 48,200 users -
-
-
- -
-
-
- -
-
- Ghost SEO - The #1 content marketing plugin for Ghost. -
-
-
- Yoast - yoast.com -
-
-
- v 0.1.13 - 3 weeks ago -
-
-
- - - - - - - - 48,200 users -
-
-
- -
-
-
- -
-
-
-
-

Active Plugins

-
- - - - - - - - - - - - - - - - - -
-
- -
-
- Ghost SEO - The #1 content marketing plugin for Ghost. -
-
-
- Yoast - yoast.com -
-
-
- v 0.1.13 - 3 weeks ago -
-
-
- - - - - - - - 48,200 users -
-
-
- -
-
-
- -
-
- Ghost SEO - The #1 content marketing plugin for Ghost. -
-
-
- Yoast - yoast.com -
-
-
- v 0.1.13 - 3 weeks ago -
-
-
- - - - - - - - 48,200 users -
-
-
- -
-
-
-
-
-

Inactive Plugins

-
- - - - - - - - - - -
-
- -
-
- Ghost SEO - The #1 content marketing plugin for Ghost. -
-
-
- Yoast - yoast.com -
-
-
- v 0.1.13 - 3 weeks ago -
-
-
- - - - - - - - 48,200 users -
-
-
- -
-
-
-
\ No newline at end of file diff --git a/ghost/admin/tpl/settings/users.hbs b/ghost/admin/tpl/settings/users.hbs deleted file mode 100644 index ae3ef9629a..0000000000 --- a/ghost/admin/tpl/settings/users.hbs +++ /dev/null @@ -1,57 +0,0 @@ -
-
-

Users

-
- -
-
-
-
-

Invited Users

-
    -
  • -
    -
    -

    Some Name

    - Invitation Sent: 7 hours ago -
    -
  • -
-
-
-
-

Active Users

- - -
- -
    -
  • -
    - user -
    -
    -

    Some Name

    - Last Seen: 7 hours ago -
    - Admin -
  • -
  • -
    - user -
    -
    -

    Some Name

    - Last Seen: 2 days ago -
    - Editor -
  • -
-
-
-
\ No newline at end of file diff --git a/ghost/admin/views/settings.js b/ghost/admin/views/settings.js index 406c71c4ed..9396783597 100644 --- a/ghost/admin/views/settings.js +++ b/ghost/admin/views/settings.js @@ -337,32 +337,4 @@ } }); - // ### User settings - Settings.users = Settings.Pane.extend({ - id: 'users', - events: { - } - }); - - // ### Appearance settings - Settings.appearance = Settings.Pane.extend({ - id: 'appearance', - events: { - } - }); - - // ### Services settings - Settings.services = Settings.Pane.extend({ - id: 'services', - events: { - } - }); - - // ### Plugins settings - Settings.plugins = Settings.Pane.extend({ - id: 'plugins', - events: { - } - }); - }());