Browse Source

menu admin

master
Charly 3 years ago
parent
commit
71c4da49d4
18 changed files with 45 additions and 229 deletions
  1. +1
    -51
      public/build/adminlte-common.js
  2. +1
    -27
      public/build/adminlte-field-collection.js
  3. +1
    -27
      public/build/adminlte-field-filemanager.js
  4. +1
    -36
      public/build/adminlte-form.js
  5. +1
    -36
      public/build/adminlte-index.js
  6. +1
    -36
      public/build/adminlte-sort.js
  7. +6
    -2
      src/Controller/Admin/DashboardController.php
  8. +5
    -5
      src/Controller/Admin/ThematicCrudController.php
  9. +2
    -1
      src/Entity/CollectifData.php
  10. +2
    -1
      src/Entity/Configuration.php
  11. +2
    -1
      src/Entity/Dreams.php
  12. +2
    -1
      src/Entity/IndividualData.php
  13. +2
    -1
      src/Entity/ProjectsBoost.php
  14. +2
    -1
      src/Entity/ProjectsInspiring.php
  15. +2
    -1
      src/Entity/Revolts.php
  16. +2
    -1
      src/Entity/Territory.php
  17. +7
    -1
      src/Entity/Thematic.php
  18. +5
    -0
      translations/admin.fr.yaml

+ 1
- 51
public/build/adminlte-common.js
File diff suppressed because it is too large
View File


+ 1
- 27
public/build/adminlte-field-collection.js
File diff suppressed because it is too large
View File


+ 1
- 27
public/build/adminlte-field-filemanager.js
File diff suppressed because it is too large
View File


+ 1
- 36
public/build/adminlte-form.js View File

