JavaScript library to create HTML time sheets.
You only have to include `dist/timesheet-advanced.js` and `dist/timesheet.min.css` in your HTML and initialize time sheet with:
<script src="/javascripts/timesheet-advanced.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/styles/timesheet.css">
HTML
<div id="my-timesheet"></div>
javascript
var bubbles = [
{start: '2002', end: '09/2002', label: 'First project', type: 'red', data: { technologies: 'php,drupal,mysql,symfony' }},
{start: '06/2002', end: '09/2003', label: 'Second project', type: 'blue'},
{start: '2003', label: 'Still working on'},
{start: '10/2003', end: '2006', label: 'Yellow project', type: 'yellow', link: 'http://www.example.com'},
{start: '02/2005', end: '05/2006', label: 'Green project', type: 'green', link: '#'},
{start: '07/2005', end: '09/2005', label: 'The shortest project', type: 'purple', link: '#'}
];
new Timesheet(bubbles, {
container: 'my-timesheet',
type: 'parallel',
timesheetYearMin: 2002,
timesheetYearMax: 2008,
theme: 'light'
});
Parallel mode example
Serial mode example
Light mode example