Fix layout issue if app domain is too long

This commit is contained in:
Johannes Zellner
2019-09-21 11:02:00 +02:00
parent 6c90fc2764
commit 0b6f68e190
2 changed files with 35 additions and 11 deletions

View File

@@ -201,20 +201,22 @@
<img ng-src="{{ app.iconUrl || 'img/appicon_fallback.png' }}" fallback-icon="img/appicon_fallback.png" onerror="imageErrorHandler(this)" class="app-icon"/>
</div>
<div class="col-md-8">
<h1 style="line-height: 0.7;">
{{ app.label || app.fqdn }}
<a class="btn btn-sm btn-outline btn-primary pull-right" ng-href="{{ app | applicationLink }}" target="_blank" ng-disabled="!(app | appIsInstalledAndHealthy)" ng-click="user.admin && ((app | installError) === true && setView('debug')) || ((app | appIsInstalledAndHealthy) && app.pendingPostInstallConfirmation && postInstallConfirm.show())"><i class="fas fa-external-link-alt"></i> Open App</a>
<a class="btn btn-sm btn-outline btn-primary pull-right" ng-href="{{ app.manifest.documentationUrl }}" target="_blank">Documentation</a>
<br/>
<span class="text-small">
{{ app | installationStateLabel:user }}
</span>
</h1>
<div class="app-header-container">
<h1>
{{ app.label || app.fqdn }}
<br/>
<span class="text-small">
{{ app | installationStateLabel:user }}
</span>
</h1>
<div>
<a class="btn btn-sm btn-outline btn-primary" ng-href="{{ app.manifest.documentationUrl }}" target="_blank">Documentation</a>
<a class="btn btn-sm btn-outline btn-primary" ng-href="{{ app | applicationLink }}" target="_blank" ng-disabled="!(app | appIsInstalledAndHealthy)" ng-click="user.admin && ((app | installError) === true && setView('debug')) || ((app | appIsInstalledAndHealthy) && app.pendingPostInstallConfirmation && postInstallConfirm.show())"><i class="fas fa-external-link-alt"></i> Open App</a>
</div>
</div>
</div>
</div>
<br/>
<div class="row">
<div class="col-md-2">
<div class="app-configure-links">