|
259 | 259 | </span> |
260 | 260 | </div> |
261 | 261 | </div> |
262 | | - <div class="resource-detail-item" v-if="'gpucardname' in resource && resource.gpucardname !== ''"> |
263 | | - <div class="resource-detail-item__label">{{ $t('label.gpu') }}</div> |
264 | | - <div class="resource-detail-item__details"> |
265 | | - <font-awesome-icon |
266 | | - :icon="['fa-solid', 'fa-microchip']" |
267 | | - class="anticon" |
268 | | - :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
269 | | - <span> |
270 | | - {{ resource.gpucount ? resource.gpucount + ' x ' : '' }} |
271 | | - <router-link v-if="resource.gpucardid" :to="{ path: '/gpucard/' + resource.gpucardid }">{{ resource.gpucardname}} </router-link> |
272 | | - <span v-else>{{ resource.gpucardname }}</span> |
273 | | - <router-link v-if="resource.vgpuprofilename !== 'passthrough' && resource.vgpuprofileid" :to="{ path: '/vgpuprofile/' + resource.vgpuprofileid }">{{ ' (' + resource.vgpuprofilename + ')' }}</router-link> |
274 | | - <span v-else-if="resource.vgpuprofilename !== 'passthrough' &&resource.vgpuprofilename">{{ ' (' + resource.vgpuprofilename + ')' }}</span> |
275 | | - <span v-if="resource.videoram || (resource.maxresolutionx || resource.maxresolutiony)"> |
276 | | - <br/>{{ ' [' + (resource.videoram ? (resource.videoram + 'MB') : '') + ((resource.videoram && resource.maxresolutionx && resource.maxresolutiony) ? ', ' : '') + |
277 | | - (resource.maxresolutionx && resource.maxresolutiony ? resource.maxresolutionx + 'x' + resource.maxresolutiony : '') + ']' }} |
278 | | - </span> |
279 | | - </span> |
280 | | - </div> |
281 | | - </div> |
282 | 262 | <div class="resource-detail-item" v-else-if="resource.memorytotalgb"> |
283 | 263 | <div class="resource-detail-item__label">{{ $t('label.memory') }}</div> |
284 | 264 | <div class="resource-detail-item__details"> |
|
344 | 324 |
|
345 | 325 | </div> |
346 | 326 | </div> |
| 327 | + <div class="resource-detail-item" v-if="'gpucardname' in resource && resource.gpucardname !== ''"> |
| 328 | + <div class="resource-detail-item__label">{{ $t('label.gpu') }}</div> |
| 329 | + <div class="resource-detail-item__details"> |
| 330 | + <font-awesome-icon |
| 331 | + :icon="['fa-solid', 'fa-microchip']" |
| 332 | + class="anticon" |
| 333 | + :style="[$store.getters.darkMode ? { color: 'rgba(255, 255, 255, 0.65)' } : { color: '#888' }]" /> |
| 334 | + <span> |
| 335 | + {{ resource.gpucount ? resource.gpucount + ' x ' : '' }} |
| 336 | + <router-link v-if="resource.gpucardid" :to="{ path: '/gpucard/' + resource.gpucardid }">{{ resource.gpucardname}} </router-link> |
| 337 | + <span v-else>{{ resource.gpucardname }}</span> |
| 338 | + <router-link v-if="resource.vgpuprofilename !== 'passthrough' && resource.vgpuprofileid" :to="{ path: '/vgpuprofile/' + resource.vgpuprofileid }">{{ ' (' + resource.vgpuprofilename + ')' }}</router-link> |
| 339 | + <span v-else-if="resource.vgpuprofilename !== 'passthrough' &&resource.vgpuprofilename">{{ ' (' + resource.vgpuprofilename + ')' }}</span> |
| 340 | + <span v-if="resource.videoram || (resource.maxresolutionx || resource.maxresolutiony)"> |
| 341 | + <br/>{{ ' [' + (resource.videoram ? (resource.videoram + 'MB') : '') + ((resource.videoram && resource.maxresolutionx && resource.maxresolutiony) ? ', ' : '') + |
| 342 | + (resource.maxresolutionx && resource.maxresolutiony ? resource.maxresolutionx + 'x' + resource.maxresolutiony : '') + ']' }} |
| 343 | + </span> |
| 344 | + </span> |
| 345 | + </div> |
| 346 | + </div> |
347 | 347 | <div class="resource-detail-item" v-if="resource.gputotal"> |
348 | 348 | <div class="resource-detail-item__label">{{ $t('label.gpu') }}</div> |
349 | 349 | <div class="resource-detail-item__details"> |
|
0 commit comments