|
34 | 34 | <resource-icon :image="getImage(resource.icon && resource.icon.base64image || images.template || images.iso || resourceIcon)" size="4x" style="margin-right: 5px"/> |
35 | 35 | </span> |
36 | 36 | <span v-else> |
37 | | - <os-logo v-if="resource.ostypeid || resource.ostypename" :osId="resource.ostypeid" :osName="resource.ostypename" size="4x" @update-osname="setResourceOsType"/> |
| 37 | + <os-logo v-if="resource.ostypeid || resource.ostypename" :osId="resource.ostypeid" :osName="resource.ostypename" size="3x" @update-osname="setResourceOsType"/> |
38 | 38 | <render-icon v-else-if="typeof $route.meta.icon ==='string'" style="font-size: 36px" :icon="$route.meta.icon" /> |
39 | 39 | <font-awesome-icon |
40 | 40 | v-else-if="$route.meta.icon && Array.isArray($route.meta.icon)" |
41 | 41 | :icon="$route.meta.icon" |
42 | | - size="4x" |
| 42 | + size="3x" |
43 | 43 | class="anticon" |
44 | 44 | :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
45 | 45 | <render-icon v-else style="font-size: 36px" :svgIcon="$route.meta.icon" /> |
|
185 | 185 | <div class="resource-detail-item" v-if="('cpunumber' in resource && 'cpuspeed' in resource) || resource.cputotal"> |
186 | 186 | <div class="resource-detail-item__label">{{ $t('label.cpu') }}</div> |
187 | 187 | <div class="resource-detail-item__details"> |
188 | | - <appstore-outlined /> |
| 188 | + <font-awesome-icon |
| 189 | + :icon="['fa-solid', 'fa-microchip']" |
| 190 | + class="anticon" |
| 191 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
189 | 192 | <span v-if="'cpunumber' in resource && 'cpuspeed' in resource">{{ resource.cpunumber }} CPU x {{ (resource.cpuspeed / 1000.0).toFixed(2) }} GHz |
190 | 193 | <a-tooltip placement="top"> |
191 | 194 | <template #title> |
|
223 | 226 | <div class="resource-detail-item" v-if="'memory' in resource"> |
224 | 227 | <div class="resource-detail-item__label">{{ $t('label.memory') }}</div> |
225 | 228 | <div class="resource-detail-item__details"> |
226 | | - <bulb-outlined />{{ resource.memory + ' ' + $t('label.mb.memory') }} |
| 229 | + <font-awesome-icon |
| 230 | + :icon="['fa-solid', 'fa-memory']" |
| 231 | + class="anticon" |
| 232 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 233 | + {{ resource.memory + ' ' + $t('label.mb.memory') }} |
227 | 234 | </div> |
228 | 235 | <div> |
229 | 236 | <span v-if="resource.memorykbs && resource.memoryintfreekbs"> |
|
364 | 371 | v-for="(eth, index) in resource.nic" |
365 | 372 | :key="eth.id" |
366 | 373 | style="margin-left: -24px; margin-top: 5px;"> |
367 | | - <api-outlined /> |
| 374 | + <font-awesome-icon |
| 375 | + :icon="['fa-solid', 'fa-ethernet']" |
| 376 | + class="anticon" |
| 377 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
368 | 378 | <strong>eth{{ index }}</strong> |
369 | 379 | <copy-label :label="eth.ip6address ? eth.ipaddress + ', ' + eth.ip6address : eth.ipaddress" /> |
370 | 380 | <a-tag v-if="eth.isdefault"> |
|
389 | 399 | v-for="network in resource.networks" |
390 | 400 | :key="network.id" |
391 | 401 | style="margin-top: 5px;"> |
392 | | - <api-outlined />{{ network.name }} |
| 402 | + <font-awesome-icon |
| 403 | + :icon="['fa-solid', 'fa-ethernet']" |
| 404 | + class="anticon" |
| 405 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 406 | + {{ network.name }} |
393 | 407 | <span v-if="resource.defaultnetworkid === network.id"> |
394 | 408 | ({{ $t('label.default') }}) |
395 | 409 | </span> |
|
0 commit comments