Add about panel in settings dialog (#799)

* basic about page

* Remove frontend version from setting dialog header

* Style about page

* basic system stats

* Basic styling

* Reword

* Format memory amount
This commit is contained in:
Chenlei Hu
2024-09-12 17:31:19 +09:00
committed by GitHub
parent d2b3e325a4
commit 637f5b501e
8 changed files with 227 additions and 20 deletions

View File

@@ -3,16 +3,10 @@
<h2>
<i class="pi pi-cog"></i>
<span>{{ $t('settings') }}</span>
<Tag :value="frontendVersion" severity="secondary" class="version-tag" />
</h2>
</div>
</template>
<script setup lang="ts">
import Tag from 'primevue/tag'
const frontendVersion = 'v' + window['__COMFYUI_FRONTEND_VERSION__']
</script>
<style scoped>
.pi-cog {
font-size: 1.25rem;