McStasMcXtrace / McWeb

Code and documentation for e-neutrons.org platform
3 stars 3 forks source link

Make a way to get the instrument menu in livesim #108

Closed PJRay closed 7 years ago

PJRay commented 7 years ago

Right now, you have to change "/instrument/..." to "/instrument-menu/..." in the livesim in order to get the menu for instrument groups (and instruments in those groups) in the top of the page.

It would be great if we could have a button on the top of the page that simply opens the menu - maybe a simple link to the right of the e-neutrons and McStas logos. Or a button next to the Logout button.

climbcat commented 7 years ago

Hi. Question: Linda has previously requested that the menu be kept away from students, in order to not distract them from the instrument at hand. However, a small manu may not distract them much. Or do you want to keep this menu hidden for non-superusers?

lindaudby commented 7 years ago

Let's try with a menu button which is visible to all. The students of a particular course is referred to a particular instrument in that course through an url in the quiz. Thus they should not be distracted by a small link on the top of the instrument page leading to instrument-menu.

climbcat commented 7 years ago

A menu open/close link has been implemented, this will be added to the server shortly.

lindaudby commented 7 years ago

Do I need to do something specific in my browser to see the implementation?

willend commented 7 years ago

Hi Linda,

No, nothing special - but I think it was not yet pushed to the "production" server - see below for screenshots from a machine we are currently setting up at DTU (not on the web yet...)

safariscreensnapz087 safariscreensnapz088

willend commented 7 years ago

Is now online at the "production site" e-neutrons.org

willend commented 7 years ago

Closing as this is now implemented according to the discussed