feat: add link to open exposed app to domain
This commit is contained in:
parent
70e2ca67cb
commit
a46a02231c
3 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
|||
.text {
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
// margin-bottom: px;
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ export const Layout: React.FC<IProps> = ({ children, breadcrumbs, title, actions
|
|||
<Head>
|
||||
<title>{title} - Tipi</title>
|
||||
</Head>
|
||||
<ReactTooltip offset={{ right: 3 }} effect="solid" place="bottom" />
|
||||
<ReactTooltip offset={{ right: 1 }} effect="solid" place="bottom" />
|
||||
<Header isUpdateAvailable={!isLatest} />
|
||||
<div className="page-wrapper">
|
||||
<div className="page-header d-print-none">
|
||||
|
|
|
@ -164,12 +164,17 @@ export const AppDetailsContainer: React.FC<IProps> = ({ app, info }) => {
|
|||
<div className="card-header d-flex flex-column flex-md-row">
|
||||
<AppLogo id={info.id} size={130} alt={info.name} />
|
||||
<div className="w-100 d-flex flex-column ms-md-3 align-items-center align-items-md-start">
|
||||
<div className="">
|
||||
<div>
|
||||
<span className="mt-1 me-1">Version: </span>
|
||||
<span className="badge bg-gray mt-2">{info?.version}</span>
|
||||
</div>
|
||||
<span className="mt-2 text-muted text-center mb-2">{info.short_desc}</span>
|
||||
{app && app?.status !== AppStatusEnum.Missing && <AppStatus status={app.status} />}
|
||||
{app.domain && (
|
||||
<a target="_blank" rel="noreferrer" className="mt-1" href={`https://${app.domain}`}>
|
||||
https://{app.domain}
|
||||
</a>
|
||||
)}
|
||||
<span className="mt-1 text-muted text-center mb-2">{info.short_desc}</span>
|
||||
<div className="mb-1">{app && app?.status !== AppStatusEnum.Missing && <AppStatus status={app.status} />}</div>
|
||||
<AppActions
|
||||
updateAvailable={updateAvailable}
|
||||
onUpdate={updateDisclosure.open}
|
||||
|
|
Loading…
Reference in a new issue