Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  08 Sep 2023, Nick Hastings, Forum, Hide start and stop buttons 
    Reply  08 Sep 2023, Nick Hastings, Forum, Hide start and stop buttons 
       Reply  13 Sep 2023, Stefan Ritt, Forum, Hide start and stop buttons 
          Reply  13 Sep 2023, Nick Hastings, Forum, Hide start and stop buttons screenshot-20230914-085054.png
             Reply  13 Sep 2023, Stefan Ritt, Forum, Hide start and stop buttons 
                Reply  14 Sep 2023, Konstantin Olchanski, Forum, Hide start and stop buttons 
                   Reply  14 Sep 2023, Stefan Ritt, Forum, Hide start and stop buttons 
                   Reply  15 Sep 2023, Stefan Ritt, Forum, Hide start and stop buttons 
                Reply  14 Sep 2023, Nick Hastings, Forum, Hide start and stop buttons 
Message ID: 2601     Entry time: 13 Sep 2023     In reply to: 2600     Reply to this: 2602   2603
Author: Stefan Ritt 
Topic: Forum 
Subject: Hide start and stop buttons 
> Hi Stefan,
> 
> > Indeed the ODB settings are obsolete.
> 
> I just applied for an account for the wiki.
> I'll try add a note regarding this change.

Please coordinate with Ben Smith at TRIUMF <bsmith@triumf.ca>, who coordinates the documentation. 


> Very true. Currently I copied the resources/midas.css into the experiment directory and appended:
> 
> #runNumberCell { display: none;}
> #runStatusStartTime { display: none;}
> #runStatusStopTime { display: none;}
> #runStatusSequencer { display: none;}
> #logChannel { display: none;}
> 
> See screenshot attached. :-)
> 
> But if feels a little clunky to copy the whole file just to add five lines.
> It might be more elegant if status.html looked for a user css file in addition
> to the default ones.

I would not go to change the CSS file. You only can hide some tables. But in a while I'm sure you
want to ADD new things, which you only can do by editing the status.html file. You don't have to
change midas/resources/status.html, but can make your own "custom status", name it differently, and
link /Custom/Default in the ODB to it. This way it does not get overwritten if you pull midas.


> The logging channels are easily removed with the css (see attachment), but it might be
> nice if the string "Run Status" table title was also configurable by css. For this
> slow control system I'd probably change it to something like "GSC Status". Again
> this is a minor thing, I could trivially do this by copying the resources/status.html
> to the experiment directory and editing it.

See above. I agree that the status.html file is a bit complicated and not so easy to understand
as the CSS file, but you can do much more by editing it.

> Lots of fun new stuff migrating from circa 2012 midas to midas-2022-05-c :-)

I always advise people to frequently pull, they benefit from the newest features and avoid the
huge amount of work to migrate from a 10 year old version.

Best,
Stefan
ELOG V3.1.4-2e1708b5