-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy pathguacamole.component.html
More file actions
71 lines (66 loc) · 2.58 KB
/
Copy pathguacamole.component.html
File metadata and controls
71 lines (66 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<div class="player-container" id="player">
<div class="display">
<div class="seek-overlay" *ngIf="isSeeking">
<div class="seek-content">
<nz-spin nzSize="default"></nz-spin>
<p>{{ 'Redirecting' | translate }}...</p>
<button class="cancel-btn" (click)="cancelSeek($event)">{{ 'Cancel' | translate }}</button>
</div>
</div>
<div class="content">
<div class="commands" *ngIf="commands.length > 0" [class.collapsed]="commandsCollapsed">
<div class="commands-header">
<span>{{ 'HistoryCommands' | translate }} ({{ commands.length }})</span>
<button class="toggle-btn" (click)="toggleCommands()" [title]="'Hide' | translate">
<i nz-icon nzType="left" nzTheme="outline"></i>
</button>
</div>
<div class="commands-list"
infiniteScroll
[infiniteScrollDistance]="2"
[infiniteScrollThrottle]="50"
(scrolled)="onScroll()"
[scrollWindow]="false">
<div class="command-item"
*ngFor="let item of commands; trackBy: trackByCommand"
(click)="commandClick(item)"
[title]="item.input">
<div class="command-text">{{ item.input }}</div>
<div class="command-time">{{ item.atime }}</div>
</div>
</div>
</div>
<!-- 屏幕 -->
<div class="screen-wrapper" [class.full]="commands.length === 0" [class.commands-hidden]="commandsCollapsed">
<button class="show-commands-btn" (click)="toggleCommands()" [title]="'Show Commands' | translate">
<i nz-icon nzType="right" nzTheme="outline"></i>
{{ 'Commands' | translate }}
</button>
<div id="screen" class="screen" (click)="toggle()"></div>
</div>
</div>
</div>
<div class="controls">
<div class="controls-left">
<button class="control-btn" (click)="toggle()">
<i nz-icon [nzType]="isPlaying ? 'pause-circle' : 'play-circle'" nzTheme="fill"></i>
</button>
<button class="control-btn" (click)="restart()">
<i nz-icon nzType="reload" nzTheme="outline"></i>
</button>
</div>
<div class="controls-center" [ngClass]="rangeHideClass">
<span class="time">{{ position }} / {{ duration }}</span>
<div class="progress">
<input type="range"
id="position-slider"
[(ngModel)]="percent"
[max]="max"
(mouseup)="runFrom()"
class="progress-slider">
</div>
</div>
<div class="controls-right">
</div>
</div>
</div>