diff --git a/CHANGELOG.md b/CHANGELOG.md index 24a0762c..97f18bf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v0.1.1 +## 08/04/2015 + +1. [](#bugfix) + * Fixed GitHub URLs + * Hiding toggle for disabling Admin plugin + * Removed extra text not needed + # v0.1.0 ## 08/04/2015 diff --git a/README.md b/README.md index 9a96f29c..e458da6b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Grav Standard Administration Panel Plugin +[](https://gitter.im/getgrav/grav-plugin-admin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + This **admin plugin** for [Grav](http://github.com/getgrav/grav) is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. This will remain a totally optional plugin, and is not in any way required or needed to use Grav effectively. In fact, the admin provides an intentionally limited view to ensure it remains easy to use and not overwhelming. I'm sure power users will still prefer to work with the configuration files directly. | IMPORTANT!!! This plugin is currently in development as is to be considered a **beta release**. As such, use this in a production environment **at your own risk!**. @@ -32,9 +34,9 @@ This **admin plugin** for [Grav](http://github.com/getgrav/grav) is an HTML user We have tested internally, but we hope to use this public beta phase to identify, isolate, and fix issues related to the plugin to ensure it is as solid and reliable as possible. -For **live chatting**, please use the dedicated [Gitter Chat Room for the admin plugin](https://gitter.im/grav/grav-plugin-admin) for dicussions directly related to the admin plugin. +For **live chatting**, please use the dedicated [Gitter Chat Room for the admin plugin](https://gitter.im/getgrav/grav-plugin-admin) for dicussions directly related to the admin plugin. -For **bugs, features, improvements**, please ensure you [create issues in the admin plugin GitHub repository](https://github.com/grav/grav-plugin-admin). +For **bugs, features, improvements**, please ensure you [create issues in the admin plugin GitHub repository](https://github.com/getgrav/grav-plugin-admin). # Installation @@ -52,7 +54,7 @@ $ bin/gpm install admin # Usage -Upon completion of the installation the next thing you need to do is create a user account in a file called `users/accounts/admin.yaml`: +Upon completion of the installation the next thing you need to do is create a user account in a file called `user/accounts/admin.yaml`: ``` username: admin diff --git a/admin.php b/admin.php index 011cd010..5ce62c00 100644 --- a/admin.php +++ b/admin.php @@ -229,7 +229,6 @@ class AdminPlugin extends Plugin public function onShutdown() { // Just so we know that we're in this debug mode - echo 'system.debugger.shutdown.close_connection = false'; if ($this->config->get('plugins.admin.popularity.enabled')) { // Only track non-admin diff --git a/blueprints.yaml b/blueprints.yaml index 33a1628d..421dc0a6 100644 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,5 +1,5 @@ -name: Administration Panel - Standard -version: 0.1.0 +name: Admin Panel +version: 0.1.1 description: Adds an advanced administration panel to manage your site icon: empire author: diff --git a/themes/grav/js/forms/fields/array.js b/themes/grav/js/forms/fields/array.js index 36befe36..53b9589c 100644 --- a/themes/grav/js/forms/fields/array.js +++ b/themes/grav/js/forms/fields/array.js @@ -85,21 +85,21 @@ return formValues; }; - ArrayField.prototype.add = function() { + ArrayField.prototype.add = function(event) { $(this._getNewField()).insertAfter($(event.target).closest('[data-grav-array-type="row"]')); if (this.isValueOnly()) { this.refreshAll(); } }; - ArrayField.prototype.remove = function() { + ArrayField.prototype.remove = function(event) { $(event.target).closest('[data-grav-array-type="row"]').remove(); if (this.isValueOnly()) { this.refreshAll(); } }; - ArrayField.prototype.update = function() { + ArrayField.prototype.update = function(event) { var keyField = $(event.target), valueField = keyField.closest('[data-grav-array-type="row"]').find('[data-grav-array-type="value"]'); diff --git a/themes/grav/templates/partials/base.html.twig b/themes/grav/templates/partials/base.html.twig index c8ee2fed..d79d5fa4 100644 --- a/themes/grav/templates/partials/base.html.twig +++ b/themes/grav/templates/partials/base.html.twig @@ -92,7 +92,7 @@ {% block content %}{% endblock %} {% if config.plugins.admin.show_beta_msg %} -
+ {% endif %} {% block content_bottom %}{% endblock %} diff --git a/themes/grav/templates/partials/plugins-list.html.twig b/themes/grav/templates/partials/plugins-list.html.twig index 99f09260..645dc2bd 100644 --- a/themes/grav/templates/partials/plugins-list.html.twig +++ b/themes/grav/templates/partials/plugins-list.html.twig @@ -24,7 +24,7 @@ v{{ plugin.version }}