mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-30 00:23:21 +00:00 
			
		
		
		
	GUAC-1099: Paginate the connection history list, too.
This commit is contained in:
		| @@ -86,6 +86,8 @@ THE SOFTWARE. | |||||||
|     <h2>{{'MANAGE_CONNECTION.SECTION_HEADER_HISTORY' | translate}}</h2> |     <h2>{{'MANAGE_CONNECTION.SECTION_HEADER_HISTORY' | translate}}</h2> | ||||||
|     <div class="history section" ng-class="{loading: !historyEntryWrappers}"> |     <div class="history section" ng-class="{loading: !historyEntryWrappers}"> | ||||||
|         <p ng-hide="historyEntryWrappers.length">{{'MANAGE_CONNECTION.INFO_CONNECTION_NOT_USED' | translate}}</p> |         <p ng-hide="historyEntryWrappers.length">{{'MANAGE_CONNECTION.INFO_CONNECTION_NOT_USED' | translate}}</p> | ||||||
|  |  | ||||||
|  |         <!-- History list --> | ||||||
|         <table ng-show="historyEntryWrappers.length"> |         <table ng-show="historyEntryWrappers.length"> | ||||||
|             <thead> |             <thead> | ||||||
|                 <tr> |                 <tr> | ||||||
| @@ -95,13 +97,17 @@ THE SOFTWARE. | |||||||
|                 </tr> |                 </tr> | ||||||
|             </thead> |             </thead> | ||||||
|             <tbody> |             <tbody> | ||||||
|                 <tr ng-repeat="wrapper in historyEntryWrappers"> |                 <tr ng-repeat="wrapper in wrapperPage"> | ||||||
|                     <td class="username">{{wrapper.entry.username}}</td> |                     <td class="username">{{wrapper.entry.username}}</td> | ||||||
|                     <td class="start">{{wrapper.entry.startDate | date:'short'}}</td> |                     <td class="start">{{wrapper.entry.startDate | date:'short'}}</td> | ||||||
|                     <td class="duration">{{wrapper.durationText | translate:"{VALUE: wrapper.duration.value, UNIT: wrapper.duration.unit}"}}</td> |                     <td class="duration">{{wrapper.durationText | translate:"{VALUE: wrapper.duration.value, UNIT: wrapper.duration.unit}"}}</td> | ||||||
|                 </tr> |                 </tr> | ||||||
|             </tbody> |             </tbody> | ||||||
|         </table> |         </table> | ||||||
|  |  | ||||||
|  |         <!-- Pager controls for history list --> | ||||||
|  |         <guac-pager page="wrapperPage" items="historyEntryWrappers"></guac-pager> | ||||||
|  |  | ||||||
|     </div> |     </div> | ||||||
|  |  | ||||||
| </div> | </div> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user