|
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" /> |
|
196 | 196 | <div class="resource-detail-item" v-if="('cpunumber' in resource && 'cpuspeed' in resource) || resource.cputotal"> |
197 | 197 | <div class="resource-detail-item__label">{{ $t('label.cpu') }}</div> |
198 | 198 | <div class="resource-detail-item__details"> |
199 | | - <appstore-outlined /> |
| 199 | + <font-awesome-icon |
| 200 | + :icon="['fa-solid', 'fa-microchip']" |
| 201 | + class="anticon" |
| 202 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
200 | 203 | <span v-if="'cpunumber' in resource && 'cpuspeed' in resource">{{ resource.cpunumber }} CPU x {{ (resource.cpuspeed / 1000.0).toFixed(2) }} GHz |
201 | 204 | <a-tooltip placement="top"> |
202 | 205 | <template #title> |
|
234 | 237 | <div class="resource-detail-item" v-if="'memory' in resource"> |
235 | 238 | <div class="resource-detail-item__label">{{ $t('label.memory') }}</div> |
236 | 239 | <div class="resource-detail-item__details"> |
237 | | - <bulb-outlined />{{ resource.memory + ' ' + $t('label.mb.memory') }} |
| 240 | + <font-awesome-icon |
| 241 | + :icon="['fa-solid', 'fa-memory']" |
| 242 | + class="anticon" |
| 243 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 244 | + {{ resource.memory + ' ' + $t('label.mb.memory') }} |
238 | 245 | </div> |
239 | 246 | <div> |
240 | 247 | <span v-if="resource.memorykbs && resource.memoryintusablekbs"> |
|
384 | 391 | v-for="(eth, index) in resource.nic" |
385 | 392 | :key="eth.id" |
386 | 393 | style="margin-left: -24px; margin-top: 5px;"> |
387 | | - <api-outlined /> |
| 394 | + <font-awesome-icon |
| 395 | + :icon="['fa-solid', 'fa-ethernet']" |
| 396 | + class="anticon" |
| 397 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
388 | 398 | <strong>eth{{ index }}</strong> |
389 | 399 | <copy-label :label="eth.ip6address ? eth.ipaddress + ', ' + eth.ip6address : eth.ipaddress" /> |
390 | 400 | <a-tag v-if="eth.isdefault"> |
|
409 | 419 | v-for="network in resource.networks" |
410 | 420 | :key="network.id" |
411 | 421 | style="margin-top: 5px;"> |
412 | | - <api-outlined />{{ network.name }} |
| 422 | + <font-awesome-icon |
| 423 | + :icon="['fa-solid', 'fa-ethernet']" |
| 424 | + class="anticon" |
| 425 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 426 | + {{ network.name }} |
413 | 427 | <span v-if="resource.defaultnetworkid === network.id"> |
414 | 428 | ({{ $t('label.default') }}) |
415 | 429 | </span> |
|
0 commit comments