Show data Table with pagination (startRow, endRow, filter, sorting)

This commit is contained in:
Paolo Arena
2019-10-14 20:31:57 +02:00
parent c5a19f2d70
commit 9120485939
8 changed files with 219 additions and 34 deletions

View File

@@ -33,11 +33,6 @@ module.exports = {
FIRST_PROJ: '__PROJECTS',
EXECUTE_CALCPROJ: true,
Permissions: {
Normal: 0,
Admin: 1,
},
getHostname: function () {
return os.hostname()
},

View File

@@ -5,6 +5,7 @@ module.exports = Object.freeze({
RIS_CODE_EMAIL_ALREADY_VERIFIED: -5,
RIS_CODE_EMAIL_VERIFIED: 1,
RIS_CODE_ERR_UNAUTHORIZED: -30,
RIS_CODE_LOGIN_ERR_GENERIC: -20,
RIS_CODE_LOGIN_ERR: -10,
RIS_CODE_OK: 1,

View File

@@ -1,7 +1,12 @@
module.exports = {
Permissions: {
Normal: 0,
Admin: 1,
},
fieldsUserToChange() {
return ['username', 'email', 'name', 'surname', 'perm', 'date_reg']
return ['username', 'email', 'name', 'surname', 'perm', 'date_reg', 'verified_email']
}
};