I've been using a modified sagemath notebook so that students can use key 
parts of the notebook in class and at home.  I've not gotten feedback as 
yet from a few people on whether this modification might be worth sharing, 
but I guess that I should just share it here in sage-edu and see. 

I found an earlier exchange about setting viewport in the head and making a 
few CSS changes to address mobile devices (sage-devel 1/19/12 kcrisman, 
jason, IvanAndrus), so I tried making notebook sessions usable on 
iphone/ipod and various android devices from a Nexus 7 to a $50 Virgin 
Mobile Chaser.  

For results, my students have been using it in-class and for some homework 
assignments.  Quite a few do not have Internet access at home except 
through their mobile devices, and graphing calculators are just pathetic 
compared to mobile devices students already have.  The $50 android special, 
for example, can run a very nice & free graphing calculator app (Algeo), 
and it also runs sagemath notebook.  I was unsure about students being able 
to enter much in tiny touch screens, but they sure have some skills in 
this. 

Here is a webpage with some explanation and the one page for viewing or 
download (4.5k):
http://cs.fdltcc.edu/faculty/pmwiki.php/TedWetherbee/SageMathMobileSwitch

Installation: For sage version 5.7, replace base.html with the page on the 
site above.  The path is shown in the page above, kind of deep.  A similar 
replacement page worked on an earlier 5.0.1 Sage version, but this one is 
tested only for stock Sage 5.7 compiled in-place on a centos 6.2 machine.

There is some javascript & CSS in the head, a viewport command in the head, 
and a logout button added just for smaller devices in the body.  It is 
surely not optimal code, but it is classroom tested with real students on 
many different kinds of student mobile devices.

Here is a server running with this modification which will switch for 
mobile devices.  One can view a few published pages as guest.

http://sagemath.fdltcc.edu/

This delivers sagemath notebook stock unless the device.width is less than 
801 (or in an iframe here, an option for tests).  There are some tweaks for 
devices between 480 and 801 wide like a Nexus 7 held vertically, then 
elements are hidden and some remaining ones fit for a smaller screen when 
screen.width <= 480.

The idea is to allow students to login by class, browse and select among 
existing worksheets, then work with and add cells in a "sandbox" fashion.  
Missing for small mobile devices is the ability to add or rename 
worksheets, and the solution is for students to add their own at some time 
from a desktop or use one of the various scratch worksheets with "scratch", 
"test" or something obvious like that as a prefix.


Best wishes,

Ted Wetherbee


-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-edu+unsubscr...@googlegroups.com.
To post to this group, send email to sage-edu@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-edu?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to