{"id":17159799,"url":"https://github.com/maximed/timetablejs","last_synced_at":"2025-03-24T15:08:52.058Z","repository":{"id":18465698,"uuid":"21660411","full_name":"MaximeD/timetablejs","owner":"MaximeD","description":"Javascript plugin to create timetables","archived":false,"fork":false,"pushed_at":"2016-06-23T05:33:23.000Z","size":245,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T19:49:20.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaximeD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-09T16:40:25.000Z","updated_at":"2016-04-07T05:21:02.000Z","dependencies_parsed_at":"2022-09-11T20:20:45.446Z","dependency_job_id":null,"html_url":"https://github.com/MaximeD/timetablejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Ftimetablejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Ftimetablejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Ftimetablejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaximeD%2Ftimetablejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaximeD","download_url":"https://codeload.github.com/MaximeD/timetablejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245294768,"owners_count":20591900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T22:15:09.858Z","updated_at":"2025-03-24T15:08:52.006Z","avatar_url":"https://github.com/MaximeD.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Timetable\n\n`Timetable` is a simple javascript plugin to create weekly plannings.\n\n## Dependencies\n\n* Boostrap 3\n* jquery\n* underscorejs\n\n## Usage\n\nCreate a `DOM` element with an id on which you wish the timetable to be inserted.\nCreate a script with the following:\n\n```\n$( document ).ready(function() {\n  myTimetable = new Timetable( '#node_id', {\n    timelapse:  {\n      start:  08,\n      end:    20\n    },\n    events: [\n      // hashes of events\n    ]\n  }\n}\n```\n\nEvents should be an array where each event has the following form:\n\n```\n{\n  name:     \"name of your event\",\n  comment:  \"an optional comment\",\n  other:    \"optional other informations that will only be displayed in tooltip\",\n  id:       \"uniq identifier, can be a string\",\n  color:    \"the color you wish your event to be displayed\",\n  times:  [                                     // array of time where event is repeated\n    {\n      day:    \"day number, starts from 0\",\n      start:  \"starting time, format HH:MM\",\n      end:    \"ending time, format HH:MM\"\n    },\n    ...\n  ]\n},\n...\n```\n\n[See it online](http://maximed.github.io/timetablejs/) for a working example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximed%2Ftimetablejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximed%2Ftimetablejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximed%2Ftimetablejs/lists"}