GithubHelp home page GithubHelp logo

Comments (5)

ModestasV avatar ModestasV commented on June 14, 2024

I don't see where the problem is. We have a datepicker field and its library, or am I missing something?

from quickadmin.

DigitalCoder avatar DigitalCoder commented on June 14, 2024

I'm wondering why loading these css ?
because the javascript library https://github.com/eternicode/bootstrap-datepicker is not used

The library used for date time picker is :

<script src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script>
<script src="http://localhost:8001/quickadmin/js/timepicker.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-ui-timepicker-addon/1.4.5/jquery-ui-timepicker-addon.min.js"></script>

and it use jquery ui css theme :

<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css">

from quickadmin.

ModestasV avatar ModestasV commented on June 14, 2024

Well, as far as I can see - you are asking about datepicker and showing us timepicker. These are two different plugins :)

from quickadmin.

DigitalCoder avatar DigitalCoder commented on June 14, 2024

I've tried to create a crud with a field date picker and a field date and time picker
capture d ecran 2016-03-09 a 16 28 38
capture d ecran 2016-03-09 a 16 28 44

and twice only use timepicker (jquery ui)
and never bootstrap-datepicker (https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.5.0/js/bootstrap-datepicker.js)

I think I will change after for https://github.com/Eonasdan/bootstrap-datetimepicker
which is compatible bootstap v3.3.6.
And I will remove :

  • jquery-ui.min.js javascript library and css smoothness/jquery-ui.css
  • timepicker.js
  • jquery-ui-timepicker-addon
  • bootstrap-datepicker.standalone.min.css

and I will only load :

  • resources/assets/vendor/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css
  • resources/assets/vendor/bootstrap-datepicker-dist/js/bootstrap-datepicker.min.js

from quickadmin.

ModestasV avatar ModestasV commented on June 14, 2024

Hello,
If you could do a pull request with your modified file - it would be great. At this point we are more focused on some other features

from quickadmin.

Related Issues (20)

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.