J_Worth Posted March 11, 2014 Posted March 11, 2014 Hello, We are just about to use the booking system, but have noticed what looks like a bug. We have added some department laptops to the system and have enabled split resources. However, during testing, we have noticed that if we book say 10 out 20 laptops, the booking system time slot will still say there are 20 free laptops. Surely, this should say 10? (in this particular case) Whilst on the subject of the booking system, is it possible to have FREE/Not Booked time slots a different colour so that they can be easily identified? Either make them bold, or green - something like that. Thanks in advance.
minimoo Posted March 11, 2014 Posted March 11, 2014 J_worth - in terms of the first bit - I've fixed that the other day (whilst trying to overhaul some bits of the booking system), so that fix should be in the next release.
beneal Posted March 12, 2014 Posted March 12, 2014 Changing the colours of free/booked time slots is fairly simple, just add the following lines to hap/style/bookingsystem.css (supplementing the colours for your own choices) #bookingday .body .col a.free { background-color: #aaeeaa } #bookingday .body .col a.free:hover { background-color: #88cc88} #bookingday .body .col a.static { background-color: #ffccbb} #bookingday .body .col a.static:hover { background-color: #ffccbb }
J_Worth Posted March 12, 2014 Author Posted March 12, 2014 Changing the colours of free/booked time slots is fairly simple, just add the following lines to hap/style/bookingsystem.css (supplementing the colours for your own choices) #bookingday .body .col a.free { background-color: #aaeeaa } #bookingday .body .col a.free:hover { background-color: #88cc88} #bookingday .body .col a.static { background-color: #ffccbb} #bookingday .body .col a.static:hover { background-color: #ffccbb } [ATTACH=CONFIG]23292[/ATTACH] Thanks for this - exactly what we wanted!
J_Worth Posted March 12, 2014 Author Posted March 12, 2014 J_worth - in terms of the first bit - I've fixed that the other day (whilst trying to overhaul some bits of the booking system), so that fix should be in the next release. Thanks that's great - I will try out the preview release of Version 10.
J_Worth Posted March 12, 2014 Author Posted March 12, 2014 Changing the colours of free/booked time slots is fairly simple, just add the following lines to hap/style/bookingsystem.css (supplementing the colours for your own choices) #bookingday .body .col a.free { background-color: #aaeeaa } #bookingday .body .col a.free:hover { background-color: #88cc88} #bookingday .body .col a.static { background-color: #ffccbb} #bookingday .body .col a.static:hover { background-color: #ffccbb } [ATTACH=CONFIG]23292[/ATTACH] Is there anyway of changing the colour of a booked time slot?
beneal Posted March 12, 2014 Posted March 12, 2014 Yes, sorry. Same file, line 31, change the value of background-color #bookingday .body a, #bookingday .body .share, #bookingday h1 { ... background-color: #??????... }
J_Worth Posted March 12, 2014 Author Posted March 12, 2014 Yes, sorry. Same file, line 31, change the value of background-color #bookingday .body a, #bookingday .body .share, #bookingday h1 { ... background-color: #??????... } Brilliant thanks! Much Appreciated
gomalley Posted December 14, 2015 Posted December 14, 2015 Just for the record (and anyone who like me finds this in the future) The order of the additions in the CSS matters, and you can change booked periods using the same code: #bookingday .body .col a.free { background-color: #aaeeaa } #bookingday .body .col a.free:hover { background-color: #88cc88} #bookingday .body .col a.booked { background-color: #FFFF99 } #bookingday .body .col a.booked:hover { background-color: #FFFF99 } #bookingday .body .col a.static { background-color: #282828 } #bookingday .body .col a.static:hover { background-color: #282828 }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now