diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl b/maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl index 85b50c4c9..49c8b7805 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl +++ b/maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl @@ -21,9 +21,9 @@ <#if (app_index)%4==0>
-
- -
+
+ + @@ -48,21 +48,23 @@ <#else>
-
href="${app.loginUrl}" @@ -31,7 +31,7 @@ <#if "IDP"==app.inducer> href="<@base/>/authz/${app.id}" > - +
${app.name}
- - - - - - +
- <@locale code="apps.number"/> - - <@locale code="apps.icon"/> - <@locale code="apps.name"/> - <@locale code="button.text.action"/> -
+ + + + + + + <#list appList as app> - + - +
+ <@locale code="apps.number"/> + + <@locale code="apps.icon"/> + <@locale code="apps.name"/> + + <@locale code="button.text.action"/> +
${app_index +1 } @@ -74,10 +76,10 @@ href="<@base/>/authz/${app.id}" target="_blank" title="${app.name}" > - + ${app.name}${app.name} diff --git a/maxkey-webs/maxkey-web-resources/src/main/resources/static/css/base.css b/maxkey-webs/maxkey-web-resources/src/main/resources/static/css/base.css index 8e22c79b1..81cf5db8b 100644 --- a/maxkey-webs/maxkey-web-resources/src/main/resources/static/css/base.css +++ b/maxkey-webs/maxkey-web-resources/src/main/resources/static/css/base.css @@ -380,6 +380,49 @@ body{ text-indent: 1px; } +.appListGrid { + min-width: 160px; + min-height: 170px; +} + +.appListGrid table{ + min-width: 150px; + min-height: 150px; + border-spacing: 0; + border-collapse: collapse; + margin: auto; +} + +.appListGrid table td{ + text-align: center; + border-spacing: 0; + border-collapse: collapse; + border:1px solid #e1e5e8; + box-shadow: 0 0 12px 0 rgb(0 15 32 / 10%); +} + +.appListGrid table td:hover{ + text-align: center; + border-spacing: 0; + border-collapse: collapse; + border:1px solid #e1e5e8; + box-shadow: 2px 2px 2px #8f8c8c; +} + +.appListTable { +} + +.appListTable td{ + word-wrap:break-word; + vertical-align: middle; +} + +.appListimage{ + width:65px; + height:65px; + border:0; +} + #otherlogins{ margin-top: -14px; } \ No newline at end of file