This is a fork of eonasdan-bootstrap-datetimepicker that simply provides SASS equivalents of src/less/*.less
files.
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>
- I can't get
make
to work locally on Windows, it crashes. Probably a good idea to use a different build system, maybegrunt
? - The
make
file only generates from LESS, not SASS. It looks like there are no SASS compilation binaries for Windows... maybe need to usegrunt
forgrunt-sass
? - 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.
- An issue I'd like to fix: Add options to disable displaying Months or Years views