diff --git a/cydiapomonella/templates/cydiapomonella/index.html b/cydiapomonella/templates/cydiapomonella/index.html index 7437c4c09779c481bcde8ba7cb860b023952b5dc..273b99c76d43612084080f56f61a65ec9204537e 100644 --- a/cydiapomonella/templates/cydiapomonella/index.html +++ b/cydiapomonella/templates/cydiapomonella/index.html @@ -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">