#4064 fix-3956

Merged
chenshihai merged 4 commits from fix-3956 into V20230425 1 year ago
  1. +1
    -1
      templates/admin/cloudbrain/imagecommit.tmpl
  2. +5
    -5
      web_src/js/components/images/adminImages.vue

+ 1
- 1
templates/admin/cloudbrain/imagecommit.tmpl View File

@@ -48,7 +48,7 @@
</svg>
启智CPU/GPU
</a>
<a class="item" data-type="1">
<a class="item" data-type="2">
<svg class="svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16">
<path fill="none" d="M0 0h24v24H0z"/>
<path d="M3 2.992C3 2.444 3.445 2 3.993 2h16.014a1 1 0 0 1 .993.992v18.016a.993.993 0 0 1-.993.992H3.993A1 1 0 0 1 3 21.008V2.992zM19 11V4H5v7h14zm0 2H5v7h14v-7zM9 6h6v2H9V6zm0 9h6v2H9v-2z"/>


+ 5
- 5
web_src/js/components/images/adminImages.vue View File

@@ -76,12 +76,12 @@

</template>
</el-table-column>
<el-table-column prop="cloudbrainType" :label="$i18n['cloudeBrainMirror']['available_clusters']" min-width="14%" align="center">
<el-table-column prop="cloudbrainType" :label="$i18n['cloudeBrainMirror']['available_clusters']" min-width="12%" align="center">
<template slot-scope="scope">
{{scope.row.cloudbrainType | transformType(vm)}}
</template>
</el-table-column>
<el-table-column prop="isPrivate" :label="$i18n['cloudeBrainMirror']['state']" min-width="7%" align="center">
<el-table-column prop="isPrivate" :label="$i18n['cloudeBrainMirror']['state']" min-width="6%" align="center">
<template slot-scope="scope">
<span v-if="scope.row.isPrivate" style="color: rgb(250, 140, 22);">{{$i18n['cloudeBrainMirror']['private']}}</span>
<span v-else style="color: rgb(19, 194, 141);">{{$i18n['cloudeBrainMirror']['public']}}</span>
@@ -98,14 +98,14 @@
</a>
</template>
</el-table-column>
<el-table-column prop="createdUnix" :label="$i18n['cloudeBrainMirror']['creation_time']" align="center" min-width="12%">
<el-table-column prop="createdUnix" :label="$i18n['cloudeBrainMirror']['creation_time']" align="center" min-width="11%">
<template slot-scope="scope">
{{scope.row.createdUnix | transformTimestamp}}
</template>
</el-table-column>
<el-table-column align="center" min-width="24%" :label="$i18n['cloudeBrainMirror']['operation']">
<el-table-column align="center" min-width="28%" :label="$i18n['cloudeBrainMirror']['operation']">
<template slot-scope="scope">
<div style="display: flex;justify-content: flex-end;align-items: center;">
<div style="display: flex;justify-content: center;align-items: center;">
<div style="display: flex;align-items: center;padding: 0 1rem;" :title="$i18n['citations']">
<i class="ri-links-line" style="font-size: 16px;"></i>
<span style="line-height: 2;margin-left: 0.3rem;">{{ scope.row.useCount}}</span>


Loading…
Cancel
Save