pretorien / adminlte-maker

AdminLTE Maker helps you create controllers and templates boostraped for AdminLTE theme bundle
MIT License
1 stars 2 forks source link

make:crud - Allow developer to use its own global bootstrap theme #4

Open tbordinat opened 4 years ago

tbordinat commented 4 years ago

Allow developer to configure adminlte_maker this way :

admin_lte_maker:
    base_layout:          'base.html.twig'
    datatable:
        cdn_css:  ~
        cdn_js:   ~

~ or something else, indicating that "I don't want the twig files to contain those lines :"


{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" type="text/css" href="*"/>
{% endblock %}

# And this one
    <script type="text/javascript" src="*"></script>
tbordinat commented 4 years ago

Not sure if it's something to do, I'm still wondering :o