kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Support IMS100
rodzic
aaf4506d97
commit
c9bd1b63c1
|
@ -117,7 +117,7 @@
|
|||
{title:"Type", field:"short_type", width:85, resizable:false}, // 90
|
||||
{title:"Serial", field:"serial", width:90, resizable:false, // 105
|
||||
formatter:function(cell, formatterParams, onRendered){
|
||||
return strip_sonde_serial(value);
|
||||
return value.replace(/^(DFM|M10|M20|IMET|IMET5|IMET54|MRZ|IMS100)-/,"");
|
||||
}},
|
||||
{title:"Freq", field:"freq", width:65, resizable:false, headerTooltip:"Frequency (MHz)",
|
||||
formatter:function(cell, formatterParams, onRendered){
|
||||
|
|
|
@ -485,8 +485,8 @@
|
|||
{title:'Freq (MHz)', field:"freq", headerSort:true},
|
||||
{title:"ID", field:"id", width:125, headerSort:true, formatter:function(cell, formatterParams, onRendered){
|
||||
_cell_data = cell.getData();
|
||||
_id = strip_sonde_serial(_cell_data.id);
|
||||
_sondehub_id = strip_sonde_serial(_cell_data.id)
|
||||
_id = _cell_data.id.replace(/^(DFM|M10|M20|IMET|IMET5|IMET54|MRZ)-/,"");
|
||||
_sondehub_id = _cell_data.id.replace(/^(DFM|M10|M20|IMET|IMET5|IMET54|MRZ)-/,"");
|
||||
|
||||
// Add Sondehub Link
|
||||
_id += " <a href='http://sondehub.org/" + _sondehub_id + "' title='View on Sondehub' target='_blank'>" + "<img src='{{ url_for('static', filename='img/sondehub.png')}}'/>" + "</a>";
|
||||
|
|
Ładowanie…
Reference in New Issue