gablab / realtime

0 stars 2 forks source link

enh: added modal to set group (high or low) #4

Closed akeshavan closed 12 years ago

akeshavan commented 12 years ago

added a modal to set group! @sasen test it out!

akeshavan commented 12 years ago

don't merge yet, need to remove cancel button and only enable ok button when a value is clicked!

sasen commented 12 years ago

ok @akeshavan, let me know when. also can you make the correct realtime stimulus (mTBI_rt_placebo.py for low dose) get used in the JSON please? or do you need that to be a separate feature/branch/PR?

sasen commented 12 years ago

for what it's worth, this is a great example of the login issues i've been talking about:

so i think we have instance variables confused with class variables. of course, i don't mind if that bug gets fixed in a different feature branch; i'll still approve this one for adding the modal.

sasen commented 12 years ago

@akeshavan, wait: why remove the "cancel" button? we want that in there so that the user can catch their typos, like 'pilto17' instead of 'pilot17'.

EDIT: it would be better if the cancel button doesn't allow the typoed subjectID directory creation. Also, it should bring you back to the login page, not an empty, broken logged-in state.

akeshavan commented 12 years ago

@sasen yep cancel button now brings you back to login I think its ready for merge, after I'm going to start a new PR with cherrypy sessions because now the problem is clear

akeshavan commented 12 years ago

And I forgot to make a new branch for the above commit. Sorry! Please test! I put a deepcopy of j.info and that seemed to make a difference.