@@ -1,45 +1,25 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([["adminlte-form"],{

<<<<<<< HEAD
/***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/app.form.js":
/*!********************************************************************************!*\
!*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/app.form.js ***!
\********************************************************************************/
=======
/***/ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/app.form.js":
/*!*********************************************************************************!*\
!*** ../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/app.form.js ***!
\*********************************************************************************/
>>>>>>> e36ac0b2225ac3f104d96aaae3ed40fc8b33ce6a
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
<<<<<<< HEAD
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./form.js */ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.js");
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_form_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _form_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./form.scss */ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.scss");
=======
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./form.js */ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.js");
/* harmony import */ var _form_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_form_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _form_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./form.scss */ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.scss");
>>>>>>> e36ac0b2225ac3f104d96aaae3ed40fc8b33ce6a



/***/ }),

<<<<<<< HEAD
/***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.js":
/*!****************************************************************************!*\
!*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.js ***!
\****************************************************************************/
=======
/***/ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.js":
/*!*****************************************************************************!*\
!*** ../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.js ***!
\*****************************************************************************/
>>>>>>> e36ac0b2225ac3f104d96aaae3ed40fc8b33ce6a
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {

__webpack_require__(/*! core-js/modules/es.array.find.js */ "./node_modules/core-js/modules/es.array.find.js");
@@ -64,17 +44,10 @@ $('button[type="submit"]').on('click', function (e) {

/***/ }),

<<<<<<< HEAD
/***/ "../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.scss":
/*!******************************************************************************!*\
!*** ../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/form.scss ***!
\******************************************************************************/
=======
/***/ "../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.scss":
/*!*******************************************************************************!*\
!*** ../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/form.scss ***!
\*******************************************************************************/
>>>>>>> e36ac0b2225ac3f104d96aaae3ed40fc8b33ce6a
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
@@ -89,16 +62,8 @@ __webpack_require__.r(__webpack_exports__);
/******/ "use strict";
/******/
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
<<<<<<< HEAD
/******/ __webpack_require__.O(0, ["vendors-node_modules_core-js_internals_a-function_js-node_modules_core-js_internals_export_js","vendors-node_modules_core-js_modules_es_array_find_js"], () => (__webpack_exec__("../LaClicBundle/SovBundle/Resources/assets/app/adminlte/form/app.form.js")));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi4vTGFDbGljQnVuZGxlL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9mb3JtL2FwcC5mb3JtLmpzIiwid2VicGFjazovLy8uLi9MYUNsaWNCdW5kbGUvU292QnVuZGxlL1Jlc291cmNlcy9hc3NldHMvYXBwL2FkbWlubHRlL2Zvcm0vZm9ybS5qcyIsIndlYnBhY2s6Ly8vLi4vTGFDbGljQnVuZGxlL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9mb3JtL2Zvcm0uc2NzcyJdLCJuYW1lcyI6WyJjaGVja0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s7Ozs7O0FDaEJBIiwiZmlsZSI6ImFkbWlubHRlLWZvcm0uanMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmltcG9ydCAnLi9mb3JtLmpzJ1xuaW1wb3J0ICcuL2Zvcm0uc2NzcyciLCJcblxuZnVuY3Rpb24gY2hlY2tGb3JtKCkge1xuICAgICQoJ2Zvcm0nKS5hZGRDbGFzcygnZm9ybS1zZW50Jyk7XG4gICAgLy9QYW5lbCB2dWVzIGpzXG4gICAgaWYgKCQoJ2Zvcm0nKS5maW5kKCcudGFiLXBhbmUnKS5sZW5ndGgpIHtcbiAgICAgICAgJCgnZm9ybScpLmZpbmQoJy50YWItcGFuZScpLmVhY2goZnVuY3Rpb24gKGksIHBhbmVsKSB7XG4gICAgICAgICAgICBpZiAoJChwYW5lbCkuZmluZCgnOmludmFsaWQnKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAkKCcjbmF2LXBhcmFtcycpLmZpbmQoJy5uYXYtaXRlbTplcSgnICsgaSArICcpJykuYWRkQ2xhc3MoJ2hhcy1pbnZhbGlkJyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICQoJyNuYXYtcGFyYW1zJykuZmluZCgnLm5hdi1pdGVtOmVxKCcgKyBpICsgJyknKS5yZW1vdmVDbGFzcygnaGFzLWludmFsaWQnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICB9XG59XG5cbiQoJ2J1dHRvblt0eXBlPVwic3VibWl0XCJdJykub24oJ2NsaWNrJywgZnVuY3Rpb24gKGUpIHtcblxuICAgIGNoZWNrRm9ybSgpO1xufSkiLCIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCB7fTsiXSwic291cmNlUm9vdCI6IiJ9
=======
/******/ __webpack_require__.O(0, ["vendors-node_modules_core-js_internals_a-function_js-node_modules_core-js_internals_export_js","vendors-node_modules_core-js_modules_es_array_find_js"], () => (__webpack_exec__("../LaclicBundles/SovBundle/Resources/assets/app/adminlte/form/app.form.js")));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ }
]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi4vTGFjbGljQnVuZGxlcy9Tb3ZCdW5kbGUvUmVzb3VyY2VzL2Fzc2V0cy9hcHAvYWRtaW5sdGUvZm9ybS9hcHAuZm9ybS5qcyIsIndlYnBhY2s6Ly8vLi4vTGFjbGljQnVuZGxlcy9Tb3ZCdW5kbGUvUmVzb3VyY2VzL2Fzc2V0cy9hcHAvYWRtaW5sdGUvZm9ybS9mb3JtLmpzIiwid2VicGFjazovLy8uLi9MYWNsaWNCdW5kbGVzL1NvdkJ1bmRsZS9SZXNvdXJjZXMvYXNzZXRzL2FwcC9hZG1pbmx0ZS9mb3JtL2Zvcm0uc2NzcyJdLCJuYW1lcyI6WyJjaGVja0Zvcm0iLCIkIiwiYWRkQ2xhc3MiLCJmaW5kIiwibGVuZ3RoIiwiZWFjaCIsImkiLCJwYW5lbCIsInJlbW92ZUNsYXNzIiwib24iLCJlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQ0E7Ozs7Ozs7Ozs7Ozs7QUNDQSxTQUFTQSxTQUFULEdBQXFCO0FBQ2pCQyxHQUFDLENBQUMsTUFBRCxDQUFELENBQVVDLFFBQVYsQ0FBbUIsV0FBbkIsRUFEaUIsQ0FFakI7O0FBQ0EsTUFBSUQsQ0FBQyxDQUFDLE1BQUQsQ0FBRCxDQUFVRSxJQUFWLENBQWUsV0FBZixFQUE0QkMsTUFBaEMsRUFBd0M7QUFDcENILEtBQUMsQ0FBQyxNQUFELENBQUQsQ0FBVUUsSUFBVixDQUFlLFdBQWYsRUFBNEJFLElBQTVCLENBQWlDLFVBQVVDLENBQVYsRUFBYUMsS0FBYixFQUFvQjtBQUNqRCxVQUFJTixDQUFDLENB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2tGb3JtKCkge1xuICAgICQoJ2Zvcm0nKS5hZGRDbGFzcygnZm9ybS1zZW50Jyk7XG4gICAgLy9QYW5lbCB2dWVzIGpzXG4gICAgaWYgKCQoJ2Zvcm0nKS5maW5kKCcudGFiLXBhbmUnKS5sZW5ndGgpIHtcbiAgICAgICAgJCgnZm9ybScpLmZpbmQoJy50YWItcGFuZScpLmVhY2goZnVuY3Rpb24gKGksIHBhbmVsKSB7XG4gICAgICAgICAgICBpZiAoJChwYW5lbCkuZmluZCgnOmludmFsaWQnKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAkKCcjbmF2LXBhcmFtcycpLmZpbmQoJy5uYXYtaXRlbTplcSgnICsgaSArICcpJykuYWRkQ2xhc3MoJ2hhcy1pbnZhbGlkJyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICQoJyNuYXYtcGFyYW1zJykuZmluZCgnLm5hdi1pdGVtOmVxKCcgKyBpICsgJyknKS5yZW1vdmVDbGFzcygnaGFzLWludmFsaWQnKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICB9XG59XG5cbiQoJ2J1dHRvblt0eXBlPVwic3VibWl0XCJdJykub24oJ2NsaWNrJywgZnVuY3Rpb24gKGUpIHtcblxuICAgIGNoZWNrRm9ybSgpO1xufSkiLCIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCB7fTsiXSwic291cmNlUm9vdCI6IiJ9

