62 | ```
--------------------------------------------------------------------------------
/Resources/doc/builders/excel-builder.md:
--------------------------------------------------------------------------------
1 | # Excel builder
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#4-generator
7 |
8 | ### Requirements
9 |
10 | To use the Excel export make sure you have installed the recommended dependency `liuggio/excelbundle` (version `>= 2.0`) and enabled it in your AppKernel.php (`new Liuggio\ExcelBundle\LiuggioExcelBundle()`). Without this bundle enabled the ExcelAction will not work.
11 |
12 | ### 1. Usage
13 | The Excel builder provides an Excel export of the list view. The export uses the data that is visible on the screen (and the next pages) and thus uses the filters and scopes selected. You can use object associations by just entering a dot.
14 |
15 | ### 2. Options
16 |
17 | * `display`: The same as in list/new/show/edit, selects the columns to export
18 | * `filename`: Specify the export filename. When null 'admin_export_{list title}' is used
19 | * `filetype`: Default Excel2007. See the [excelbundle documention](https://github.com/liuggio/excelbundle#not-only-excel5) for the possible options.
20 | * `datetime_format`: Specify the DateTime format to be used in the Excel export. Default is `Y-m-d H:i:s`.
21 |
22 | ### 3. Header titles in Excel
23 |
24 | The header titles are fully customizable just as every other block. Just use the `fields` key directly under the builder. This even works for associated fields like `person.fullname`.
25 |
--------------------------------------------------------------------------------
/Resources/doc/builders/list-builder.md:
--------------------------------------------------------------------------------
1 | # List builder
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#4-generator
7 |
8 | Sorry, this has not yet been completely rewritten.
9 |
10 | List builder features:
11 |
12 | * [Title](common/title.md)
13 | * [Localized date](common/localized-date.md)
14 |
15 | ### Filters
16 |
17 | It's now possible to filter by multiple values for a single field.
18 | Just set your ```formType``` for that field as ```choice``` and then add the ```multiple``` option with ```true``` as value. As example:
19 | ```
20 | filters:
21 | params:
22 | fields:
23 | occurrenceWeek:
24 | formType: choice
25 | formOptions:
26 | required: false
27 | multiple: true
28 | choices: '\Your\AwesomeBundle\YourAwesomeBundle::getYearWeeks()'
29 | ```
30 |
--------------------------------------------------------------------------------
/Resources/doc/cookbook/changeing-web-directory.md:
--------------------------------------------------------------------------------
1 | # Changeing web directory
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | ### 1. Overview
9 |
10 | Some hosts have reserved `web` directory name. Make symfony2 run on such hosts
11 | you must rename `web` directory. In this cookbook you will learn how to rename
12 | `web` directory to `pub`.
13 |
14 | ### 2. Configure Symfony2
15 |
16 | Add a `symfony-web-dir` under *extra* in your `composer.json`:
17 |
18 | ```json
19 | "extra": {
20 | "symfony-web-dir": "pub"
21 | },
22 | ```
23 |
24 | ### 3. Configure RobLoach/component-installer
25 |
26 | Admingenerator uses RobLoach/component-installer to install third-party assets like
27 | jquery, jqueryui or twitter bootstrap. To change the web directory add `component-dir`
28 | under *config* in your `composer.json`:
29 |
30 | ```json
31 | "config": {
32 | "component-dir": "pub/components"
33 | }
34 | ```
35 |
--------------------------------------------------------------------------------
/Resources/doc/cookbook/commandLine.md:
--------------------------------------------------------------------------------
1 | # Command Line
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | There are two ways to create an admin using console.
9 |
10 | ## 1. Add an admin on an existing bundle
11 |
12 | Imagine you created a bundle before, using symfony standard commands.
13 |
14 | [(how to create a bundle?)][symfony-1]
15 |
16 | [symfony-1]: http://symfony.com/doc/2.0/book/page_creation.html
17 |
18 | now you should generate an admin for this bundle.
19 | use this command to generate an admin on an existing bundle :
20 |
21 | ``` bash
22 | $ php app/console admin:generate-admin
23 | ```
24 |
25 | Answer all questions step by step and admingenerator will generate your admin according to your answers.
26 |
27 | ##### here is an example:
28 |
29 | )
31 |
32 |
33 | Now you have your admin.
34 |
35 | ## 2. Generating a bundle using admingenerator
36 |
37 | (writing ...)
38 |
--------------------------------------------------------------------------------
/Resources/doc/cookbook/conditional-actions.md:
--------------------------------------------------------------------------------
1 | # Conditional actions
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | ### 0. Deprecated parameter
9 |
10 | > **Note:** deprecated method, use `Expressions` from JMSDiExtraBundle instead. You can easily migrate your conditions
11 | using this logic:
12 |
13 | ```yaml
14 | # Before
15 | params:
16 | fields:
17 | condition:
18 | function: canDelete
19 | parameters: [ app.user ]
20 | inverse: true
21 |
22 | # After
23 | params:
24 | fields:
25 | credentials: !object.canDelete(user)
26 | ```
27 |
28 | ### 1. Usage
29 |
30 | You may customize list by specifying conditional actions. For example, you may display
31 | delete button only if user has group "ProductEditor" and Product has no sales yet.
32 |
33 | ### 2. Support
34 |
35 | Conditional actions are avaliable for **Doctrine ORM**, **Doctrine ODM** and **Propel**.
36 |
37 | ### 3. Configuration
38 |
39 | Add conditional function to your `generator.yml` file:
40 |
41 | ```yaml
42 | object_actions:
43 | delete:
44 | condition:
45 | function: canDelete
46 | parameters: [ app.user ]
47 | inverse: false
48 | ```
49 |
50 | In this case, the generator's model object must contain a "canDelete" method:
51 |
52 | ```php
53 | class ProductEntity
54 | {
55 | public function canDelete($user)
56 | {
57 | return ($this->countProductSales() == 0 && $user->hasGroup('ProductEditor');
58 | }
59 | }
60 | ```
--------------------------------------------------------------------------------
/Resources/doc/cookbook/controllers.md:
--------------------------------------------------------------------------------
1 | # Controllers - Tips and Tricks
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | ### 1. Adding parameters in view from controllers
9 |
10 | Sometimes, you may need to transmit some parameters from your *generated* controller to your *generated* view.
11 | You can simply do it by overriding the protected **getAdditionalRenderParameters** function into your bundle. Depending on controller *type*, prototype is different:
12 |
13 | In *list* controllers (`ListController` and `NestedListController`) prototype is:
14 | ```php
15 | protected function getAdditionalRenderParameters(); // No parameters
16 | ```
17 |
18 | In *edit*, *show* and *new* controllers (`EditController`, `ShowController` and `NewController`) prototype is:
19 | ```php
20 | protected function getAdditionalRenderParameters(\Full\Path\To\Your\Object $Object);
21 | ```
22 |
23 | This function **must** return an array.
24 | By default, it returns an empty array.
25 |
26 | > **Note:** this function is not available in `DeleteController` because it always returns a `RedirectResponse`.
27 |
--------------------------------------------------------------------------------
/Resources/doc/cookbook/custom-view-types.md:
--------------------------------------------------------------------------------
1 | # Custom View types
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | Sometimes, you might want to change the way the list or show view of a specific entity field is rendered. This can be done with a few simple steps!
9 |
10 | 1. Create a twig html template with your custom view block. Your block needs to start with `column_` and a viewname of your choice. We use gender as example
11 | ```twig
12 | #example custom_blocks.html.twig
13 | {% block column_gender %}
14 | {% spaceless %}
15 | {% if(field_value == 'm') %}
16 |
17 | {% elseif(field_value == 'f') %}
18 |
19 | {% else %}
20 |
21 | {% endif %}
22 | {% endspaceless %}
23 | {% endblock %}
24 | ```
25 |
26 | 2. Specify the location of the custom template file in the `generator.yml` by using the `custom_blocks` param in the general, edit or show builder
27 | ```yaml
28 | #example for the show and list builder
29 | params:
30 | custom_blocks: AcmeDemoBundle:Form:custom_blocks.html.twig
31 | ```
32 | ```yaml
33 | #example for just the show builder
34 | builder:
35 | show:
36 | params:
37 | custom_blocks: Acme:Form:custom_blocks.html.twig
38 | ```
39 |
40 | 3. In the generator.yml, add the option `customView: %viewname%` for the wanted field
41 | ```yaml
42 | # Example
43 | params:
44 | fields:
45 | gender:
46 | customView: gender # %viewname%
47 | ```
48 |
49 | Now you can make your own templates which will be rendered only in the specified list/show views!
--------------------------------------------------------------------------------
/Resources/doc/cookbook/extending-generator-templates.md:
--------------------------------------------------------------------------------
1 | # Extending Generator Templates
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | Sometimes, you may want to extend/overwrite some of the generator templates in the Resources/templates dir. This is quite easy, but you will have to do some steps
9 |
10 | 1. First, you will need to add the template you will be using to the admingenerator config
11 | ```yaml
12 | # config.yml
13 | admingenerator_generator:
14 | templates_dirs: [ "%kernel.root_dir%/../app/Resources/AdmingeneratorGeneratorBundle/templates" ]
15 | ```
16 |
17 | 2. Keep in mind that you will at least need **one dir** in the previous specified template directory, namely of the DBAL layer used, so one of [Doctrine, DoctrineODM, Propel].
18 | Without this directory, the specified template directory will not be used for extending/overwriting any of the templates, even in the CommonAdmin dir.
19 | Note: If you are using git and your directory is empty you will [need to add least one file to add this directory to git](https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F). It's convention to add a .gitkeep file.
20 |
21 | 3. Be free to extend/overwrite any template in the Resources/templates dir of the AdminGenerator!
22 |
23 | Please note that your own templates might need adjustment when new releases of the AdminGenerator arrive. So if anything breaks after a update and you're using custom templates, please check those first!
24 |
--------------------------------------------------------------------------------
/Resources/doc/cookbook/formTypes.md:
--------------------------------------------------------------------------------
1 | # Form Types - Tips and Tricks
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | ## 1. Customize form options with PHP logic
9 |
10 | If you need to customize your form options using some PHP logic, you have to overwrite function `getFormOption` in
11 | the generated form type.
12 |
13 | Prototype is:
14 | ```php
15 | protected function getFormOption($name /*field name*/, array $formOptions /*generated form options*/);
16 | ```
17 |
18 | This function **must** return an array.
19 | By default, it returns pre-configured options.
20 |
21 | > **Note:** use this only if you need some PHP logic (QueryBuilder is a good example). Otherwise, generator.yml file is
22 | the good location to configure a field (using `addFormOptions` parameter).
23 |
24 | Example:
25 | ```php
26 | /**
27 | * (non-PHPdoc)
28 | * @see \Admingenerated\ApplicationAdminBundle\Form\BaseProductType\FiltersType::getFormOption()
29 | */
30 | protected function getFormOption($name, array $formOptions)
31 | {
32 | switch($name) {
33 | case 'category':
34 | $formOptions['query_builder'] = function (CategoryRepository $er) {
35 | return $er->getQueryBuilderForFind();
36 | };
37 | break;
38 | }
39 |
40 | return $formOptions;
41 | }
42 | ```
--------------------------------------------------------------------------------
/Resources/doc/cookbook/images/a2lix-integrations.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/doc/cookbook/images/a2lix-integrations.png
--------------------------------------------------------------------------------
/Resources/doc/cookbook/images/console-example.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/doc/cookbook/images/console-example.png
--------------------------------------------------------------------------------
/Resources/doc/cookbook/templating.md:
--------------------------------------------------------------------------------
1 | # Templating - Tips and Tricks
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#7-cookbook
7 |
8 | ### 1. Adding log in/log out button in navbar
9 |
10 | If you want to automatically add a "Log in" / "Log out" / "Exit impersonation mode" button in your navbar, you have to specify route names under `admingenerator_generator`:
11 | ```yaml
12 | admingenerator_generator:
13 | login_path: MyLogin_path
14 | logout_path: MyLogout_path
15 | exit_path: MyExit_path
16 | ```
17 |
18 |
--------------------------------------------------------------------------------
/Resources/doc/features/doctrine-odm-features.md:
--------------------------------------------------------------------------------
1 | # Doctrine ODM features
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#3-features
7 |
8 | Soon, all features tested and working on Doctrine ODM will be listed here.
--------------------------------------------------------------------------------
/Resources/doc/features/doctrine-orm-features.md:
--------------------------------------------------------------------------------
1 | # Doctrine ORM features
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#3-features
7 |
8 | Soon, all features tested and working on Doctrine ORM will be listed here.
--------------------------------------------------------------------------------
/Resources/doc/features/propel-features.md:
--------------------------------------------------------------------------------
1 | # Propel features
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#3-features
7 |
8 | Soon, all features tested and working on Propel will be listed here.
--------------------------------------------------------------------------------
/Resources/doc/generator/entity-manager.md:
--------------------------------------------------------------------------------
1 | # Usage of different Doctrine Entity Managers
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#4-generator
7 |
8 | ### 1. Usage
9 |
10 | When using Doctrine ORM, all Managers are auto-selected by the use of getManagerForClass of Doctrine.
11 |
12 | ### 2. Support
13 |
14 | Multiple Entity Managers are only automatically implemented for **Doctrine ORM**.
--------------------------------------------------------------------------------
/Resources/doc/generator/pk-requirement.md:
--------------------------------------------------------------------------------
1 | # Primary Key requirement
2 | ---------------------------------------
3 |
4 | [go back to Table of contents][back-to-index]
5 |
6 | [back-to-index]: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/documentation.md#4-generator
7 |
8 | ### 1. Usage
9 |
10 | This option allows you to specify primary key requirements to make admingenerator routes less greedy.
11 |
12 | ### 2. Support
13 |
14 | Primary Key requirement supports **Doctrine ORM**, **Doctrine ODM** and **Propel**.
15 |
16 | ### 3. Example
17 |
18 | Usage for the default Entity Manager
19 | ```yaml
20 | generator: admingenerator.generator.doctrine
21 | params:
22 | model: Acme\GalleryBundle\Entity\Album
23 | pk_requirement: \d+
24 | ```
25 |
26 | Will add a `\d+` requirement to these paths:
27 |
28 | * edit path `/{pk}/edit`
29 | * update path `/{pk}/update`
30 | * show path `/{pk}/show}`
31 | * object action path `/{pk}/{action}`
32 |
--------------------------------------------------------------------------------
/Resources/doc/support-and-contribution/gfm-cheat-sheet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/doc/support-and-contribution/gfm-cheat-sheet.png
--------------------------------------------------------------------------------
/Resources/less/bootstrap-extended.less:
--------------------------------------------------------------------------------
1 | //
2 | // Bootstrap extended
3 | // --------------------------------------------------
4 |
5 |
6 | // Sortable
7 | .sorted-asc, .sorted-desc {
8 | border-left: 5px solid transparent;
9 | border-right: 5px solid transparent;
10 | border-top: 5px solid @linkColor;
11 | content: "";
12 | width: 0;
13 | height: 0;
14 | display: inline-block;
15 | vertical-align: top;
16 | margin-top: 7px;
17 | margin-left: 4px;
18 | }
19 |
20 | .sorted-desc {
21 | border-top: 0px solid transparent;
22 | border-bottom: 5px solid @linkColor;
23 | }
--------------------------------------------------------------------------------
/Resources/old-doc/change-the-menu-class.markdown:
--------------------------------------------------------------------------------
1 | # Change the class used to render the help menu by your
2 |
3 | In config.yml set :
4 |
5 | ````yaml
6 | admingenerator_generator:
7 | knp_menu_class: YourVendor\YourBackBundle\Menu\AdminMenu
8 | ````
9 |
10 | To create your class you can use Admingenerator\GeneratorBundle\Menu\DefaultMenu to know how use the css classes
11 |
12 | # Extend default knp_menu_theme
13 |
14 | In config.yml set :
15 |
16 | ````yaml
17 | knp_menu:
18 | twig:
19 | template: AdmingeneratorGeneratorBundle:KnpMenu:knp_menu_trans.html.twig
20 | ````
21 |
22 | This theme enables:
23 |
24 | * prepending menu items with icons
25 | * appending caret to dropdown menu items
26 | * translation of menu item labels
27 |
28 |
--------------------------------------------------------------------------------
/Resources/old-doc/doc_edit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/old-doc/doc_edit.png
--------------------------------------------------------------------------------
/Resources/old-doc/doc_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/old-doc/doc_list.png
--------------------------------------------------------------------------------
/Resources/preview/dashboard-welcome-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/preview/dashboard-welcome-preview.png
--------------------------------------------------------------------------------
/Resources/preview/edit-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/preview/edit-preview.png
--------------------------------------------------------------------------------
/Resources/preview/list-preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/preview/list-preview.png
--------------------------------------------------------------------------------
/Resources/public/css/profile.css:
--------------------------------------------------------------------------------
1 | /* Profile styles
2 | -------------------------------------------------- */
3 |
4 | /* Invert profile colors */
5 | .profile {
6 | padding-left: 15px;
7 | padding-right: 15px;
8 | background-color: #f5f5f5;
9 | }
10 |
11 | /* Fixes for small screens */
12 | @media (max-width: 979px) {
13 | .profile li {
14 | display: inline-block;
15 | }
16 | .navbar-collapse.in .profile li.btn-group {
17 | margin-top: 0px;
18 | }
19 | .navbar-collapse .nav > li > a, .navbar-collapse .dropdown-menu a {
20 | color: #FFFFFF;
21 | }
22 | }
23 |
24 | .profile .navbar-text {
25 | color: #0B6CBC;
26 | text-shadow: 0 1px 0 #FFFFFF;
27 | margin-right: 10px;
28 | }
29 |
30 | .navbar .profile .btn-group .btn-xs {
31 | margin-top: 2px;
32 | }
33 |
34 | .btn-profile {
35 | color: #ffffff;
36 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
37 | background-color: #62A8D1;
38 | background-image: -moz-linear-gradient(top, #438EB9, #62A8D1);
39 | background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#438EB9), to(#62A8D1));
40 | background-image: -webkit-linear-gradient(top, #438EB9, #62A8D1);
41 | background-image: -o-linear-gradient(top, #438EB9, #62A8D1);
42 | background-image: linear-gradient(to bottom, #438EB9, #62A8D1);
43 | background-repeat: repeat-x;
44 | border-color: #0B6CBC #0B6CBC #1f6377;
45 | border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
46 | filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff438EB9', endColorstr='#ff62A8D1', GradientType=0);
47 | filter: progid:dximagetransform.microsoft.gradient(enabled=false);
48 | }
49 |
50 | .btn.btn-profile:hover,
51 | .btn.btn-profile:focus,
52 | .btn.btn-profile:active,
53 | .btn.btn-profile.active,
54 | .btn.btn-profile.disabled,
55 | .btn.btn-profile[disabled] {
56 | color: #ffffff;
57 | background-color: #62A8D1;
58 | }
59 |
60 | .btn-profile:active,
61 | .btn-profile.active {
62 | background-color: #3983C2 \9;
63 | }
--------------------------------------------------------------------------------
/Resources/public/cur/closedhand.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/cur/closedhand.cur
--------------------------------------------------------------------------------
/Resources/public/cur/openhand.cur:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/cur/openhand.cur
--------------------------------------------------------------------------------
/Resources/public/ico/admingenerator_gravatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/ico/admingenerator_gravatar.png
--------------------------------------------------------------------------------
/Resources/public/ico/apple-touch-icon-114-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/ico/apple-touch-icon-114-precomposed.png
--------------------------------------------------------------------------------
/Resources/public/ico/apple-touch-icon-144-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/ico/apple-touch-icon-144-precomposed.png
--------------------------------------------------------------------------------
/Resources/public/ico/apple-touch-icon-57-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/ico/apple-touch-icon-57-precomposed.png
--------------------------------------------------------------------------------
/Resources/public/ico/apple-touch-icon-72-precomposed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/ico/apple-touch-icon-72-precomposed.png
--------------------------------------------------------------------------------
/Resources/public/ico/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/58008ec61746da9e6829d0e9b94b8f39589a623f/Resources/public/ico/favicon.ico
--------------------------------------------------------------------------------
/Resources/public/js/admingenerator/general.js:
--------------------------------------------------------------------------------
1 | $(document).ready(function(){
2 | // Twitter Bootstrap hack for menus on touch device
3 | $('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
4 |
5 | $('a[rel=tooltip]').tooltip({
6 | container: 'body'
7 | });
8 |
9 | // Moved all scripts to dedicated widgets
10 | // Do not remove, this file is used when developing new features
11 | });
12 |
--------------------------------------------------------------------------------
/Resources/skeleton/bundle/Bundle.php.twig:
--------------------------------------------------------------------------------
1 |
22 | {{ block('form') }}
23 |
24 | {{ echo_endblock() }}
25 |
--------------------------------------------------------------------------------
/Resources/templates/CommonAdmin/ActionsTemplate/actions.php.twig:
--------------------------------------------------------------------------------
1 | {% block form_actions %}
2 |
5 |
6 | {{ echo_trans('action.custom.cancel') }}
7 |
8 | {% endblock %}
9 |
--------------------------------------------------------------------------------
/Resources/templates/CommonAdmin/ActionsTemplate/form.php.twig:
--------------------------------------------------------------------------------
1 | {% use "../CommonAdmin/ActionsTemplate/actions.php.twig" %}
2 |
3 | {% block form %}
4 |