diff --git a/www/events.js b/www/events.js index 5725eba..2dfc8d0 100644 --- a/www/events.js +++ b/www/events.js @@ -131,7 +131,7 @@ function ajaxLoadEvents(stime, etime, id, target) { var mseedurl = sprintf('%s?net=GE,GR,RN&cha=EH?,HH?&start=%04d-%02d-%02dT%02d:%02d:%02d&end=%04d-%02d-%02dT%02d:%02d:%02d', config['ajax']['mseedURL'], Number(sTime.getUTCFullYear()), Number(sTime.getUTCMonth())+1, Number(sTime.getUTCDate()), Number(sTime.getUTCHours()), Number(sTime.getUTCMinutes()), Number(sTime.getUTCSeconds()), Number(eTime.getUTCFullYear()), Number(eTime.getUTCMonth())+1, Number(eTime.getUTCDate()), Number(eTime.getUTCHours()), Number(eTime.getUTCMinutes()), Number(eTime.getUTCSeconds())); row += '' + '' - + sprintf('Download QuakeML or miniSEED', xmlurl, mseedurl) + + sprintf('Download QuakeML or miniSEED', id, xmlurl, id, mseedurl) + ''; // add row to table if ( stime <= oTime && etime >= oTime ) { diff --git a/www/stations.js b/www/stations.js index 561c694..4daea2f 100644 --- a/www/stations.js +++ b/www/stations.js @@ -81,8 +81,8 @@ function loadStations(stime, etime) { sc3mlRespURL = URL + '&level=response&format=sc3ml'; dlsvFile = sprintf('%s_%s.dlsv', network.toUpperCase(), station.toUpperCase()); row += '' - + sprintf('Download details: FDSNxml or SC3ml
', fdsnxmlURL, sc3mlURL) - + sprintf('Response files: FDSNxml, SC3ml ', fdsnxmlRespURL, sc3mlRespURL) + + sprintf('Download details: FDSNxml or SC3ml
', stationID, fdsnxmlURL, stationID, sc3mlURL) + + sprintf('Response files: FDSNxml, SC3ml ', stationID, fdsnxmlRespURL, stationID, sc3mlRespURL) + sprintf('or datalessSEED', config['ajax']['dlsvURL'] + '/' + dlsvFile, dlsvFile.toLowerCase()) + ''; }