Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MaxKey单点登录官方(MaxKeyTop)
MaxKey
提交
77c3313f
MaxKey
项目概览
MaxKey单点登录官方(MaxKeyTop)
/
MaxKey
9 个月 前同步成功
通知
75
Star
3
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MaxKey
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
77c3313f
编写于
2月 15, 2022
作者:
M
MaxKey
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
appList optimize
上级
782c7bd3
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
65 addition
and
20 deletion
+65
-20
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl
...axkey/src/main/resources/templates/views/main/appList.ftl
+22
-20
maxkey-webs/maxkey-web-resources/src/main/resources/static/css/base.css
...xkey-web-resources/src/main/resources/static/css/base.css
+43
-0
未找到文件。
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/main/appList.ftl
浏览文件 @
77c3313f
...
...
@@ -21,9 +21,9 @@
<
#if
(
app_index
)%4==0
>
<div
class=
"row"
>
</
#
if>
<div
class=
"col-3
"
style=
"min-width: 160px;
"
>
<table
class=
"none"
style=
"width: 100%; min-height: 120px;border-spacing: 0;border-collapse: collapse;"
>
<tr><td
style=
"text-align: center;border-spacing: 0;border-collapse: collapse;border: 0px;"
>
<div
class=
"col-3
appListGrid
"
>
<table>
<tr><td>
<a
target=
"_blank"
title=
"${app.name}"
<
#if
"
SP
"==
app.inducer
>
href="${app.loginUrl}"
...
...
@@ -31,7 +31,7 @@
<
#if
"
IDP
"==
app.inducer
>
href="
<
@
base
/>
/authz/${app.id}"
</
#
if>
>
<img
src=
"<@base/>/image/${app.id}"
title=
"${app.name}"
width=
"65px"
height=
"65px"
style=
"border:0;
"
/>
<img
src=
"<@base/>/image/${app.id}"
title=
"${app.name}"
class=
"appListimage
"
/>
</a><br>
${app.name}
</td></tr>
...
...
@@ -48,21 +48,23 @@
<
#else
>
<div
class=
"row"
>
<div
class=
"col-12"
>
<table
class=
"table"
>
<tr>
<td>
<
@
locale
code=
"apps.number"
/>
</td>
<td>
<
@
locale
code=
"apps.icon"
/>
</td>
<td
style=
"word-wrap:break-word;"
><
@
locale
code=
"apps.name"
/></td>
<td>
<
@
locale
code=
"button.text.action"
/>
</td>
</tr>
<table
class=
"table appListTable table-hover"
>
<thead>
<tr>
<th>
<
@
locale
code=
"apps.number"
/>
</th>
<th>
<
@
locale
code=
"apps.icon"
/>
</th>
<th
><
@
locale
code=
"apps.name"
/></td>
<th>
<
@
locale
code=
"button.text.action"
/>
</th>
</tr>
</thead>
<
#list
appList
as
app
>
<tr>
<tr
class=
""
>
<td>
${app_index +1 }
</td>
<td>
...
...
@@ -74,10 +76,10 @@
href="
<
@
base
/>
/authz/${app.id}"
</
#
if>
target="_blank" title="${app.name}" >
<img
src=
"<@base/>/image/${app.id}"
title=
"${app.name}"
width=
"65px"
height=
"65px"
style=
"border:0;
"
/>
<img
src=
"<@base/>/image/${app.id}"
title=
"${app.name}"
class=
"appListimage
"
/>
</a>
</td>
<td
style=
"
word-wrap:break-word;vertical-align: middle;
"
>
${app.name}
</td>
<td
style=
""
>
${app.name}
</td>
<td>
<a
<
#if
"
SP
"==
app.inducer
>
...
...
maxkey-webs/maxkey-web-resources/src/main/resources/static/css/base.css
浏览文件 @
77c3313f
...
...
@@ -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
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录