forked from EVOgeek/Vmeda.Online
		
	MOBILE-3149 module: Show 2-buttons on row on collapsible footer
This commit is contained in:
		
							parent
							
								
									521d4cec4b
								
							
						
					
					
						commit
						952bfd1ddf
					
				| @ -103,7 +103,7 @@ | ||||
|     </ng-container> | ||||
| 
 | ||||
|     <div collapsible-footer *ngIf="!showLoading" slot="fixed"> | ||||
|         <div class="list-item-limited-width" | ||||
|         <div class="list-item-limited-width adaptable-buttons-row" | ||||
|             *ngIf="meetingInfo && (meetingInfo.canjoin || meetingInfo.statusrunning && meetingInfo.ismoderator)"> | ||||
|             <ion-button *ngIf="meetingInfo.statusrunning && meetingInfo.ismoderator" fill="outline" class="ion-margin ion-text-wrap" | ||||
|                 expand="block" (click)="endMeeting()"> | ||||
|  | ||||
| @ -136,7 +136,7 @@ | ||||
| 
 | ||||
| 
 | ||||
|     <div collapsible-footer *ngIf="!showLoading" slot="fixed"> | ||||
|         <div class="list-item-limited-width" *ngIf="options.length && choice && (canEdit || canDelete)"> | ||||
|         <div class="list-item-limited-width adaptable-buttons-row" *ngIf="options.length && choice && (canEdit || canDelete)"> | ||||
|             <ion-button *ngIf="canDelete" expand="block" fill="outline" (click)="delete()" class="ion-margin ion-text-wrap"> | ||||
|                 {{ 'addon.mod_choice.removemychoice' | translate }} | ||||
|             </ion-button> | ||||
|  | ||||
| @ -35,7 +35,8 @@ | ||||
|     </core-tabs> | ||||
| 
 | ||||
|     <div collapsible-footer *ngIf="!showLoading" slot="fixed"> | ||||
|         <div class="list-item-limited-width" *ngIf="access && (access.canedititems || access.canviewreports || !access.isempty)"> | ||||
|         <div class="list-item-limited-width adaptable-buttons-row" | ||||
|             *ngIf="access && (access.canedititems || access.canviewreports || !access.isempty)"> | ||||
|             <ion-button expand="block" fill="outline" (click)="gotoAnswerQuestions(true)" class="ion-margin ion-text-wrap"> | ||||
|                 <ion-icon name="fas-search" slot="start" aria-hidden="true"></ion-icon> | ||||
|                 {{ 'addon.mod_feedback.preview' | translate }} | ||||
|  | ||||
| @ -150,7 +150,7 @@ | ||||
|         </ion-card> | ||||
| 
 | ||||
|         <div collapsible-footer *ngIf="feedbackLoaded && completed" slot="fixed"> | ||||
|             <div class="list-item-limited-width"> | ||||
|             <div class="list-item-limited-width adaptable-buttons-row"> | ||||
|                 <ion-button expand="block" fill="outline" (click)="showAnalysis()" class="ion-text-wrap ion-margin" | ||||
|                     *ngIf="access!.canviewanalysis"> | ||||
|                     <ion-icon name="fas-chart-bar" slot="start" aria-hidden="true"></ion-icon> | ||||
|  | ||||
| @ -197,15 +197,17 @@ | ||||
|                         </ion-label> | ||||
|                     </ion-item> | ||||
| 
 | ||||
|                     <!-- Open mode (Preview or Normal) --> | ||||
|                     <ion-button *ngIf="!scorm.hidebrowse" expand="block" fill="outline" (click)="open($event, true)" | ||||
|                         class="ion-text-wrap ion-margin"> | ||||
|                         <ion-icon name="fas-search" slot="start" aria-hidden="true"></ion-icon> | ||||
|                         {{ 'addon.mod_scorm.browse' | translate }} | ||||
|                     </ion-button> | ||||
|                     <ion-button expand="block" (click)="open($event)" class="ion-text-wrap ion-margin"> | ||||
|                         {{ 'addon.mod_scorm.enter' | translate }} | ||||
|                     </ion-button> | ||||
|                     <div class="adaptable-buttons-row"> | ||||
|                         <!-- Open mode (Preview or Normal) --> | ||||
|                         <ion-button *ngIf="!scorm.hidebrowse" expand="block" fill="outline" (click)="open($event, true)" | ||||
|                             class="ion-text-wrap ion-margin"> | ||||
|                             <ion-icon name="fas-search" slot="start" aria-hidden="true"></ion-icon> | ||||
|                             {{ 'addon.mod_scorm.browse' | translate }} | ||||
|                         </ion-button> | ||||
|                         <ion-button expand="block" (click)="open($event)" class="ion-text-wrap ion-margin"> | ||||
|                             {{ 'addon.mod_scorm.enter' | translate }} | ||||
|                         </ion-button> | ||||
|                     </div> | ||||
|                 </ng-container> | ||||
| 
 | ||||
|                 <!-- Download progress. --> | ||||
|  | ||||
| @ -1467,6 +1467,16 @@ ion-grid.core-no-grid > ion-row { | ||||
|     height: 0 !important; | ||||
| } | ||||
| 
 | ||||
| @include media-breakpoint-up(md) { | ||||
|     .adaptable-buttons-row { | ||||
|         display: flex; | ||||
|         flex-direction: row; | ||||
|         ion-button { | ||||
|             flex: 1; | ||||
|         } | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| ion-header.no-title { | ||||
|     --core-header-toolbar-border-width: 0; | ||||
|     --core-header-toolbar-background: transparent; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user