Closed roggnroll closed 4 years ago
I like it! :)
Actually something like a gantt chart would be better: http://jsgantt.com (Instead of Tasks we would have the positions, and the resources would be the people that held the post) Hmmmm...
I suggest to use Plotly.js: https://plot.ly/python/gantt/ I've already used it in one of my projects and it's super easy to use, just like matplotlib, but on websites. :)
Superb! It would be perfect if the user was able in the end to click on the bars and then a little profile would open up to show the "achievements" of the person
Note that we already include plotly-latest.min.js
, it is used for the graphs in the course overview. There you can also see how to get the data into the javascript code via a Django template...feels so hacky but is cool!
(Another way would be to render the graph on the server, periodically)
Where is it loaded? I see where it's used, but I'm not yet comfortable enough with templates to find where the Javascript library is embedded. It's included via CDN, right?
This looks nice: https://sbstjn.com/timesheet.js/