+ 1
- 36
public/build/adminlte-index.js
File diff suppressed because it is too large
View File


+ 1
- 36
public/build/adminlte-sort.js
File diff suppressed because it is too large
View File


+ 6
- 2
src/Controller/Admin/DashboardController.php View File

@@ -6,6 +6,8 @@ namespace App\Controller\Admin;
use App\Entity\Common\TaxRate;
use App\Entity\IndividualData;
use App\Entity\Site\Page;
use App\Entity\Territory;
use App\Entity\Thematic;
use App\Entity\User\GroupUser;
use App\Entity\User\User;
use EasyCorp\Bundle\EasyAdminBundle\Config\Assets;
@@ -39,9 +41,11 @@ class DashboardController extends SovDashboardController
);
yield MenuItem::subMenu('data_collectif', 'user')->setSubItems(
[
MenuItem::linkToCrud('data_individual_validate', '', IndividualData::class),
MenuItem::linkToCrud('data_individual_waiting', '', IndividualData::class),
MenuItem::linkToCrud('data_collectif_validate', '', IndividualData::class),
MenuItem::linkToCrud('data_collectif_waiting', '', IndividualData::class),
]
);
yield MenuItem::linkToCrud('thematic', 'copy', Thematic::class);
yield MenuItem::linkToCrud('territory', 'copy', Territory::class);
}
}

+ 5
- 5
src/Controller/Admin/ThematicCrudController.php View File

@@ -3,6 +3,8 @@
namespace App\Controller\Admin;

use App\Entity\Thematic;
use EasyCorp\Bundle\EasyAdminBundle\Field\FormField;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
use Lc\SovBundle\Controller\Admin\AbstractCrudController;

class ThematicCrudController extends AbstractCrudController
@@ -12,14 +14,12 @@ class ThematicCrudController extends AbstractCrudController
return Thematic::class;
}

/*
public function configureFields(string $pageName): iterable
{
return [
IdField::new('id'),
TextField::new('title'),
TextEditorField::new('description'),
TextField::new('name'),
];
}
*/
}

+ 2
- 1
src/Entity/CollectifData.php View File

@@ -7,13 +7,14 @@ use App\Repository\CollectifDataRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\EntityInterface;
use Lc\SovBundle\Doctrine\Extension\StatusInterface;
use Lc\SovBundle\Doctrine\Extension\StatusTrait;

