MicronOxford / bumblebee

converted to git from http://bumblebeeman.sourceforge.net/
0 stars 2 forks source link

Have instrument status on booking page. #6

Open iandobbie opened 10 years ago

iandobbie commented 10 years ago

As David and I discussed we hope to have instrument status from our wiki pulled into the booking page. Not sure the best way to do this but maybe just a little embedded server side scripting on the web page?

graemeball commented 10 years ago

We have been using the "Advisory text" box (which we have configured to appear at the top of the page) to link out to an instrument info page, thusly:-

instrument-page-screenie

Advisory text:

<p>Type: DeltaVision Widefield</p>
<p><span style="background-color:rgb(116, 199, 153);"><a     
href="http://www.lifesci.dundee.ac.uk/cast/light-and-electron-microscopy/equipment-13">Instrument   
configuration</a></span></p>
<!--
<p>
<span style="background-color: #ff0000"><strong>OFFLINE: DO NOT BOOK!</strong></span>
</p>
-->

As you can see, I have a commented-out bright red message that the instrument is broken, which I un-comment if this is the case.