Commit Graph

1968 Commits

Author SHA1 Message Date
Flavio Copes
86cc517ec4 Fix flow when no dependencies are defined, can install right away 2016-03-08 18:16:28 +01:00
Flavio Copes
1fc0fa589e Use new modal for installing plugins from plugins details page too, in addition to list 2016-03-08 11:41:24 +01:00
Flavio Copes
ddd9d438c4 Use new modal for installing themes too 2016-03-08 11:41:01 +01:00
Flavio Copes
9562de4222 Move common code to modal-add-package.html.twig and modal-remove-package.html.twig. 2016-03-08 11:40:45 +01:00
Flavio Copes
693bad0e38 Move the duplicated changes detected modal to its own partial 2016-03-08 11:38:40 +01:00
Flavio Copes
1d6257c90a Move the common plugins/themes events handling to utils/packages.js 2016-03-08 11:37:46 +01:00
Flavio Copes
c0f73bf6ed Actually remove a package 2016-03-08 11:37:04 +01:00
Flavio Copes
b2a886fe88 Merge branch 'develop' into feature/admin-gpm-dependencies 2016-03-08 09:14:19 +01:00
Andy Miller
38ac5cc927 sorted the colors of the toggle 2016-03-07 20:14:24 -07:00
Andy Miller
21e2350a01 fixed a z-index issue 2016-03-07 20:05:30 -07:00
Djamil Legato
1bd40bf8dd Added logic to switch the double angled icon for the sidebar when it's open / closed 2016-03-07 18:46:14 -08:00
Andy Miller
84fe85373c more mobile improvements 2016-03-07 19:31:38 -07:00
Djamil Legato
973f226f82 Added animation for toggler. Moved toggler outside of title and preserving it while the sidebar is open in mobile. 2016-03-07 18:04:43 -08:00
Andy Miller
2463ff6ff9 Merge branch 'feature/new_nav' of https://github.com/getgrav/grav-plugin-admin into feature/new_nav
# Conflicts:
#	themes/grav/css-compiled/template.css
2016-03-07 18:27:42 -07:00
Andy Miller
c163d2acd2 added some stuff for new toggle 2016-03-07 18:26:35 -07:00
Djamil Legato
4a25c41145 Fixed mobile not clearing out sidebar classes 2016-03-07 16:34:38 -08:00
Djamil Legato
40e78ce992 Added logic for sidebar toggler based on mediaQuery 2016-03-07 16:17:22 -08:00
Andy Miller
371825d915 support for sidebar-closed 2016-03-07 16:57:51 -07:00
Djamil Legato
11a659e4c6 Implemented toggler logic for expanding / contracting sidebar
Any element with `data-sidebar-toggle` will trigger the expansion / contraction of the sidebar.
2016-03-07 15:51:33 -08:00
Andy Miller
1ec4e4e5f4 added a toggle 2016-03-07 16:29:07 -07:00
Andy Miller
04c90e8bf6 various fixes 2016-03-07 16:09:44 -07:00
Andy Miller
1a7acb2692 accidentally left class hardcoded in there 2016-03-07 15:32:55 -07:00
Andy Miller
8563937f3b added a sidebar-open class = <nav id="admin-sidebar" class="sidebar-open"> 2016-03-07 15:23:40 -07:00
Djamil Legato
4f44c937bd Implemented mobile logic for vertical dropdown of new sidebar 2016-03-07 13:43:44 -08:00
Andy Miller
e7679e830c Fix for long pages and tabs - #441 2016-03-07 11:49:12 -07:00
Andy Miller
2648538bf8 tweaked navbar width 2016-03-07 11:09:18 -07:00
Flavio Copes
6c92563e05 Handle installing a plugin and its dependencies 2016-03-07 11:34:08 +01:00
Flavio Copes
856a325a17 Add taskPackageDependencies, taskInstallDependenciesOfPackage, taskInstallPackage 2016-03-07 11:33:23 +01:00
Flavio Copes
532093e86d Add getDependenciesNeededToInstall, used by the controller 2016-03-07 11:31:18 +01:00
Andy Miller
91b48d7c1b more updates 2016-03-06 20:16:39 -07:00
Andy Miller
68f2ddf916 progress on new nav logic 2016-03-06 19:36:27 -07:00
Flavio Copes
fa8b584d63 Handle removing a theme too 2016-03-06 11:57:47 +01:00
Flavio Copes
2417c88ecd Generalize taskRemovePlugin into taskRemovePackage 2016-03-06 11:57:27 +01:00
Flavio Copes
6f5d9bfecb Drop redundant nonce 2016-03-06 11:42:30 +01:00
Flavio Copes
7f2f26a74b Generalize the code so can be easily reused by themes too 2016-03-06 10:34:32 +01:00
Flavio Copes
409a98ea98 Drop old remove button 2016-03-06 10:08:07 +01:00
Flavio Copes
1f890c2a7d Move the bulk of plugins removal to utils/packages.js 2016-03-06 10:07:58 +01:00
Andy Miller
a2dc026551 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop 2016-03-05 15:37:36 -07:00
Andy Miller
f01737cf0a refreshes for the login/logout pages 2016-03-05 15:37:04 -07:00
Flavio Copes
cf6bfff8cc Complete client-side dependencies management. Add information of which plugin needed an additional package that can now be deleted since not required any more 2016-03-05 20:58:19 +01:00
Flavio Copes
c9b6b01607 Complete remove plugin task. Handle failure. 2016-03-05 20:57:13 +01:00
Flavio Copes
382fd32916 Steps towards deleting dependencies when removing a plugin 2016-03-05 18:46:41 +01:00
Flavio Copes
33abe0d4ca Merge branch 'develop' into feature/admin-gpm-dependencies 2016-03-05 12:11:55 +01:00
Flavio Copes
707a7b71ed Lint controller 2016-03-05 12:11:13 +01:00
Flavio Copes
c72689a1f5 Merge branch 'develop' into feature/admin-gpm-dependencies 2016-03-05 09:12:44 +01:00
Andy Miller
5d323ed7f3 fixed update colors 2016-03-04 23:17:21 -07:00
Andy Miller
6fa90d3755 shrunk logo a smudge 2016-03-04 20:24:02 -07:00
Djamil Legato
ea0c7bd648 Fixed issue in page filters that wouldn't allow to reset the flags to empty 2016-03-04 18:07:30 -08:00
Djamil Legato
d178def675 Allow editor to be resized in lists 2016-03-04 18:02:53 -08:00
Djamil Legato
136e91487c Added generic implementation for vertically reisizing the editor via drag handler 2016-03-04 18:01:04 -08:00