Add user login table to API

This commit is contained in:
JonnyWong16 2016-05-14 23:09:43 -07:00
parent be82e64add
commit 6f33d29a51
4 changed files with 95 additions and 16 deletions

View file

@ -20,7 +20,7 @@ login_table_options = {
"columnDefs": [
{
"targets": [0],
"data": "timestamp",
"data": "date",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
date = moment(cellData, "X").format(date_format);
@ -35,7 +35,7 @@ login_table_options = {
},
{
"targets": [1],
"data": "timestamp",
"data": "time",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
time = moment(cellData, "X").format(time_format);