"Off switch" for charts

Issue #212 resolved
David Platten created an issue

I think there needs to be a way for users to switch off charts themselves without being on the CT or radiographic filtered html pages. If a user has left the plotting switched on, and selected a plot of dose over time with a timeperiod of "days" there may be a very long wait before results come up.

I think it would be a good idea to have a link on the home page that will enable the user to switch plots off.

@edmcdonagh, I think I can implement this fairly easily. If you would like me to do it, where on the front page would you like the link to appear?

Comments (7)

  1. Ed McDonagh

    I think I'd like it to hang off the Admin menu, although I'm not sure how many other settings end users would have whilst not having any of the more serious admin functions.

    I think for now, put it on the front page as you proposed, and we'll think about moving it later. As for where, not sure. Please yourself!

  2. David Platten reporter

    Added a link to the title bar that switches all chart plotting off. This will be helpful if users need to switch off ploting without going to the admin page. Once the link has been clicked the user is taken to the OpenREM home page. References issue 212.

    → <<cset 28afd82cbb3c>>

  3. David Platten reporter

    @edmcdonagh, the Admin menu still doesn't work for me: when I mouse-over nothing happens, and when I click on it nothing happens either. What should I see?

  4. David Platten reporter

    @edmcdonagh, I've found out why the Admin doesn't work on my computer: the jquery JavaScript file needs to be loaded before the bootstrap code. Adding the first of the two lines below to templates/base.html fixes it:

    <script src="{{ STATIC_URL }}js/jquery-1.11.0.min.js"></script> <!-- Bootstrap core CSS --> <link href="{{ STATIC_URL }}css/bootstrap.min.css" rel="stylesheet">

  5. Log in to comment