Skip to content
Snippets Groups Projects
Commit 1710004d authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Date format changed to old standard. Added alternating gray rows to the

table
parent f6e45f88
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment