From 5deba306e92aa8deebc1eb4764f2ba0743b28b19 Mon Sep 17 00:00:00 2001 From: hundrix Date: Mon, 5 Feb 2018 14:36:16 +0100 Subject: [PATCH] Ref #23: Add and modify many files to create an make CRUD of strip work. Commit way to big, won't happen again. --- app/Resources/views/base.html.twig | 33 ++- app/Resources/views/strip/edit.html.twig | 21 ++ app/Resources/views/strip/list.html.twig | 53 ++++ app/Resources/views/strip/new.html.twig | 16 ++ app/Resources/views/strip/show.html.twig | 48 ++++ app/config/config.yml | 6 + .../Controller/AdministrationController.php | 138 ++++++++- src/AppBundle/Controller/StripController.php | 19 ++ src/AppBundle/Entity/Account.php | 14 + src/AppBundle/Entity/ContentWarning.php | 12 +- src/AppBundle/Entity/Strip.php | 263 ++++++++++++++++++ src/AppBundle/Form/StripType.php | 51 ++++ src/AppBundle/Repository/StripRepository.php | 13 + .../Tests/Controller/StripControllerTest.php | 55 ++++ .../1e70788c515c3232713f55dc9f4295e2.png | Bin 0 -> 22152 bytes .../205be9aaaa222d41ba54ddd632782d05.png | Bin 0 -> 20226 bytes .../39bb458672dfa22ed4a5a2688129cf4d.png | Bin 0 -> 20226 bytes .../ca65322d505332346941d60600276868.png | Bin 0 -> 22152 bytes 18 files changed, 725 insertions(+), 17 deletions(-) create mode 100644 app/Resources/views/strip/edit.html.twig create mode 100644 app/Resources/views/strip/list.html.twig create mode 100644 app/Resources/views/strip/new.html.twig create mode 100644 app/Resources/views/strip/show.html.twig create mode 100644 src/AppBundle/Controller/StripController.php create mode 100644 src/AppBundle/Entity/Strip.php create mode 100644 src/AppBundle/Form/StripType.php create mode 100644 src/AppBundle/Repository/StripRepository.php create mode 100644 src/AppBundle/Tests/Controller/StripControllerTest.php create mode 100644 web/images/strips/1e70788c515c3232713f55dc9f4295e2.png create mode 100644 web/images/strips/205be9aaaa222d41ba54ddd632782d05.png create mode 100644 web/images/strips/39bb458672dfa22ed4a5a2688129cf4d.png create mode 100644 web/images/strips/ca65322d505332346941d60600276868.png diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index 1e7540e..93f3c71 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -30,7 +30,7 @@
- +
- + + {% endif %}