Skip to content
Snippets Groups Projects
Commit e9982276 authored by Bhabesh Bhabani Mukhopadhyay's avatar Bhabesh Bhabani Mukhopadhyay
Browse files

Alert message on No hourly data

Alert message generate when there is no data received from weather station  for hourly data
parent 717c49f4
Branches
No related tags found
No related merge requests found
......@@ -445,9 +445,13 @@
resultData = data;
setConvertHourlyData(resultData);
$('#divIdErrorWeatherStation').hide();
$('#idTableWeather').show();
}
else{
$('#idDivHeatSum').hide();
$('#divIdErrorWeatherStation').show();
$('#idTableWeather').hide();
}
},
error : function(xhr, status, error)
......@@ -532,9 +536,13 @@
<div class="col-md-12" >
<h1>{% trans "Calculate the risk of attack by the coddling moth" %}</h1>
</div>
<div class="container-fluid">
<div class="clearfix"></div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-10">
<div id='divIdErrorWeatherStation' class="alert alert-danger .alert-dismissable" style="display: none;" ><span class=".glyphicon .glyphicon-minus-sign"></span> No records available from selected weather station !!</div>
</div>
</div>
<div class="row ">
<div class="col-sm-4">
<select name="weatherStationName" id="weatherStationId" class="form-control">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment