2018-06-14 15:46:55 +02:00
<!-- Modal postinstall confirm -->
< div class = "modal fade" id = "appPostInstallConfirmModal" tabindex = "-1" role = "dialog" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< img ng-src = "{{appPostInstallConfirm.app.iconUrl}}" onerror = "this.onerror=null;this.src='img/appicon_fallback.png'" class = "app-info-icon" / >
< h5 class = "app-info-title" >
{{ appPostInstallConfirm.app.manifest.title }}
2020-11-17 13:58:05 +01:00
< span class = "app-info-meta text-small" > {{ 'app.appInfo.package' | tr }} < a ng-href = "/#/appstore/{{appPostInstallConfirm.app.manifest.id}}?version={{appPostInstallConfirm.app.manifest.version}}" > v{{ appPostInstallConfirm.app.manifest.version }}< / a > < / span >
2018-08-05 21:36:40 -07:00
< br / >
2020-11-17 13:58:05 +01:00
< span ng-show = "appPostInstallConfirm.app.manifest.documentationUrl" > < a target = "_blank" ng-href = "{{appPostInstallConfirm.app.manifest.documentationUrl}}" > {{ 'app.docsAction' | tr }}< / a > < / span >
2018-08-05 21:36:40 -07:00
< br / >
2018-06-14 15:46:55 +02:00
< / h5 >
< / div >
< div class = "modal-body" >
2020-11-17 13:58:05 +01:00
< p ng-show = "appPostInstallConfirm.app.manifest.addons.email" > {{ 'app.appInfo.ssoEmail' | tr }}< / p >
< p ng-show = "appPostInstallConfirm.app.sso && !appPostInstallConfirm.app.manifest.addons.email" > {{ 'app.appInfo.sso' | tr }}< / p >
2020-07-16 15:43:30 -07:00
2020-08-08 18:07:06 -07:00
< div ng-bind-html = "appPostInstallConfirm.app.manifest.postInstallMessage | markdown2html" > < / div >
2020-11-17 13:58:05 +01:00
< div ng-show = "appPostInstallConfirm.app.manifest.documentationUrl" ng-bind-html = "'app.appInfo.appDocsUrl' | tr:{ docsUrl: appPostInstallConfirm.app.manifest.documentationUrl, title: appPostInstallConfirm.app.manifest.title, forumUrl: (appPostInstallConfirm.app.manifest.forumUrl || 'https://forum.cloudron.io') }" > < / div >
2018-06-14 15:46:55 +02:00
< / div >
< div class = "modal-footer" >
2019-09-27 19:43:03 +02:00
< div class = "form-group pull-left" >
< input type = "checkbox" id = "appPostInstallConfirmCheckbox" ng-model = "appPostInstallConfirm.confirmed" >
2020-11-17 13:58:05 +01:00
< label class = "control-label" for = "appPostInstallConfirmCheckbox" > {{ 'app.appInfo.postInstallConfirmCheckbox' | tr }}< / label >
2019-09-27 19:43:03 +02:00
< / div >
2020-11-17 13:58:05 +01:00
< button type = "button" class = "btn btn-default" data-dismiss = "modal" > {{ 'main.dialog.close' | tr }}< / button >
< a class = "btn btn-success" ng-href = "{{ appPostInstallConfirm.confirmed ? ('https://' + appPostInstallConfirm.app.fqdn) : '' }}" target = "_blank" ng-disabled = "!appPostInstallConfirm.confirmed" ng-click = "appPostInstallConfirm.submit()" > {{ 'app.appInfo.openAction' | tr:{ app: appPostInstallConfirm.app.manifest.title } }}< / a >
2018-06-14 15:46:55 +02:00
< / div >
< / div >
< / div >
< / div >
2022-07-07 13:32:20 +02:00
<!-- Modal applinks add -->
< div class = "modal fade" id = "applinksAddModal" tabindex = "-1" role = "dialog" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< h4 class = "modal-title" > Add external app link< / h4 >
< / div >
< div class = "modal-body" >
< form name = "applinksAddForm" role = "form" ng-submit = "applinksAdd.submit()" autocomplete = "off" >
< div class = "form-group" ng-class = "{ 'has-error': (applinksAddForm.upstreamUri.$dirty && applinksAddForm.upstreamUri.$invalid) || (!applinksAddForm.upstreamUri.$dirty && applinksAdd.error.upstreamUri) }" >
< label class = "control-label" > UpstreamURI< / label >
< input type = "text" class = "form-control" ng-model = "applinksAdd.upstreamUri" name = "upstreamUri" id = "inputUpstreamUri" autofocus autocomplete = "off" required >
< / div >
2022-07-07 18:53:14 +02:00
< div class = "form-group" >
< label class = "control-label" > Label< / label >
< input type = "text" class = "form-control" ng-model = "applinksAdd.label" name = "label" id = "inputLabel" autocomplete = "off" placeholder = "Leave empty for autodetection" >
< / div >
2022-07-07 13:32:20 +02:00
< input class = "ng-hide" type = "submit" ng-disabled = "applinksAddForm.$invalid || applinksAdd.busy" / >
< / form >
< / div >
< div class = "modal-footer" >
< button type = "button" class = "btn btn-default" data-dismiss = "modal" > {{ 'main.dialog.close' | tr }}< / button >
2022-07-07 16:41:12 +02:00
< button type = "button" class = "btn btn-success" ng-click = "applinksAdd.submit()" ng-disabled = "applinksAddForm.$invalid || applinksAdd.busy" > < i class = "fa fa-circle-notch fa-spin" ng-show = "applinksEdit.busy" > < / i > {{ 'main.dialog.save' | tr }}< / button >
2022-07-07 13:32:20 +02:00
< / div >
< / div >
< / div >
< / div >
2022-07-07 16:25:04 +02:00
<!-- Modal applinks edit -->
< div class = "modal fade" id = "applinksEditModal" tabindex = "-1" role = "dialog" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< h4 class = "modal-title" > Edit external app link< / h4 >
< / div >
< div class = "modal-body" >
< form name = "applinksEditForm" role = "form" ng-submit = "applinksEdit.submit()" autocomplete = "off" >
< div class = "form-group" ng-class = "{ 'has-error': (applinksEditForm.upstreamUri.$dirty && applinksEditForm.upstreamUri.$invalid) || (!applinksEditForm.upstreamUri.$dirty && applinksEdit.error.upstreamUri) }" >
< label class = "control-label" > UpstreamURI< / label >
< input type = "text" class = "form-control" ng-model = "applinksEdit.upstreamUri" name = "upstreamUri" id = "inputUpstreamUri" autofocus autocomplete = "off" required >
< / div >
2022-07-07 18:53:14 +02:00
< div class = "form-group" >
< label class = "control-label" > Label< / label >
< input type = "text" class = "form-control" ng-model = "applinksEdit.label" name = "label" id = "inputLabel" autocomplete = "off" >
< / div >
2022-07-07 16:41:12 +02:00
< input class = "ng-hide" type = "submit" ng-disabled = "applinksEditForm.$invalid || applinksEdit.busyEdit || applinks.busyRemove" / >
2022-07-07 16:25:04 +02:00
< / form >
< / div >
< div class = "modal-footer" >
2022-07-07 16:41:12 +02:00
< button type = "button" class = "btn btn-danger pull-left" ng-click = "applinksEdit.remove()" ng-disabled = "applinksEdit.busyRemove || applinksEdit.busyEdit" > < i class = "fa fa-circle-notch fa-spin" ng-show = "applinksEdit.busyRemove" > < / i > Delete< / button >
2022-07-07 16:25:04 +02:00
< button type = "button" class = "btn btn-default" data-dismiss = "modal" > {{ 'main.dialog.close' | tr }}< / button >
2022-07-07 16:41:12 +02:00
< button type = "button" class = "btn btn-success" ng-click = "applinksEdit.submit()" ng-disabled = "applinksEditForm.$invalid || applinksEdit.busyRemove || applinksEdit.busyEdit" > < i class = "fa fa-circle-notch fa-spin" ng-show = "applinksEdit.busyEdit" > < / i > {{ 'main.dialog.save' | tr }}< / button >
2022-07-07 16:25:04 +02:00
< / div >
< / div >
< / div >
< / div >
2018-01-22 13:01:38 -08:00
< div class = "content content-large" >
<!-- Workaround for select - all issue, see commit message -->
< div style = "font-size: 1px;" > < / div >
2020-02-24 12:56:13 +01:00
< div class = "animateMeOpacity ng-hide" ng-show = "installedApps.length === 0 && user.isAtLeastAdmin" >
2020-11-17 16:29:53 +01:00
< div class = "col-md-12" style = "text-align: center;" >
< br / > < br / > < br / > < br / >
< h1 > < i class = "fa fa-cloud-download fa-fw" > < / i > {{ 'apps.noApps.title' | tr }}< / h1 >
< br / > < / br >
< h3 ng-bind-html = "'apps.noApps.description' | tr:{ appStoreLink: '#/appstore' }" > < / h3 >
< / div >
2018-01-22 13:01:38 -08:00
< / div >
2020-02-24 12:56:13 +01:00
< div class = "animateMeOpacity ng-hide" ng-show = "installedApps.length === 0 && !user.isAtLeastAdmin" >
2020-11-17 16:29:53 +01:00
< div class = "col-md-12" style = "text-align: center;" >
< br / > < br / > < br / > < br / >
< h1 > {{ 'apps.noAccess.title' | tr }}< / h1 >
< br / > < / br >
< h3 > {{ 'apps.noAccess.description' | tr }}< / h3 >
< / div >
2018-01-22 13:01:38 -08:00
< / div >
< div class = "animateMeOpacity ng-hide" ng-show = "installedApps.length > 0" >
2019-04-15 14:31:12 +02:00
< h1 class = "view-header" >
2020-10-28 12:04:51 +01:00
{{ 'apps.title' | tr }}
2022-07-07 13:32:20 +02:00
< button class = "btn btn-outline" ng-click = "applinksAdd.show()" uib-tooltip = "Add Applink" tooltip-placement = "right" > < i class = "fas fa-plus" > < / i > < / button >
2019-04-15 14:31:12 +02:00
< div class = "pull-right" >
2020-01-06 15:27:31 +01:00
< form class = "form-inline" >
2020-12-15 15:48:25 +01:00
< input type = "text" class = "form-control" ng-show = "installedApps.length > 8" placeholder = "{{ 'apps.searchPlaceholder' | tr }}" id = "appSearch" ng-model = "appSearch" / >
2021-07-13 20:06:27 +02:00
< multiselect ng-model = "selectedGroup" ng-show = "user.isAtLeastAdmin && installedApps.length > 1 && groups.length > 1" ms-header = "{{ selectedGroup.name }}" options = "group.name for group in groups" data-multiple = "false" filter-after-rows = "5" scroll-after-rows = "10" > < / multiselect >
< multiselect ng-model = "selectedState" ng-show = "user.isAtLeastAdmin && installedApps.length > 1" ms-header = "{{ 'apps.stateFilterHeader' | tr }}" ms-selected = "{{ selectedState }}" options = "state.label for state in states" data-multiple = "false" > < / multiselect >
< multiselect ng-model = "selectedTags" ng-show = "user.isAtLeastAdmin && tags.length > 0" ms-header = "{{ 'apps.tagsFilterHeaderAll' | tr }}" ms-selected = "{{ 'apps.tagsFilterHeader' | tr:{ tags: selectedTags.join(', ') } }}" options = "tag for tag in tags" data-multiple = "true" filter-after-rows = "5" scroll-after-rows = "10" > < / multiselect >
2020-01-06 15:27:31 +01:00
< multiselect ng-model = "selectedDomain" ng-show = "filterDomains.length > 2" data-compare-by = "domain" ms-selected = "{{ selectedDomain.domain }}" options = "domain.domain for domain in filterDomains" data-multiple = "false" filter-after-rows = "5" scroll-after-rows = "10" > < / multiselect >
< / form >
2019-04-15 14:31:12 +02:00
< / div >
< / h1 >
2019-04-12 11:06:56 +02:00
< / div >
2018-01-22 13:01:38 -08:00
< div class = "animateMeOpacity ng-hide" ng-show = "installedApps.length > 0" >
2019-04-15 14:31:12 +02:00
< div class = "app-grid" >
2021-07-30 14:57:32 +02:00
< div class = "grid-item" ng-class = "{ 'stopped': app.runState === 'stopped' }" ng-repeat = "app in installedApps | selectedGroupAccessFilter:selectedGroup | selectedStateFilter:selectedState | selectedTagFilter:selectedTags | selectedDomainFilter:selectedDomain | appSearchFilter:appSearch | orderBy:'fqdn'" ng-class = "{ 'admin-action': app.manifest.configurePath && (app | applicationLink) }" >
2021-04-07 13:02:12 +02:00
< div class = "grid-item-content" uib-tooltip = "{{ app.fqdn }}" >
2022-07-07 16:25:04 +02:00
< a ng-show = "app.type !== 'applink' && isOperator(app)" ng-href = "#/app/{{ app.id}}/display" class = "btn btn-lg btn-default grid-item-action" > < i class = "fas fa-cog" > < / i > < / a >
< div ng-show = "app.type === 'applink' && isOperator(app)" ng-click = "applinksEdit.show(app)" class = "btn btn-lg btn-default grid-item-action" > < i class = "fas fa-cog" > < / i > < / div >
2021-09-21 15:26:05 -07:00
< a ng-href = "{{ app | applicationLink }}" ng-click = "isOperator(app) && (((app | installError) === true || (app | installationActive) === true) && showAppConfigure(app, 'repair')) || ((app | appIsInstalledAndHealthy) && app.pendingPostInstallConfirmation && appPostInstallConfirm.show(app))" target = "_blank" ng-class = "{ 'hand': (app | appIsInstalledAndHealthy) || (app | installError) || (app | installationActive)}" >
2019-04-15 14:31:12 +02:00
< div class = "grid-item-top" >
< div class = "row" >
< div class = "col-xs-12 text-center" style = "padding-left: 5px; padding-right: 5px;" >
2019-09-18 18:10:51 +02:00
< img ng-src = "{{ app.iconUrl || 'img/appicon_fallback.png' }}" fallback-icon = "img/appicon_fallback.png" onerror = "imageErrorHandler(this)" class = "app-icon" / >
2019-04-15 14:31:12 +02:00
< / div >
< / div >
< br / >
< div class = "row" >
< div class = "col-xs-12 text-center" >
2022-01-16 18:29:32 -08:00
< div class = "grid-item-top-title" data-fittext > {{ app.label || app.subdomain || app.fqdn }}< / div >
2021-03-30 13:31:24 +02:00
< div class = "text-muted status" style = "text-overflow: ellipsis; white-space: nowrap; overflow: hidden" uib-tooltip = "{{ app | appProgressMessage }}" >
2020-05-12 21:30:57 -07:00
{{ app | installationStateLabel }}
2019-04-15 14:31:12 +02:00
< / div >
2021-09-21 15:26:05 -07:00
< div class = "status" ng-style = "{ 'visibility': isOperator(app) && (app | installationActive) ? 'visible' : 'hidden' }" >
2019-04-15 14:31:12 +02:00
< div class = "progress progress-striped active" >
< div class = "progress-bar progress-bar-success" role = "progressbar" style = "width: {{ app.progress }}%" > < / div >
2019-03-25 10:42:31 +01:00
< / div >
2018-01-22 13:01:38 -08:00
< / div >
2019-03-25 10:42:31 +01:00
< / div >
< / div >
2021-04-20 20:43:37 +02:00
2021-09-22 21:58:31 +02:00
< div class = "usermanagement-indicator" ng-hide = "user.isAtLeastAdmin" >
2021-10-20 09:29:14 +02:00
< i class = "fas fa-cog" ng-show = "isOperator(app)" > < / i >
2021-07-07 21:08:23 +02:00
< i class = "fas fa-user" ng-show = "app.ssoAuth && !app.manifest.addons.email" uib-tooltip = "{{ 'apps.auth.sso' | tr }}" tooltip-placement = "right" > < / i >
< i class = "far fa-user" ng-show = "!app.ssoAuth && !app.manifest.addons.email" uib-tooltip = "{{ 'apps.auth.nosso' | tr }}" tooltip-placement = "right" > < / i >
< i class = "fas fa-envelope" ng-show = "app.manifest.addons.email" uib-tooltip = "{{ 'apps.auth.email' | tr }}" tooltip-placement = "right" > < / i >
2021-04-20 20:43:37 +02:00
< / div >
2019-04-15 14:31:12 +02:00
< / div >
2018-01-22 13:01:38 -08:00
2021-04-06 18:27:59 +02:00
< / a >
2021-06-30 16:06:32 +02:00
<!-- we check the version here because the box updater does not know when an app gets updated -->
2021-09-22 23:22:03 +02:00
< div class = "app-update-badge" ng-click = "showAppConfigure(app, 'updates')" ng-show = "config.update[app.id].manifest.version && config.update[app.id].manifest.version !== app.manifest.version && (app | installSuccess)" >
2021-06-30 16:06:32 +02:00
< i class = "fa fa-arrow-up fa-inverse" > < / i >
< / div >
2021-04-06 18:27:59 +02:00
< / div >
2018-01-22 13:01:38 -08:00
< / div >
2019-03-25 10:42:31 +01:00
< / div >
2018-01-22 13:01:38 -08:00
< / div >
< / div >