From 8828d7189173dfdf8c88082cf69d1eb74d89e9a7 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 28 Jul 2016 08:27:41 -0400 Subject: refactor settings panes, simplify admin page --- src/views/admin-page.ecr | 254 ++--------------------------------------------- 1 file changed, 9 insertions(+), 245 deletions(-) (limited to 'src/views/admin-page.ecr') diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index 5b9f352..1eb030a 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -3,266 +3,30 @@ <%= h(TITLE) %> - - <%= - styles %w{ - assets/font-awesome-4.5.0/css/font-awesome.min.css - assets/bootstrap-3.3.6/css/bootstrap.min.css - assets/bootstrap-3.3.6/css/bootstrap-theme.min.css - assets/css/admin.css - } - %> + <%= styles %> - + <%= navbar %>
-
- <%= admin_panes %> - -
-
-
-
-
- -
- -
-
-
-
-
-
- -
-

- TODO: general settings -

-
-
-
- -
-
-
- -
- - - -
- - - Loading... - -
-
-
- -
-
-
-
- -
-

- TODO: themes -

-
-
-
- -
-
-
-
- -
-

- TODO: sites settings -

-
-
-
- -
-
-
-
- -
-

- TODO: backups -

-
-
-
- -
-
-
-
- -
-

- TODO: import -

-
-
-
-
-
-
-
-
-
-
+
<%= + panes + %>
<%= dialogs %> - - <%= - scripts %w{ - assets/jquery-2.2.1.min.js - assets/luigi-template-0.4.1.min.js - assets/js/util.js - assets/bootstrap-3.3.6/js/bootstrap.min.js - assets/ckeditor-4.5.8-custom/ckeditor.js - assets/js/search-field.js - assets/js/dropdown.js - assets/js/admin/tabs/users.js - assets/js/admin/tabs/posts.js - assets/js/admin/tabs/files.js - assets/js/admin/dialogs/user-add.js - assets/js/admin/dialogs/user-edit.js - assets/js/admin/dialogs/post-edit.js - assets/js/admin/dialogs/blog-edit.js - assets/js/admin/dialogs/page-edit.js - assets/js/admin/dialogs/project-edit.js - } - %> + // --> + + <%= scripts %> -- cgit v1.2.3