tj2419 Posted July 11, 2013 Posted July 11, 2013 (edited) Hi 1. I am setting up HAP and have noticed that in the booking system the last period stretches the screen over to the right so to see the whole period you have to scroll the screen over. Is there any way to avoid this? 2. Also can you change at the top left where it says 'week 1' or week 2' to something different like 'blue week' and 'red week'? 3. Is it possible to set it up so all the classrooms appear on one screen and Laptops on another screen. Just looks quite daunting with all our rooms and laptop trolleys in one go. Cheers Edited July 11, 2013 by tj2419 More information
nickbro Posted July 11, 2013 Posted July 11, 2013 1. That is by design, to change the width edit ~/bookingsystem/default.aspx, look at the top of the page and edit the 200 value 2. Yes, see http://www.edugeek.net/forums/home-access-plus/113933-booking-system-split-resources-8.html#post1004095 3. Yes, Edit the link to either ~/bookingsystem/t-Room/ or ~/bookingsystem/t-Laptops/
nickbro Posted July 12, 2013 Posted July 12, 2013 Line 69: Change the 200 to something else style="min-width: <%=(200 * (config.BookingSystem.Lessons.Count + 1)) + 2 %>px">
tj2419 Posted July 12, 2013 Author Posted July 12, 2013 Hi Nick, Thanks for the info. Points 1 and 3 sorted. Struggling to get point 2 to automatically change for some reason when i changed the code it now just says lilac week every week :S ("This week is " + data[1] == 1 ? "Gold Week" : "Lilac Week"); Also having an issue where i set the rooms to enabled then save it. When i go back into them they say disabled again so not all the rooms show us as bookable. The names show up but not the period to click on for them to be booked :S
nickbro Posted July 12, 2013 Posted July 12, 2013 Can you post your HAPConfig.xml file (the booking system section) please
nickbro Posted July 12, 2013 Posted July 12, 2013 Ok, the rooms are showing as being enabled in the HAPConfig, can you do some http://www.edugeek.net/forums/home-access-plus/86059-hap-json-debugging.html to find out if there's a JSON request going out for those resources please For the other can you confirm this code if (user.isBSAdmin) $("#val").html("This week is " + (data[1] == 1 ? "Gold Week" : "Lilac Week")); else { if (data[0] >= 0 ) { $("#val").html("You have " + data[0] + " bookings available to use this week. This Week is a Week " + (data[1] == 1 ? "Gold Week" : "Lilac Week")); } else { $("#val").html("This week is " + (data[1] == 1 ? "Gold Week" : "Lilac Week")); } availbookings = data; }
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