-
-
Notifications
You must be signed in to change notification settings - Fork 956
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-50410 roster Make list view table responsive
- Loading branch information
1 parent
9c66d92
commit b8c5561
Showing
1 changed file
with
51 additions
and
49 deletions.
There are no files selected for viewing
100 changes: 51 additions & 49 deletions
100
roster2/tool/src/handlebars/members_container_table.handlebars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,51 @@ | ||
<table id="roster-members-table" class="table table-striped table-bordered"> | ||
<tbody id="roster-table-head"> | ||
<tr> | ||
<th class="roster-picture-cell">{{tr 'facet_picture'}}</th> | ||
{{#unless hideNames}} | ||
<th>{{tr 'facet_name'}}</th> | ||
{{/unless}} | ||
{{#if viewPronouns}} | ||
<th>{{tr 'facet_pronouns'}}</th> | ||
{{/if}} | ||
{{#if viewUserNamePronunciation}} | ||
<th>{{tr 'facet_user_name_pronunciation'}}</th> | ||
{{/if}} | ||
{{#if viewUserDisplayId}} | ||
<th>{{tr 'facet_userId'}}</th> | ||
{{/if}} | ||
{{#if enrollmentsMode}} | ||
<th>{{tr 'facet_status'}}</th> | ||
<th>{{tr 'facet_credits'}}</th> | ||
{{else}} | ||
<th>{{tr 'facet_role'}}</th> | ||
{{/if}} | ||
{{#if showVisits}} | ||
{{#if viewSiteVisits}} | ||
<th>{{tr 'total_visits'}}</th> | ||
<th>{{tr 'last_visit'}}</th> | ||
{{/if}} | ||
{{/if}} <!-- showVisits --> | ||
{{#if viewGroup}} | ||
<th>{{tr 'facet_groups'}}</th> | ||
{{/if}} | ||
{{#if viewEmail}} | ||
<th>{{tr 'facet_email'}}</th> | ||
{{/if}} | ||
{{#if viewUserProperty}} | ||
<th>{{tr 'facet_userProperties'}}</th> | ||
{{/if}} | ||
{{#if viewCandidateDetails}} | ||
{{#if anyStudentNumberPresent}} | ||
<th>{{tr 'facet_studentNumber'}}</th> | ||
{{/if}} | ||
{{#if anyAdditionalInfoPresent}} | ||
<th>{{tr 'facet_additionalInfo'}}</th> | ||
{{/if}} | ||
{{/if}} | ||
</tr> | ||
</tbody> | ||
<tbody id="roster-members"></tbody> | ||
</table> | ||
<div class="table-responsive"> | ||
<table id="roster-members-table" class="table table-striped table-bordered"> | ||
<tbody id="roster-table-head"> | ||
<tr> | ||
<th class="roster-picture-cell">{{tr 'facet_picture'}}</th> | ||
{{#unless hideNames}} | ||
<th>{{tr 'facet_name'}}</th> | ||
{{/unless}} | ||
{{#if viewPronouns}} | ||
<th>{{tr 'facet_pronouns'}}</th> | ||
{{/if}} | ||
{{#if viewUserNamePronunciation}} | ||
<th>{{tr 'facet_user_name_pronunciation'}}</th> | ||
{{/if}} | ||
{{#if viewUserDisplayId}} | ||
<th>{{tr 'facet_userId'}}</th> | ||
{{/if}} | ||
{{#if enrollmentsMode}} | ||
<th>{{tr 'facet_status'}}</th> | ||
<th>{{tr 'facet_credits'}}</th> | ||
{{else}} | ||
<th>{{tr 'facet_role'}}</th> | ||
{{/if}} | ||
{{#if showVisits}} | ||
{{#if viewSiteVisits}} | ||
<th>{{tr 'total_visits'}}</th> | ||
<th>{{tr 'last_visit'}}</th> | ||
{{/if}} | ||
{{/if}} <!-- showVisits --> | ||
{{#if viewGroup}} | ||
<th>{{tr 'facet_groups'}}</th> | ||
{{/if}} | ||
{{#if viewEmail}} | ||
<th>{{tr 'facet_email'}}</th> | ||
{{/if}} | ||
{{#if viewUserProperty}} | ||
<th>{{tr 'facet_userProperties'}}</th> | ||
{{/if}} | ||
{{#if viewCandidateDetails}} | ||
{{#if anyStudentNumberPresent}} | ||
<th>{{tr 'facet_studentNumber'}}</th> | ||
{{/if}} | ||
{{#if anyAdditionalInfoPresent}} | ||
<th>{{tr 'facet_additionalInfo'}}</th> | ||
{{/if}} | ||
{{/if}} | ||
</tr> | ||
</tbody> | ||
<tbody id="roster-members"></tbody> | ||
</table> | ||
</div> |