Skip to content

Commit

Permalink
Merge pull request #103 from Strato-YangSungHun/main
Browse files Browse the repository at this point in the history
update UI / UI build file
  • Loading branch information
Strato-YangSungHun authored Nov 29, 2024
2 parents 8820a11 + e0e56cf commit d669da8
Show file tree
Hide file tree
Showing 17 changed files with 269 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ const setColumns = () => {
},
{
title: "Infra",
field: "vmId",
width: '15%',
formatter: infraFormatter,
},
{
title: "Status",
Expand Down Expand Up @@ -173,6 +173,21 @@ const _applicationAction = async (params: {
applicationName.value = params.applicationName
}
const infraFormatter = (cell: any) => {
const infraName =
cell.getRow().getData().vmName ? cell.getRow().getData().vmName :
cell.getRow().getData().clusterName ? cell.getRow().getData().clusterName : '-'
return `
<div>
<p>
${infraName}
<p>
</div>
`
}
/**
* @Title statusFormatter
* @Desc Status Formatter
Expand Down
16 changes: 16 additions & 0 deletions src/main/resources/static/assets/IconPlus-cRLNI5Qz.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import{D as l}from"./index-BHIrf46W.js";/**
* @license @tabler/icons-vue v3.21.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var n={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};/**
* @license @tabler/icons-vue v3.21.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/const f=(t,a,g,h)=>({color:o="currentColor",size:r=24,stroke:c=2,title:s,class:k,...d},{attrs:u,slots:i})=>{let e=[...h.map(w=>l(...w)),...i.default?[i.default()]:[]];return s&&(e=[l("title",s),...e]),l("svg",{...n[t],width:r,height:r,...u,class:["tabler-icon",`tabler-icon-${a}`],...t==="filled"?{fill:o}:{"stroke-width":c??n[t]["stroke-width"],stroke:o},...d},e)};/**
* @license @tabler/icons-vue v3.21.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/var p=f("outline","plus","IconPlus",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]]);export{p as I,f as c};
17 changes: 17 additions & 0 deletions src/main/resources/static/assets/OssList-CVH52Kn5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions src/main/resources/static/assets/RepositoryDetail-Ci7N0ALO.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d669da8

Please sign in to comment.