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: 2600     Entry time: 13 Sep 2023     In reply to: 2599     Reply to this: 2601
Author: Nick Hastings 
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.

> Now that the status page is fully dynamic 
> (JavaScript), it's much more powerful to modify the status.html page directly. You 
> can not only hide the buttons, but also remove the run numbers, the running time, 
> and so on. This is much more flexible than steering things through the ODB.

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.

> If there is a general need for that, I can draft a "non-run" based status page, but 
> it's a bit hard to make a one-fits-all. Like some might even remove the logging 
> channels and the clients, but add certain things like if their slow control front-
> end is running etc.

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.

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

Cheers,

Nick.
Attachment 1: screenshot-20230914-085054.png  122 kB  Uploaded 13 Sep 2023  | Hide | Hide all
screenshot-20230914-085054.png
ELOG V3.1.4-2e1708b5