3.0.3 • Published 9 years ago

bootstrap-datetimepicker-sass v3.0.3

Weekly downloads
46
License
-
Repository
github
Last release
9 years ago

Bootstrap v3 datetimepicker widget using SASS

DateTimePicker

⇢ View the manual and demos

This is a fork of eonasdan-bootstrap-datetimepicker that simply provides SASS equivalents of src/less/*.less files.

Quick installation

bower

Run the following command:

bower install soundasleep-bootstrap-datetimepicker-sass#latest --save

Include necessary scripts and styles:

<head>
  <!-- ... -->
  <script type="text/javascript" src="/bower_components/jquery/jquery.min.js"></script>
  <script type="text/javascript" src="/bower_components/moment/min/moment.min.js"></script>
  <script type="text/javascript" src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="/bower_components/soundasleep-bootstrap-datetimepicker-sass/build/js/bootstrap-datetimepicker.min.js"></script>
  <link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css" />
  <link rel="stylesheet" href="/bower_components/soundasleep-bootstrap-datetimepicker-sass/build/css/bootstrap-datetimepicker.min.css" />
</head>

Things that should probably be fixed

  1. I can't get make to work locally on Windows, it crashes. Probably a good idea to use a different build system, maybe grunt?
  2. The make file only generates from LESS, not SASS. It looks like there are no SASS compilation binaries for Windows... maybe need to use grunt for grunt-sass?
  3. There are no tests, not even an example HTML file to demonstrate how it works (I guess that's what the Github.io pages were for). It would be good to add them.
  4. An issue I'd like to fix: Add options to disable displaying Months or Years views