|
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" />
|
|
179 | 179 | <div class="resource-detail-item" v-if="('cpunumber' in resource && 'cpuspeed' in resource) || resource.cputotal">
|
180 | 180 | <div class="resource-detail-item__label">{{ $t('label.cpu') }}</div>
|
181 | 181 | <div class="resource-detail-item__details">
|
182 |
| - <appstore-outlined /> |
| 182 | + <font-awesome-icon |
| 183 | + :icon="['fa-solid', 'fa-microchip']" |
| 184 | + class="anticon" |
| 185 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
183 | 186 | <span v-if="'cpunumber' in resource && 'cpuspeed' in resource">{{ resource.cpunumber }} CPU x {{ (resource.cpuspeed / 1000.0).toFixed(2) }} GHz
|
184 | 187 | <a-tooltip placement="top">
|
185 | 188 | <template #title>
|
|
214 | 217 | <div class="resource-detail-item" v-if="'memory' in resource">
|
215 | 218 | <div class="resource-detail-item__label">{{ $t('label.memory') }}</div>
|
216 | 219 | <div class="resource-detail-item__details">
|
217 |
| - <bulb-outlined />{{ resource.memory + ' ' + $t('label.mb.memory') }} |
| 220 | + <font-awesome-icon |
| 221 | + :icon="['fa-solid', 'fa-memory']" |
| 222 | + class="anticon" |
| 223 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 224 | + {{ resource.memory + ' ' + $t('label.mb.memory') }} |
218 | 225 | </div>
|
219 | 226 | <div>
|
220 | 227 | <span v-if="resource.memorykbs && resource.memoryintfreekbs">
|
|
355 | 362 | v-for="(eth, index) in resource.nic"
|
356 | 363 | :key="eth.id"
|
357 | 364 | style="margin-left: -24px; margin-top: 5px;">
|
358 |
| - <api-outlined /> |
| 365 | + <font-awesome-icon |
| 366 | + :icon="['fa-solid', 'fa-ethernet']" |
| 367 | + class="anticon" |
| 368 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
359 | 369 | <strong>eth{{ index }}</strong>
|
360 | 370 | <copy-label :label="eth.ip6address ? eth.ipaddress + ', ' + eth.ip6address : eth.ipaddress" />
|
361 | 371 | <a-tag v-if="eth.isdefault">
|
|
380 | 390 | v-for="network in resource.networks"
|
381 | 391 | :key="network.id"
|
382 | 392 | style="margin-top: 5px;">
|
383 |
| - <api-outlined />{{ network.name }} |
| 393 | + <font-awesome-icon |
| 394 | + :icon="['fa-solid', 'fa-ethernet']" |
| 395 | + class="anticon" |
| 396 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 397 | + {{ network.name }} |
384 | 398 | <span v-if="resource.defaultnetworkid === network.id">
|
385 | 399 | ({{ $t('label.default') }})
|
386 | 400 | </span>
|
|
0 commit comments