-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
704 additions
and
769 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,140 @@ | ||
<div> | ||
<div class="terminal-connect" *ngIf="iframeTerminalURL"> | ||
<mat-sidenav-container (backdropClick)="closeDrawer()"> | ||
<mat-sidenav | ||
#sidenav | ||
position="end" | ||
mode="over" | ||
class="file-manage-drawer" | ||
> | ||
<div class="drawer-header"> | ||
<mat-icon style="cursor: pointer" (click)="closeDrawer()" | ||
>close</mat-icon | ||
> | ||
|
||
<p>文件管理</p> | ||
</div> | ||
|
||
<mat-divider></mat-divider> | ||
|
||
<div class="drawer-manage"> | ||
<div class="path"> | ||
<mat-icon>home</mat-icon> | ||
<div class="delimiter">/</div> | ||
</div> | ||
</div> | ||
</mat-sidenav> | ||
|
||
<mat-sidenav-content> | ||
<mat-card> | ||
<mat-card-header style="height: 55px; align-items: center"> | ||
<mat-card-title> SSH 会话 </mat-card-title> | ||
|
||
<mat-divider [vertical]="true"> </mat-divider> | ||
|
||
<div class="info-section"> | ||
<div class="top-part"> | ||
<mat-icon matTooltip="资产信息">dvr</mat-icon> | ||
<div class="desc"> | ||
<div style="font-weight: 700; margin-right: 5px"> | ||
资产信息: | ||
</div> | ||
{{ assetName }} | ||
</div> | ||
</div> | ||
|
||
<div class="bottom-part"> | ||
<mat-icon matTooltip="连接时间">date_range</mat-icon> | ||
|
||
<div class="desc"> | ||
<div style="font-weight: 700; margin-right: 5px"> | ||
连接时间: | ||
</div> | ||
{{ startTime.toLocaleString() }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="action-section"> | ||
<div class="timer-container"> | ||
<div class="timer"> | ||
<div [class.active]="isActive" class="status-dot"></div> | ||
<span>{{ totalConnectTime }}</span> | ||
</div> | ||
</div> | ||
|
||
<mat-divider [vertical]="true"> </mat-divider> | ||
|
||
<div class="actions"> | ||
<div class="file-manage action-icon"> | ||
<mat-icon | ||
matTooltip="文件管理" | ||
(click)="handleOpenFileManage()" | ||
>folder</mat-icon | ||
> | ||
</div> | ||
|
||
<div class="exit action-icon"> | ||
<mat-icon matTooltip="退出" (click)="handleCloseConnect()" | ||
>close</mat-icon | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
</mat-card-header> | ||
</mat-card> | ||
|
||
<mat-card | ||
style=" | ||
margin: 20px; | ||
height: calc(100% - 130px); | ||
background-color: #f7f8f9; | ||
" | ||
> | ||
<mat-card-content style="height: 100%"> | ||
<elements-iframe #iFrame [src]="iframeTerminalURL" [origin]="'pam'"> | ||
</elements-iframe> | ||
</mat-card-content> | ||
</mat-card> | ||
</mat-sidenav-content> | ||
</mat-sidenav-container> | ||
</div> | ||
|
||
<div class="sftp-connect" *ngIf="iframeSFTPURL"> | ||
<div class="timer-container"> | ||
<div class="timer"> | ||
<div [class.active]="isActive" class="status-dot"></div> | ||
<span>{{ totalConnectTime }}</span> | ||
</div> | ||
</div> | ||
|
||
<div class="action-icons" [class.show]="showActionIcons"> | ||
<div class="close-icon" (click)="handleCloseConnect()"> | ||
<mat-icon matTooltip="退出">close</mat-icon> | ||
</div> | ||
</div> | ||
|
||
<pages-sftp></pages-sftp> | ||
</div> | ||
|
||
<div class="pam-gui" *ngIf="iframeRDPURL"> | ||
<div class="timer-container"> | ||
<div class="timer"> | ||
<div [class.active]="isActive" class="status-dot"></div> | ||
<span>{{ totalConnectTime }}</span> | ||
</div> | ||
</div> | ||
|
||
<div class="action-icons" [class.show]="showActionIcons"> | ||
<div class="close-icon" (click)="handleCloseConnect()"> | ||
<mat-icon matTooltip="退出">close</mat-icon> | ||
</div> | ||
</div> | ||
|
||
<elements-iframe | ||
*ngIf="iframeRDPURL" | ||
[src]="iframeRDPURL" | ||
[origin]="'pam'" | ||
></elements-iframe> | ||
</div> | ||
</div> |
Oops, something went wrong.