diff --git a/src/components/DaemonConfig/DaemonConfigDetailsModal.vue b/src/components/DaemonConfig/DaemonConfigDetailsModal.vue index 4fc80044..fc9f82ce 100644 --- a/src/components/DaemonConfig/DaemonConfigDetailsModal.vue +++ b/src/components/DaemonConfig/DaemonConfigDetailsModal.vue @@ -20,9 +20,15 @@
{{ t('app_api', 'Docker network') }}: {{ daemon.deploy_config.net }}
{{ t('app_api', 'Nextcloud URL') }}: {{ daemon.deploy_config.nextcloud_url }}
-- {{ t('app_api', 'HaProxy password') }}: - {{ daemon.deploy_config?.haproxy_password }} +
+
+
{{ t('app_api', 'GPUs support') }}: {{ daemon.deploy_config.computeDevice && daemon.deploy_config?.computeDevice?.id !== 'cpu' || false }}
@@ -60,6 +66,7 @@ import { showSuccess, showError } from '@nextcloud/dialogs'
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js'
+import NcPasswordField from '@nextcloud/vue/dist/Components/NcPasswordField.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import Connection from 'vue-material-design-icons/Connection.vue'
@@ -71,6 +78,7 @@ export default {
NcButton,
NcNoteCard,
NcLoadingIcon,
+ NcPasswordField,
Connection,
},
props: {
@@ -130,4 +138,14 @@ export default {
justify-content: space-between;
margin: 20px 0;
}
+
+.external-label {
+ display: flex;
+ align-items: center;
+ width: 100%;
+
+ label {
+ margin-right: 5px;
+ }
+}
diff --git a/src/components/DaemonConfig/ManageDaemonConfigModal.vue b/src/components/DaemonConfig/ManageDaemonConfigModal.vue
index d080ee10..825d9004 100644
--- a/src/components/DaemonConfig/ManageDaemonConfigModal.vue
+++ b/src/components/DaemonConfig/ManageDaemonConfigModal.vue
@@ -109,13 +109,14 @@
class="external-label"
:aria-label="t('app_api', 'HaProxy password')">
-