-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'integration/new-container-runtime' of github.com:Start9…
…Labs/start-os into integration/new-container-runtime
- Loading branch information
Showing
25 changed files
with
1,096 additions
and
571 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 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
70 changes: 21 additions & 49 deletions
70
web/projects/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces-item.component.html
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 |
---|---|---|
@@ -1,72 +1,44 @@ | ||
<ion-item *ngIf="interface"> | ||
<ion-item *ngIf="iFace"> | ||
<ion-icon | ||
slot="start" | ||
size="large" | ||
[name]="interface.def.ui ? 'desktop-outline' : 'terminal-outline'" | ||
[name]=" | ||
iFace.type === 'ui' | ||
? 'desktop-outline' | ||
: iFace.type === 'api' | ||
? 'terminal-outline' | ||
: 'people-outline' | ||
" | ||
></ion-icon> | ||
<ion-label> | ||
<h1>{{ interface.def.name }}</h1> | ||
<h2>{{ interface.def.description }}</h2> | ||
<h1>{{ iFace.name }}</h1> | ||
<h2>{{ iFace.description }}</h2> | ||
</ion-label> | ||
</ion-item> | ||
<div *ngIf="interface" style="padding-left: 64px"> | ||
<!-- has tor --> | ||
<ion-item *ngIf="interface.addresses['tor-address'] as tor"> | ||
<div *ngIf="iFace" style="padding-left: 64px"> | ||
<ion-item *ngFor="let address of iFace.addresses"> | ||
<ion-label> | ||
<h2>Tor Address</h2> | ||
<p>{{ tor }}</p> | ||
<h2>{{ address.name }}</h2> | ||
<p>{{ address.url }}</p> | ||
</ion-label> | ||
<ion-buttons slot="end"> | ||
<ion-button *ngIf="interface.def.ui" fill="clear" (click)="launch(tor)"> | ||
<ion-button | ||
*ngIf="iFace.type === 'ui'" | ||
fill="clear" | ||
(click)="launch(address.url)" | ||
> | ||
<ion-icon size="small" slot="icon-only" name="open-outline"></ion-icon> | ||
</ion-button> | ||
<ion-button fill="clear" (click)="showQR(tor)"> | ||
<ion-button fill="clear" (click)="showQR(address.url)"> | ||
<ion-icon | ||
size="small" | ||
slot="icon-only" | ||
name="qr-code-outline" | ||
></ion-icon> | ||
</ion-button> | ||
<ion-button fill="clear" (click)="copy(tor)"> | ||
<ion-button fill="clear" (click)="copy(address.url)"> | ||
<ion-icon size="small" slot="icon-only" name="copy-outline"></ion-icon> | ||
</ion-button> | ||
</ion-buttons> | ||
</ion-item> | ||
<!-- no tor --> | ||
<ion-item *ngIf="!interface.addresses['tor-address']"> | ||
<ion-label> | ||
<h2>Tor Address</h2> | ||
<p>Service does not use a Tor Address</p> | ||
</ion-label> | ||
</ion-item> | ||
|
||
<!-- lan --> | ||
<ion-item *ngIf="interface.addresses['lan-address'] as lan"> | ||
<ion-label> | ||
<h2>LAN Address</h2> | ||
<p>{{ lan }}</p> | ||
</ion-label> | ||
<ion-buttons slot="end"> | ||
<ion-button *ngIf="interface.def.ui" fill="clear" (click)="launch(lan)"> | ||
<ion-icon size="small" slot="icon-only" name="open-outline"></ion-icon> | ||
</ion-button> | ||
<ion-button fill="clear" (click)="showQR(lan)"> | ||
<ion-icon | ||
size="small" | ||
slot="icon-only" | ||
name="qr-code-outline" | ||
></ion-icon> | ||
</ion-button> | ||
<ion-button fill="clear" (click)="copy(lan)"> | ||
<ion-icon size="small" slot="icon-only" name="copy-outline"></ion-icon> | ||
</ion-button> | ||
</ion-buttons> | ||
</ion-item> | ||
<!-- no lan --> | ||
<ion-item *ngIf="!interface.addresses['lan-address']"> | ||
<ion-label> | ||
<h2>LAN Address</h2> | ||
<p>N/A</p> | ||
</ion-label> | ||
</ion-item> | ||
</div> |
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
Oops, something went wrong.