diff --git a/shogun-boot/src/main/resources/templates/index.html b/shogun-boot/src/main/resources/templates/index.html
index 70db9e8c..968847d4 100644
--- a/shogun-boot/src/main/resources/templates/index.html
+++ b/shogun-boot/src/main/resources/templates/index.html
@@ -106,9 +106,12 @@
Welcome to SHOGun
Applications
-
- You are not able to preview applications at this time.
- Note: You are either logged-out or this site has no (public) applications.
+
+ You are not able to preview applications at this time.
+ Note: You are either logged-out or this site has no (public) applications.
+
+
+
@@ -176,8 +179,9 @@ Applications
: ''
}));
if (!keycloak.authenticated || !applications) {
- document.querySelector('#app-label-visibility').hidden = false;
+ document.querySelector('#login-alert').hidden = false;
}
+
const appsEl = document.querySelector('.apps');
// Create web components
@@ -197,20 +201,19 @@ Applications
}
});
-
- if (appsEl) {
- appInfos.forEach(app => {
- const html = `` +
- `` +
- `` +
- `${app.logo}` +
- `` +
- `${app.name}` +
- `${app.description}` +
- ``;
- appsEl.insertAdjacentHTML('beforeend', html);
- });
- }
+ if (appsEl) {
+ appInfos.forEach(app => {
+ const html = `` +
+ `` +
+ `` +
+ `${app.logo}` +
+ `` +
+ `${app.name}` +
+ `${app.description}` +
+ ``;
+ appsEl.insertAdjacentHTML('beforeend', html);
+ });
+ }
// Check for admin role
const hasAdminRole = keycloak.hasResourceRole('admin', 'shogun-admin');