|
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 {{ parseFloat(resource.cpuspeed / 1000.0).toFixed(2) }} Ghz</span> |
184 | 187 | <span v-else>{{ resource.cputotal }}</span> |
185 | 188 | </div> |
|
207 | 210 | <div class="resource-detail-item" v-if="'memory' in resource"> |
208 | 211 | <div class="resource-detail-item__label">{{ $t('label.memory') }}</div> |
209 | 212 | <div class="resource-detail-item__details"> |
210 | | - <bulb-outlined />{{ resource.memory + ' ' + $t('label.mb.memory') }} |
| 213 | + <font-awesome-icon |
| 214 | + :icon="['fa-solid', 'fa-memory']" |
| 215 | + class="anticon" |
| 216 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 217 | + {{ resource.memory + ' ' + $t('label.mb.memory') }} |
211 | 218 | </div> |
212 | 219 | <div> |
213 | 220 | <span v-if="resource.memorykbs && resource.memoryintfreekbs"> |
|
339 | 346 | v-for="(eth, index) in resource.nic" |
340 | 347 | :key="eth.id" |
341 | 348 | style="margin-left: -24px; margin-top: 5px;"> |
342 | | - <api-outlined /> |
| 349 | + <font-awesome-icon |
| 350 | + :icon="['fa-solid', 'fa-ethernet']" |
| 351 | + class="anticon" |
| 352 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
343 | 353 | <strong>eth{{ index }}</strong> |
344 | 354 | <copy-label :label="eth.ip6address ? eth.ipaddress + ', ' + eth.ip6address : eth.ipaddress" /> |
345 | 355 | <a-tag v-if="eth.isdefault"> |
|
364 | 374 | v-for="network in resource.networks" |
365 | 375 | :key="network.id" |
366 | 376 | style="margin-top: 5px;"> |
367 | | - <api-outlined />{{ network.name }} |
| 377 | + <font-awesome-icon |
| 378 | + :icon="['fa-solid', 'fa-ethernet']" |
| 379 | + class="anticon" |
| 380 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 381 | + {{ network.name }} |
368 | 382 | <span v-if="resource.defaultnetworkid === network.id"> |
369 | 383 | ({{ $t('label.default') }}) |
370 | 384 | </span> |
|
0 commit comments