Compare commits
2 Commits
d4e78a666e
...
e215f93ef2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e215f93ef2 | ||
|
|
bbed65e41e |
@@ -152,8 +152,9 @@
|
|||||||
.thumb-actions {
|
.thumb-actions {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
display: flex;
|
display: grid;
|
||||||
flex-direction: column;
|
grid-template-columns: repeat(2, minmax(0, 86px));
|
||||||
|
align-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 7px;
|
gap: 7px;
|
||||||
@@ -172,7 +173,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.thumb-actions button {
|
.thumb-actions button {
|
||||||
width: min(86px, 80%);
|
width: 100%;
|
||||||
min-height: 24px;
|
min-height: 24px;
|
||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
border-color: rgba(255, 255, 255, 0.3);
|
border-color: rgba(255, 255, 255, 0.3);
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ export async function renderApp() {
|
|||||||
<div class="content-actions">
|
<div class="content-actions">
|
||||||
${canManageUsers ? `<button id="manageUsersBtn" type="button">人员权限</button>` : ""}
|
${canManageUsers ? `<button id="manageUsersBtn" type="button">人员权限</button>` : ""}
|
||||||
${isAdmin ? `<button id="manageDictionariesBtn" type="button">字典维护</button>` : ""}
|
${isAdmin ? `<button id="manageDictionariesBtn" type="button">字典维护</button>` : ""}
|
||||||
${isAdmin ? `<button id="addProcessModelBtn" type="button" hidden>上传工艺模型</button>` : ""}
|
${canManageUsers ? `<button id="addProcessModelBtn" type="button" hidden>上传工艺模型</button>` : ""}
|
||||||
${isAdmin ? `<button id="addModelBtn1" class="primary-btn" type="button" hidden>增加模型</button>` : ""}
|
${canManageUsers ? `<button id="addModelBtn1" class="primary-btn" type="button" hidden>增加模型</button>` : ""}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="filter-toolbar">
|
<div class="filter-toolbar">
|
||||||
@@ -56,8 +56,8 @@ export async function renderApp() {
|
|||||||
<span>关键字</span>
|
<span>关键字</span>
|
||||||
<input id="keywordFilter" placeholder="模型名 / 文件名 / 属性" />
|
<input id="keywordFilter" placeholder="模型名 / 文件名 / 属性" />
|
||||||
</label>
|
</label>
|
||||||
<button id="resetFilterBtn" type="button">重置</button>
|
<button id="resetFilterBtn" type="button">筛选模型</button>
|
||||||
<button id="addModelBtn" class="primary-btn" type="button">增加模型</button>
|
<button id="addModelBtn" class="primary-btn" type="button">导入模型</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="modelGrid" class="model-grid"></div>
|
<div id="modelGrid" class="model-grid"></div>
|
||||||
<footer id="modelPagination" class="pagination"></footer>
|
<footer id="modelPagination" class="pagination"></footer>
|
||||||
|
|||||||
@@ -485,7 +485,7 @@ async function openUploadModelDialog() {
|
|||||||
const result = await formDialog<boolean>({
|
const result = await formDialog<boolean>({
|
||||||
title: "增加模型",
|
title: "增加模型",
|
||||||
width: 560,
|
width: 560,
|
||||||
height: 520,
|
height: 430,
|
||||||
blockPage: false,
|
blockPage: false,
|
||||||
body: `
|
body: `
|
||||||
<form id="modelUploadPopupForm" class="popup-form upload-popup-form">
|
<form id="modelUploadPopupForm" class="popup-form upload-popup-form">
|
||||||
|
|||||||
Reference in New Issue
Block a user