[LON-CAPA-users] .sty file magic?

Mills, Douglas G dmills at illinois.edu
Fri Mar 29 14:58:29 EDT 2019


HI All,

I'm probably in over my head on this one, but I'm looking at a very nice sty file example and attempting to work from that to create a sty file that simply inserts a style sheet that will not display the remaining time on a timed assessment on the content page.

I know that doesn't sound like a very good idea, but the use is very specific. We are experimenting with a stand-alone instance of Lon-Capa as an exam server. The testing facility we are using likes their proctors, not the LMS, to be in charge of the time, so ideally perhaps we would not use a timer at all for these exams. However, there are a couple of logistical reasons that push the user of the timer for these. I have hidden all evidence of the timer on the problem page itself using css, but as far as I know (and think I've been told) there is no "natural" way to attach a style sheet to the contents page.  Because the only thing in these instances of the course are the exams themselves, it looks to me like the following should hide the time remaining information that displays once the timer has been started:

<style type="text/css">
td span[title="Due in less than 24 hours!"]{display:none;}
</style>

However, so far my feeble attempts to get that inserted into the contents page via a sty file are coming up empty. I added some more obvious css into my attempted style file injection that have no effect either, so I'm guessing I'm failing so far to get the style code inserted into that (or any other) page.

If it can't be done it's not the end of the world, but there are so few things that can't be done in Lon-Capa, I thought it was worth asking about.  Thanks!

Doug

Douglas Mills
Director of Instructional Technology
Department of Chemistry
University of Illinois

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20190329/5411f627/attachment.html>


More information about the LON-CAPA-users mailing list