mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
fix display of tables with a large number of rows
This commit is contained in:
parent
e73a44d15b
commit
6e534d7543
4 changed files with 80 additions and 61 deletions
|
|
@ -58,18 +58,20 @@ template(name="rulesReport")
|
||||||
h1 {{_ 'rulesReportTitle'}}
|
h1 {{_ 'rulesReportTitle'}}
|
||||||
if resultsCount
|
if resultsCount
|
||||||
table
|
table
|
||||||
tr
|
thead
|
||||||
th Rule Title
|
tr
|
||||||
th Board Title
|
th Rule Title
|
||||||
th actionType
|
th Board Title
|
||||||
th activityType
|
th actionType
|
||||||
|
th activityType
|
||||||
|
|
||||||
each rule in results
|
each rule in results
|
||||||
tr
|
tbody
|
||||||
td {{ rule.title }}
|
tr
|
||||||
td {{ rule.boardTitle }}
|
td {{ rule.title }}
|
||||||
td {{ rule.action.actionType }}
|
td {{ rule.boardTitle }}
|
||||||
td {{ rule.trigger.activityType }}
|
td {{ rule.action.actionType }}
|
||||||
|
td {{ rule.trigger.activityType }}
|
||||||
else
|
else
|
||||||
div {{_ 'no-results' }}
|
div {{_ 'no-results' }}
|
||||||
|
|
||||||
|
|
@ -77,22 +79,24 @@ template(name="filesReport")
|
||||||
h1 {{_ 'filesReportTitle'}}
|
h1 {{_ 'filesReportTitle'}}
|
||||||
if resultsCount
|
if resultsCount
|
||||||
table
|
table
|
||||||
tr
|
thead
|
||||||
th Filename
|
tr
|
||||||
th.right Size (kB)
|
th Filename
|
||||||
th MIME Type
|
th.right Size (kB)
|
||||||
th Attachment ID
|
th MIME Type
|
||||||
th Board ID
|
th Attachment ID
|
||||||
th Card ID
|
th Board ID
|
||||||
|
th Card ID
|
||||||
|
|
||||||
each att in results
|
each att in results
|
||||||
tr
|
tbody
|
||||||
td {{ att.name }}
|
tr
|
||||||
td.right {{ fileSize att.size }}
|
td {{ att.name }}
|
||||||
td {{ att.type }}
|
td.right {{ fileSize att.size }}
|
||||||
td {{ att._id }}
|
td {{ att.type }}
|
||||||
td {{ att.meta.boardId }}
|
td {{ att._id }}
|
||||||
td {{ att.meta.cardId }}
|
td {{ att.meta.boardId }}
|
||||||
|
td {{ att.meta.cardId }}
|
||||||
else
|
else
|
||||||
div {{_ 'no-results' }}
|
div {{_ 'no-results' }}
|
||||||
|
|
||||||
|
|
@ -100,22 +104,24 @@ template(name="cardsReport")
|
||||||
h1 {{_ 'cardsReportTitle'}}
|
h1 {{_ 'cardsReportTitle'}}
|
||||||
if resultsCount
|
if resultsCount
|
||||||
table.table
|
table.table
|
||||||
tr
|
thead
|
||||||
th Card Title
|
tr
|
||||||
th Board
|
th Card Title
|
||||||
th Swimlane
|
th Board
|
||||||
th List
|
th Swimlane
|
||||||
th Members
|
th List
|
||||||
th Assignees
|
th Members
|
||||||
|
th Assignees
|
||||||
|
|
||||||
each card in results
|
each card in results
|
||||||
tr
|
tbody
|
||||||
td {{abbreviate card.title }}
|
tr
|
||||||
td {{abbreviate card.board.title }}
|
td {{abbreviate card.title }}
|
||||||
td {{abbreviate card.swimlane.title }}
|
td {{abbreviate card.board.title }}
|
||||||
td {{abbreviate card.list.title }}
|
td {{abbreviate card.swimlane.title }}
|
||||||
td {{userNames card.members }}
|
td {{abbreviate card.list.title }}
|
||||||
td {{userNames card.assignees }}
|
td {{userNames card.members }}
|
||||||
|
td {{userNames card.assignees }}
|
||||||
else
|
else
|
||||||
div {{_ 'no-results' }}
|
div {{_ 'no-results' }}
|
||||||
|
|
||||||
|
|
@ -123,22 +129,24 @@ template(name="boardsReport")
|
||||||
h1 {{_ 'boardsReportTitle'}}
|
h1 {{_ 'boardsReportTitle'}}
|
||||||
if resultsCount
|
if resultsCount
|
||||||
table.table
|
table.table
|
||||||
tr
|
thead
|
||||||
th Title
|
tr
|
||||||
th Id
|
th Title
|
||||||
th Permission
|
th Id
|
||||||
th Archived?
|
th Permission
|
||||||
th Members
|
th Archived?
|
||||||
th Organizations
|
th Members
|
||||||
th Teams
|
th Organizations
|
||||||
|
th Teams
|
||||||
|
|
||||||
each board in results
|
each board in results
|
||||||
tr
|
tbody
|
||||||
td {{abbreviate board.title }}
|
tr
|
||||||
td {{abbreviate board._id }}
|
td {{abbreviate board.title }}
|
||||||
td {{ board.permission }}
|
td {{abbreviate board._id }}
|
||||||
td
|
td {{ board.permission }}
|
||||||
= yesOrNo(board.archived)
|
td
|
||||||
td {{userNames board.members }}
|
= yesOrNo(board.archived)
|
||||||
|
td {{userNames board.members }}
|
||||||
else
|
else
|
||||||
div {{_ 'no-results' }}
|
div {{_ 'no-results' }}
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ template(name="people")
|
||||||
|
|
||||||
template(name="orgGeneral")
|
template(name="orgGeneral")
|
||||||
table
|
table
|
||||||
tbody
|
thead
|
||||||
tr
|
tr
|
||||||
th {{_ 'displayName'}}
|
th {{_ 'displayName'}}
|
||||||
th {{_ 'description'}}
|
th {{_ 'description'}}
|
||||||
|
|
@ -84,12 +84,14 @@ template(name="orgGeneral")
|
||||||
th {{_ 'active'}}
|
th {{_ 'active'}}
|
||||||
th
|
th
|
||||||
+newOrgRow
|
+newOrgRow
|
||||||
each org in orgList
|
tbody
|
||||||
+orgRow(orgId=org._id)
|
tr
|
||||||
|
each org in orgList
|
||||||
|
+orgRow(orgId=org._id)
|
||||||
|
|
||||||
template(name="teamGeneral")
|
template(name="teamGeneral")
|
||||||
table
|
table
|
||||||
tbody
|
thead
|
||||||
tr
|
tr
|
||||||
th {{_ 'displayName'}}
|
th {{_ 'displayName'}}
|
||||||
th {{_ 'description'}}
|
th {{_ 'description'}}
|
||||||
|
|
@ -99,14 +101,16 @@ template(name="teamGeneral")
|
||||||
th {{_ 'active'}}
|
th {{_ 'active'}}
|
||||||
th
|
th
|
||||||
+newTeamRow
|
+newTeamRow
|
||||||
each team in teamList
|
tbody
|
||||||
+teamRow(teamId=team._id)
|
tr
|
||||||
|
each team in teamList
|
||||||
|
+teamRow(teamId=team._id)
|
||||||
|
|
||||||
template(name="peopleGeneral")
|
template(name="peopleGeneral")
|
||||||
#divAddOrRemoveTeamContainer
|
#divAddOrRemoveTeamContainer
|
||||||
+modifyTeamsUsers
|
+modifyTeamsUsers
|
||||||
table
|
table
|
||||||
tbody
|
thead
|
||||||
tr
|
tr
|
||||||
th
|
th
|
||||||
+selectAllUser
|
+selectAllUser
|
||||||
|
|
@ -124,6 +128,8 @@ template(name="peopleGeneral")
|
||||||
th {{_ 'teams'}}
|
th {{_ 'teams'}}
|
||||||
th
|
th
|
||||||
+newUserRow
|
+newUserRow
|
||||||
|
tbody
|
||||||
|
tr
|
||||||
each user in peopleList
|
each user in peopleList
|
||||||
+peopleRow(userId=user._id)
|
+peopleRow(userId=user._id)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,13 @@
|
||||||
display: -moz-flex;
|
display: -moz-flex;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
.setting-content {
|
.setting-content {
|
||||||
color: #727479;
|
color: #727479;
|
||||||
background: #dedede;
|
background: #dedede;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
.setting-content .content-title {
|
.setting-content .content-title {
|
||||||
|
|
@ -56,6 +58,8 @@
|
||||||
-moz-user-select: text;
|
-moz-user-select: text;
|
||||||
-ms-user-select: text;
|
-ms-user-select: text;
|
||||||
user-select: text;
|
user-select: text;
|
||||||
|
max-height: 100%;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
.setting-content .content-body .main-body ul li {
|
.setting-content .content-body .main-body ul li {
|
||||||
padding: 0.5rem 0.5rem;
|
padding: 0.5rem 0.5rem;
|
||||||
|
|
|
||||||
|
|
@ -34,13 +34,14 @@ template(name="translation")
|
||||||
|
|
||||||
template(name="translationGeneral")
|
template(name="translationGeneral")
|
||||||
table
|
table
|
||||||
tbody
|
thead
|
||||||
tr
|
tr
|
||||||
th {{_ 'language'}}
|
th {{_ 'language'}}
|
||||||
th {{_ 'text'}}
|
th {{_ 'text'}}
|
||||||
th {{_ 'translation-text'}}
|
th {{_ 'translation-text'}}
|
||||||
th
|
th
|
||||||
+newTranslationRow
|
+newTranslationRow
|
||||||
|
tbody
|
||||||
each translation in translationList
|
each translation in translationList
|
||||||
+translationRow(translationId=translation._id)
|
+translationRow(translationId=translation._id)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue