Don't know if it's exactly what you're after but http://map.search.ch/basel
shows the tram stops (tick Tram/Bus under Traffic in the left menu)
Then you can hover your mouse over the stop and it gives the next services / directions. The Line numbers are shown but not an actual route line on the map.
(golly you beat me to it - I'm a slow typer)