/**
* @ORM\Entity(repositoryClass=CollectifDataRepository::class)
*/
class CollectifData implements StatusInterface
class CollectifData implements StatusInterface, EntityInterface
{
use StatusTrait;


+ 2
- 1
src/Entity/Configuration.php View File

@@ -4,13 +4,14 @@ namespace App\Entity;

use App\Repository\ConfigurationRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\EntityInterface;
use Lc\SovBundle\Doctrine\Extension\DevAliasInterface;
use Lc\SovBundle\Doctrine\Extension\DevAliasTrait;

/**
* @ORM\Entity(repositoryClass=ConfigurationRepository::class)
*/
class Configuration implements DevAliasInterface
class Configuration implements DevAliasInterface, EntityInterface
{
use DevAliasTrait;


+ 2
- 1
src/Entity/Dreams.php View File

@@ -6,11 +6,12 @@ use App\Repository\DreamsRepository;
use Doctrine\ORM\Mapping as ORM;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;
use Lc\SovBundle\Doctrine\EntityInterface;

/**
* @ORM\Entity(repositoryClass=DreamsRepository::class)
*/
class Dreams implements DescriptionProjectInterface
class Dreams implements DescriptionProjectInterface, EntityInterface
{
use DescriptionProjectTrait;


+ 2
- 1
src/Entity/IndividualData.php View File

@@ -6,13 +6,14 @@ use App\Repository\IndividualDataRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\EntityInterface;
use Lc\SovBundle\Doctrine\Extension\StatusInterface;
use Lc\SovBundle\Doctrine\Extension\StatusTrait;

/**
* @ORM\Entity(repositoryClass=IndividualDataRepository::class)
*/
class IndividualData implements StatusInterface
class IndividualData implements StatusInterface, EntityInterface
{
use StatusTrait;


+ 2
- 1
src/Entity/ProjectsBoost.php View File

@@ -6,11 +6,12 @@ use App\Repository\ProjectsBoostRepository;
use Doctrine\ORM\Mapping as ORM;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;
use Lc\SovBundle\Doctrine\EntityInterface;

/**
* @ORM\Entity(repositoryClass=ProjectsBoostRepository::class)
*/
class ProjectsBoost implements DescriptionProjectInterface
class ProjectsBoost implements DescriptionProjectInterface, EntityInterface
{
use DescriptionProjectTrait;


+ 2
- 1
src/Entity/ProjectsInspiring.php View File

@@ -6,11 +6,12 @@ use App\Repository\ProjectsInspiringRepository;
use Doctrine\ORM\Mapping as ORM;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;
use Lc\SovBundle\Doctrine\EntityInterface;

/**
* @ORM\Entity(repositoryClass=ProjectsInspiringRepository::class)
*/
class ProjectsInspiring implements DescriptionProjectInterface
class ProjectsInspiring implements DescriptionProjectInterface, EntityInterface
{
use DescriptionProjectTrait;


+ 2
- 1
src/Entity/Revolts.php View File

@@ -6,11 +6,12 @@ use App\Repository\RevoltsRepository;
use Doctrine\ORM\Mapping as ORM;
use App\Doctrine\Extension\DescriptionProjectInterface;
use App\Doctrine\Extension\DescriptionProjectTrait;
use Lc\SovBundle\Doctrine\EntityInterface;

/**
* @ORM\Entity(repositoryClass=RevoltsRepository::class)
*/
class Revolts implements DescriptionProjectInterface
class Revolts implements DescriptionProjectInterface, EntityInterface
{
use DescriptionProjectTrait;


+ 2
- 1
src/Entity/Territory.php View File

@@ -6,11 +6,12 @@ use App\Repository\TerritoryRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\EntityInterface;

/**
* @ORM\Entity(repositoryClass=TerritoryRepository::class)
*/
class Territory
class Territory implements EntityInterface
{
/**
* @ORM\Id

+ 7
- 1
src/Entity/Thematic.php View File

@@ -4,11 +4,12 @@ namespace App\Entity;

use App\Repository\ThematicRepository;
use Doctrine\ORM\Mapping as ORM;
use Lc\SovBundle\Doctrine\EntityInterface;

/**
* @ORM\Entity(repositoryClass=ThematicRepository::class)
*/
class Thematic
class Thematic implements EntityInterface
{
/**
* @ORM\Id
@@ -22,6 +23,11 @@ class Thematic
*/
private $name;

public function __toString()
{
return $this->name;
}

public function getId(): ?int
{
return $this->id;

+ 5
- 0
translations/admin.fr.yaml View File

@@ -2,3 +2,8 @@ menu:
data_individual: Formulaire individuel
data_individual_validate: Données validées
data_individual_waiting: Données en attente de validation
data_collectif: Formulaire collectif
data_collectif_validate: Données validées
data_collectif_waiting: Données en attente de validation
territory: Territoires
thematic: Thématiques

Loading…
Cancel
Save