Drew cleanup (#380)

* accordion works

* cleanup

* styling

* more styling

* App show change (#387)

* show page change

* no marketplace

* app show changes

* update marketplace list

* icon

* top left icon

* toolbar

* right size

* out of toolbar

* no service details

* fix skeleton text and server metrics page

* stuck

* add session management

* complete sessions feature

* app show page

* remove unnecessary icons

* add cli to list of possible sessions

* Modal global (#383)

* modal checkpoint

* global modal

* black looks good now

* black looks good now

* not smaller

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Drew Ansbacher <drew.ansbacher@gmail.com>

Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com>
This commit is contained in:
Drew Ansbacher
2021-07-29 16:59:03 -04:00
committed by Aiden McClelland
parent 11da141b73
commit 4ea214f79e
71 changed files with 808 additions and 694 deletions

View File

@@ -67,6 +67,7 @@ export class ConfigService {
}
launchableURL (pkg: PackageDataEntry): string {
console.log('PKGPKGPKG', pkg)
return this.isTor() ? `http://${torUiAddress(pkg)}` : `https://${lanUiAddress(pkg)}`
}
}
@@ -85,7 +86,7 @@ export function torUiAddress (pkg: PackageDataEntry): string {
const val = interfaces[key]
return val.ui && val['tor-config']
})
return pkg['interface-info'].addresses[id]['tor-address']
return pkg.installed['interface-info'].addresses[id]['tor-address']
}
export function lanUiAddress (pkg: PackageDataEntry): string {
@@ -94,7 +95,7 @@ export function lanUiAddress (pkg: PackageDataEntry): string {
const val = interfaces[key]
return val.ui && val['lan-config']
})
return pkg['interface-info'].addresses[id]['lan-address']
return pkg.installed['interface-info'].addresses[id]['lan-address']
}
export function hasUi (interfaces: { [id: string]: InterfaceDef }): boolean {