diff --git a/cydiapomonella/templates/cydiapomonella/index.html b/cydiapomonella/templates/cydiapomonella/index.html index a388589964ba2329dc306d9e60b72f84cf620aef..5d3a250f43097c6cef627cfa293ed64368dd7193 100644 --- a/cydiapomonella/templates/cydiapomonella/index.html +++ b/cydiapomonella/templates/cydiapomonella/index.html @@ -62,13 +62,10 @@ } */ /* Data table even stripe color */ - /* .table-striped>tbody>tr:nth-child(even)>td, */ - /* Choose your own color here Earlier color : #e4ddd6 */ -/* - .table-striped>tbody>tr:nth-child(even)>th { - background-color:#f9f9f9 + .table-striped>tbody>tr:nth-child(even)>td { + background-color : #eeeeee } -*/ + body { font-family: 'Source Sans Pro', sans-serif; } @@ -484,8 +481,8 @@ } $('#idSpanWeatherStationName').html($('#weatherStationId').find(':selected').text()); - $('#idSpanStartDate').html($('#idTxtDateInput').val()); - $('#idSpanEndDate').html(JSON.stringify(dateYesterday).substring(1,11)); + $('#idSpanStartDate').html(moment($('#idTxtDateInput').val()).format("DD.MM.YYYY")); + $('#idSpanEndDate').html(moment(JSON.stringify(dateYesterday).substring(1,11)).format("DD.MM.YYYY")); $('#idDivResultNonNegative').html(Math.round(TM_NON_NEGATIVE)); $('#idSpanDateDifference').html(dateDifferenceInDays(new Date($('#idTxtDateInput').val()), new Date())); } @@ -515,7 +512,7 @@ "mData" : "resultDate", "render" : function(data, type, full, meta) { - return data + return moment(data).format("DD.MM.YYYY"); }, "sClass" : "colCenter", "bSortable" : false