-
- Launch
+
+
+
+
+
+
+
+
+
+ LAUNCH
diff --git a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.scss b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.scss
index cc6d3f2c2..125c15ee0 100644
--- a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.scss
+++ b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.scss
@@ -39,3 +39,25 @@
.no-cushion-item {
--background: transparent; --padding-start: 0px; --inner-padding-end: 0px; --padding-end: 0px;
}
+
+.launch-button {
+ width: 100%;
+ padding: 0px 10px;
+ --background: linear-gradient(200deg, rgb(70 193 255), rgb(70 193 255 / 45%));
+ width: calc(100% - 32px);
+ border-radius: 8px;
+ --border-radius: 8px;
+}
+
+.launch-button-off {
+ --background: #383838;
+ color: var(--ion-color-medium)
+}
+
+.launch-explanation-button {
+ position: absolute;
+ z-index: 1;
+ right: -2px;
+ top: 10px;
+ --border-radius: 100px;
+}
\ No newline at end of file
diff --git a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts
index d44d61c49..15b6224c8 100644
--- a/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts
+++ b/ui/src/app/pages/apps-routes/app-installed-show/app-installed-show.page.ts
@@ -18,6 +18,7 @@ import { Cleanup } from 'src/app/util/cleanup'
import { InformationPopoverComponent } from 'src/app/components/information-popover/information-popover.component'
import { Emver } from 'src/app/services/emver.service'
import { displayEmver } from 'src/app/pipes/emver.pipe'
+import { ConfigService } from 'src/app/services/config.service'
@Component({
selector: 'app-installed-show',
@@ -33,8 +34,11 @@ export class AppInstalledShowPage extends Cleanup {
appId: string
AppStatus = AppStatus
showInstructions = false
+ isConsulate: boolean
dependencyDefintion = () => `Dependencies are other services which must be installed, configured appropriately, and started in order to start ${this.app.title.getValue()}`
+ launchDefinition = () => `Launch A Service This button appears only for services that can be accessed inside the browser. If a service does not have this button, you must access it using another interface, such as a mobile app, desktop app, or another service on the Embassy. Please view the instructions for a service for details on how to use it.
`
+ launchOffDefinition = () => `Launch A Service This button appears only for services that can be accessed inside the browser. Get your service running in order to launch!
`
@ViewChild(IonContent) content: IonContent
@@ -51,8 +55,10 @@ export class AppInstalledShowPage extends Cleanup {
private readonly appModel: AppModel,
private readonly popoverController: PopoverController,
private readonly emver: Emver,
+ config: ConfigService,
) {
super()
+ this.isConsulate = config.isConsulateIos || config.isConsulateAndroid
}
async ngOnInit () {