GithubHelp home page GithubHelp logo

app-generator / django-dashboard-material-pro Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 4.12 MB

Django Dashboard - Material Dashboard PRO Design | AppSeed

Home Page: https://appseed.us/admin-dashboards/django-dashboard-material-pro

License: Other

django django-application admin-dashboard commercial appseed web-app-generator

django-dashboard-material-pro's People

Contributors

app-generator avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-dashboard-material-pro's Issues

bootstrap-select doesn't open inside navigation menu in mobile view

Reproduction of the issue:

  1. Clone&install the project
  2. Edit /core/templates/includes/navigation.html
  3. about line 40, after </li> add this code:
<li class="nav-item">
    <select class="selectpicker" data-size="7" data-style="btn btn-primary btn-round" title="Single Select">
            <option disabled selected>Single Option</option>
            <option value="2">Foobar</option>
            <option value="3">Is great</option>
            <option value="4">Is bum</option>
            <option value="5">Is wow</option>
            <option value="6">boom</option>
    </select>
</li>

Run the server, open dashboard with Firefox, in desktop view you can view the select menu and expand the options. Resize the browser window to mobile size and reload page and open the navigation menu, you will see the select but if you click the options doesn't expand. If you try with Chrome you see duplicated this selectpicker element, one work and other no.

If you try the same in the /core/templates/includes/navigation-auth.html and add at /core/templates/includes/scripts-auth.html:
<script src="{% static 'assets/js/plugins/bootstrap-selectpicker.js' %}"></script>

It works in the LOGIN template, you can expand the options in the mobile navigation nav menu (but the background color of the options aren't correct), but the JS works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.