Skip to content

Commit bd75983

Browse files
authored
SAK-50391 Resources and Samigo ui reponsiveness (#12848)
1 parent 37eb56a commit bd75983

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

content/content-tool/tool/src/webapp/vm/content/sakai_resources_list.vm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@
250250
<div id="userId" style="display: none;">$userId</div>
251251
###################### Heirarchical list of resource folders/items ##############
252252
## style on table to override margin on small viewports
253+
<div class="table-responsive">
253254
<table style="margin:0;width:100%;display:table" class="table table-striped table-hover #if (!$dropboxMode) resourcesList #end" cellspacing="0" border="0" summary="$clang.getString("sh.listsum")">
254255
###################### Column labels, sort controls, expand/collapse all ##############
255256
<caption class="skip" style="display:none">$clang.getString("sh.listcap")</caption>
@@ -784,6 +785,7 @@
784785
############################################# end of "Other sites" section
785786

786787
</table>
788+
</div>
787789

788790
#foreach($key in $listActions.keySet())
789791
<input type="hidden" id="${key}-count" value="$counter.getValue("${key}selected")" />

samigo/samigo-app/src/webapp/jsf/author/authorIndex_content.jsp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@
297297
<h:panelGroup rendered="#{author.allAssessments.size() == 0}">
298298
<h:outputText value="#{authorFrontDoorMessages.datatables_zeroRecords}" styleClass="sak-banner-info" />
299299
</h:panelGroup>
300+
<div class="table-responsive">
300301
<t:dataTable cellpadding="0" cellspacing="0" rowClasses="list-row-even,list-row-odd" styleClass="table table-hover table-striped table-bordered table-assessments" id="coreAssessments" value="#{author.allAssessments}" var="assessment" rendered="#{author.allAssessments.size() > 0}" summary="#{authorFrontDoorMessages.sum_coreAssessment}">
301302
<%/* Title */%>
302303
<t:column headerstyleClass="titlePending" styleClass="titlePending">
@@ -654,6 +655,7 @@
654655
<t:column rendered="#{!authorization.deleteAnyAssessment and !authorization.deleteOwnAssessment}" headerstyleClass="d-none" styleClass="d-none">
655656
</t:column>
656657
</t:dataTable>
658+
</div>
657659

658660
<div class="clearfix"></div>
659661

0 commit comments

Comments
 (0)