Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginated users list in notifications and usergroups #477

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
805d1bf
add list.js library
indralukmana Oct 21, 2018
25e1b3e
add twbsPagination.js jquery plugin
indralukmana Oct 21, 2018
7e59f77
Turned off saving users in user-groups
indralukmana Oct 21, 2018
2a87bb1
Register list.js and twbsPagination
indralukmana Oct 21, 2018
edce914
Made the users list in notification paginated
indralukmana Oct 21, 2018
cd7ed0a
Styling users list
indralukmana Oct 21, 2018
eb402fb
Put the users list template in class-module
indralukmana Oct 21, 2018
e62af0f
Remove unused ajax endpoint
indralukmana Oct 21, 2018
fcec270
cleanup commented codes
indralukmana Oct 21, 2018
8d9ee11
put a check on notifications.js
indralukmana Oct 21, 2018
2a100bc
change users_select_form with user_list
indralukmana Oct 21, 2018
cf3d594
turn off unused javascript
indralukmana Oct 21, 2018
500ed88
put check on usergroup_id
indralukmana Oct 21, 2018
ff6b970
remove unused action
indralukmana Oct 21, 2018
1112282
add important to styles
indralukmana Oct 22, 2018
3958553
reorder enqueue script
indralukmana Oct 22, 2018
f08890f
paginated users list with ajax in usergroup
indralukmana Oct 22, 2018
61ba336
remove console logs
indralukmana Oct 22, 2018
bd845c7
add styling for pagination items
indralukmana Oct 22, 2018
a8e5189
add nonce security checks
indralukmana Oct 22, 2018
0d9d3e2
remove commented code
indralukmana Oct 22, 2018
b49f96f
add ajax nonce check when saving user in usergroup
indralukmana Oct 22, 2018
97557e5
fix whitespaces from editor misconfiguration
indralukmana Oct 23, 2018
9b14318
changed how user added and removed from notification
indralukmana Oct 23, 2018
8541128
fix spaces in notifications.php
indralukmana Oct 23, 2018
34c91bd
fix spaces in user-group.php
indralukmana Oct 23, 2018
e4186b4
changed the way users list initiated
indralukmana Oct 23, 2018
ffa6f97
remove unused codes in class-module.php
indralukmana Oct 23, 2018
c862ca4
split the user counts logic in notifications
indralukmana Oct 24, 2018
6b383db
changed the way users count on search retrieved in user-groups.php
indralukmana Oct 24, 2018
9eb6ee6
remove console.log
indralukmana Oct 24, 2018
3d5550c
fix spacing in users_list()
indralukmana Oct 24, 2018
d19b702
fix spacings
indralukmana Oct 24, 2018
ccbc0ff
Add comments
indralukmana Nov 5, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions common/css/edit-flow-admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,61 @@
display: block;
}

/*
Users list style
*/

.list {
margin: 0;
}

.pagination li {
display:inline-block;
padding-top:5px;
}

.page-item {
!important;
padding-right: 4px;
padding-left: 4px;
}

.user-item {
display: block;
padding: 10px 5px 5px 5px;
margin: 0;
border-bottom: 1px solid #ccc;
}

.user-item:hover {
background: #EAF2FA;
}

.user-item-name {
!important;
display: block;
font-size: 14px;
margin: 0;
}

.user-item-email {
!important;
display: block;
color: #ccc;
font-size: 12px;
margin: 0;
}

.user-item input {
float: right;
}

.users-list-infos {
text-align: right;
display: block;
border-bottom: 1px solid #ccc;
}

.users-total-info-value{
font-weight: bold;
}
Loading