FET Forum

FET Development => Suggestions => Topic started by: Mr Robo on September 03, 2010, 05:10:20 AM

Title: Adding more specific css to html output
Post by: Mr Robo on September 03, 2010, 05:10:20 AM
Hi

We're just going live with our first timetable generated using FET and it seems to have been accepted very well by my colleagues, so thank you for a great bit of software! It has replaced two weeks work with less than a day and a last minute change to staffing that would almost certainly added a day or two was dealt with in less than 20 minutes.

As usual though, there is a fly in the ointment: my head master says that the master timetable "must" look like the old one. The groups_time_horizontal layout is a very good start for this, but it "needs" to have colour-coded backgrounds for individual teachers. It would also be great if days could be split into separate pages for printing.

It would seem that css could come to the rescue. If teacher-specific classes were output then I could easily do the background bit. I think also that css can do paging?

Is this something that could be considered to be included in the main app or should i pursue developing a post-processing script to search and replace teachers with wrapped-up css versions?

Thanks for considering it thus far!

Nick
Title: Re: Adding more specific css to html output
Post by: Volker Dirr on September 03, 2010, 09:53:36 PM
QuoteThe groups_time_horizontal layout is a very good start for this, but it "needs" to have colour-coded backgrounds for individual teachers.

go to fet->settings->timetables->html level.
select level 3 or higher.
generate a timetable.
change color of the teacher by css.
(compare http://www.timetabling.de/manual/FET-manual.en.html#id_54 )

use html level 6 if you want to color the whole cell. but i don't recommend this if you have activities with more then 1 teacher.


QuoteIt would also be great if days could be split into separate pages for printing.

go to fet->settings->timetables->divide html timetables, check that option and generate.