Florian N 12 years ago
parent
commit
e4e387cfe2
  1. 3
      main/views.py
  2. 9
      static/js/dashboard.js

3
main/views.py

@ -129,6 +129,9 @@ def get_users():
data = pipe.read().strip().split('\n')
pipe.close()
if data == [""]:
data = None
else:
data = [i.split(None, 3) for i in data]
except Exception, err:

9
static/js/dashboard.js

@ -155,9 +155,12 @@ dashboard.getUsers = function() {
{ sTitle: "LOOGED IN FROM",
sDefaultContent: "unavailable" }
],
bPaginate: false,
bFilter: true,
sDom: "lrtip",
aaSorting: [
[0, "desc"]
],
bPaginate: true,
sPaginationType: "two_button",
bFilter: false,
bAutoWidth: false,
bInfo: false
}).fadeIn();

Loading…
Cancel
Save