From b2d2bc78eeb5fd0360738f18d568e3a8f49034dc Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 28 May 2024 12:00:10 +0300 Subject: [PATCH 1/5] Apply vuetify default conf for buttons --- packages/playground/src/App.vue | 4 ++- .../playground/src/components/TfSwapPrice.vue | 2 +- .../playground/src/components/app_info.vue | 4 +-- .../playground/src/components/app_theme.vue | 7 +++- .../src/components/connect_wallet_landing.vue | 6 ++-- .../contracts_list/contracts_table.vue | 15 +++----- .../src/components/deployment_data_dialog.vue | 8 ++--- .../src/components/deposit_dialog.vue | 4 +-- .../src/components/expandable_layout.vue | 9 +---- packages/playground/src/components/filter.vue | 1 - .../playground/src/components/funds_card.vue | 6 ++-- .../src/components/k8s_deployment_table.vue | 2 +- .../src/components/logged_in_landing.vue | 4 +-- packages/playground/src/components/logger.vue | 4 +-- .../playground/src/components/main_footer.vue | 4 +-- .../manage_caprover_worker_dialog.vue | 2 +- .../src/components/manage_gateway_dialog.vue | 6 ++-- .../src/components/manage_worker_dialog.vue | 25 ++++++------- .../src/components/node_details.vue | 6 ++-- .../node_details_cards/gpu_details_card.vue | 2 +- .../src/components/node_resources_charts.vue | 4 +-- .../ssh_keys/ManageSshDeployemnt.vue | 9 +---- .../src/components/ssh_keys/SshDataDialog.vue | 4 +-- .../src/components/ssh_keys/SshFormDialog.vue | 3 +- .../src/components/ssh_keys/SshTable.vue | 2 -- .../src/components/vm_deployment_table.vue | 2 +- .../src/components/weblet_layout.vue | 14 ++++---- .../src/components/withdraw_dialog.vue | 3 +- .../playground/src/dashboard/bridge_view.vue | 6 ++-- .../components/NodeMintingDetails.vue | 4 +-- .../src/dashboard/components/add_ip.vue | 9 ++--- .../src/dashboard/components/create_farm.vue | 18 ++++------ .../dashboard/components/public_config.vue | 6 +--- .../dashboard/components/public_ips_table.vue | 4 +-- .../components/reserve_action_btn.vue | 4 +-- .../dashboard/components/set_extra_fee.vue | 3 +- .../src/dashboard/components/user_farms.vue | 11 ++---- .../playground/src/dashboard/dao_view.vue | 17 +++------ .../src/dashboard/transfer_view.vue | 35 +++++++++++-------- .../playground/src/dashboard/twin_view.vue | 21 +++++------ packages/playground/src/plugins/vuetify.ts | 8 +++++ packages/playground/src/views/farms.vue | 4 +-- .../playground/src/views/page_not_found.vue | 4 +-- packages/playground/src/views/sshkey_view.vue | 3 -- packages/playground/src/weblets/freeflow.vue | 2 +- packages/playground/src/weblets/full_vm.vue | 2 +- packages/playground/src/weblets/micro_vm.vue | 2 +- .../src/weblets/profile_manager.vue | 2 -- .../playground/src/weblets/tf_algorand.vue | 2 +- .../playground/src/weblets/tf_caprover.vue | 2 +- .../playground/src/weblets/tf_casperlabs.vue | 2 +- .../src/weblets/tf_contracts_list.vue | 12 +++---- .../src/weblets/tf_deployment_list.vue | 7 ++-- .../playground/src/weblets/tf_discourse.vue | 9 +++-- .../playground/src/weblets/tf_funkwhale.vue | 2 +- .../playground/src/weblets/tf_kubernetes.vue | 2 +- .../playground/src/weblets/tf_mattermost.vue | 9 +++-- .../playground/src/weblets/tf_nextcloud.vue | 2 +- .../playground/src/weblets/tf_node_pilot.vue | 2 +- .../playground/src/weblets/tf_owncloud.vue | 2 +- .../playground/src/weblets/tf_peertube.vue | 2 +- .../playground/src/weblets/tf_presearch.vue | 2 +- .../src/weblets/tf_staticwebsite.vue | 2 +- .../playground/src/weblets/tf_subsquid.vue | 6 ++-- packages/playground/src/weblets/tf_taiga.vue | 9 +++-- packages/playground/src/weblets/tf_umbrel.vue | 2 +- .../playground/src/weblets/tf_wordpress.vue | 2 +- 67 files changed, 179 insertions(+), 226 deletions(-) diff --git a/packages/playground/src/App.vue b/packages/playground/src/App.vue index 955db1b6fa..a7202dd780 100644 --- a/packages/playground/src/App.vue +++ b/packages/playground/src/App.vue @@ -128,7 +128,9 @@ - {{ network }}net + + {{ network }}net + diff --git a/packages/playground/src/components/TfSwapPrice.vue b/packages/playground/src/components/TfSwapPrice.vue index eb2123d152..491b88581d 100644 --- a/packages/playground/src/components/TfSwapPrice.vue +++ b/packages/playground/src/components/TfSwapPrice.vue @@ -9,7 +9,7 @@ class="mx-1 order-1" @click="priceTask.error ? priceTask.run() : toggleSwap()" :loading="priceTask.loading" - :color="priceTask.error ? 'error' : undefined" + :color="priceTask.error ? 'error' : 'anchor'" v-bind="props" /> diff --git a/packages/playground/src/components/app_info.vue b/packages/playground/src/components/app_info.vue index 1167d9e57f..7563fa2799 100644 --- a/packages/playground/src/components/app_info.vue +++ b/packages/playground/src/components/app_info.vue @@ -1,7 +1,7 @@ diff --git a/packages/playground/src/weblets/tf_kubernetes.vue b/packages/playground/src/weblets/tf_kubernetes.vue index fe899ccfcc..7b338d5ed1 100644 --- a/packages/playground/src/weblets/tf_kubernetes.vue +++ b/packages/playground/src/weblets/tf_kubernetes.vue @@ -76,7 +76,7 @@ diff --git a/packages/playground/src/weblets/tf_mattermost.vue b/packages/playground/src/weblets/tf_mattermost.vue index 024eb7af5d..0a8a805d7d 100644 --- a/packages/playground/src/weblets/tf_mattermost.vue +++ b/packages/playground/src/weblets/tf_mattermost.vue @@ -74,7 +74,7 @@ @@ -250,6 +250,11 @@ import rootFs from "../utils/root_fs"; export default { name: "TfMattermost", - components: { SmtpServer, SelectSolutionFlavor, Networks, ManageSshDeployemnt }, + components: { + SmtpServer, + SelectSolutionFlavor, + Networks, + ManageSshDeployemnt, + }, }; diff --git a/packages/playground/src/weblets/tf_nextcloud.vue b/packages/playground/src/weblets/tf_nextcloud.vue index 6c711a035f..13fdd48939 100644 --- a/packages/playground/src/weblets/tf_nextcloud.vue +++ b/packages/playground/src/weblets/tf_nextcloud.vue @@ -64,7 +64,7 @@ diff --git a/packages/playground/src/weblets/tf_node_pilot.vue b/packages/playground/src/weblets/tf_node_pilot.vue index cd344575cc..427c1a8dbe 100644 --- a/packages/playground/src/weblets/tf_node_pilot.vue +++ b/packages/playground/src/weblets/tf_node_pilot.vue @@ -61,7 +61,7 @@ diff --git a/packages/playground/src/weblets/tf_owncloud.vue b/packages/playground/src/weblets/tf_owncloud.vue index e7e22c2440..664094bbda 100644 --- a/packages/playground/src/weblets/tf_owncloud.vue +++ b/packages/playground/src/weblets/tf_owncloud.vue @@ -114,7 +114,7 @@ diff --git a/packages/playground/src/weblets/tf_peertube.vue b/packages/playground/src/weblets/tf_peertube.vue index ca75c06f3d..a9dbe8bb0b 100644 --- a/packages/playground/src/weblets/tf_peertube.vue +++ b/packages/playground/src/weblets/tf_peertube.vue @@ -91,7 +91,7 @@ diff --git a/packages/playground/src/weblets/tf_presearch.vue b/packages/playground/src/weblets/tf_presearch.vue index 0bcd78da2f..7127a05817 100644 --- a/packages/playground/src/weblets/tf_presearch.vue +++ b/packages/playground/src/weblets/tf_presearch.vue @@ -99,7 +99,7 @@ diff --git a/packages/playground/src/weblets/tf_staticwebsite.vue b/packages/playground/src/weblets/tf_staticwebsite.vue index 4e123ab7d2..b662ce2c82 100644 --- a/packages/playground/src/weblets/tf_staticwebsite.vue +++ b/packages/playground/src/weblets/tf_staticwebsite.vue @@ -93,7 +93,7 @@ diff --git a/packages/playground/src/weblets/tf_subsquid.vue b/packages/playground/src/weblets/tf_subsquid.vue index 6a12be674b..79e6d2a708 100644 --- a/packages/playground/src/weblets/tf_subsquid.vue +++ b/packages/playground/src/weblets/tf_subsquid.vue @@ -34,7 +34,9 @@ :value="endpoint" :rules="[ validators.required('Endpoint is required.'), - validators.isURL('Please provide a valid endpoint.', { protocols: ['wss'] }), + validators.isURL('Please provide a valid endpoint.', { + protocols: ['wss'], + }), ]" #="{ props }" > @@ -77,7 +79,7 @@ diff --git a/packages/playground/src/weblets/tf_taiga.vue b/packages/playground/src/weblets/tf_taiga.vue index 254fcea4e7..e85d812a75 100644 --- a/packages/playground/src/weblets/tf_taiga.vue +++ b/packages/playground/src/weblets/tf_taiga.vue @@ -125,7 +125,7 @@ @@ -306,6 +306,11 @@ import rootFs from "../utils/root_fs"; export default { name: "TfTaiga", - components: { SmtpServer, SelectSolutionFlavor, Networks, ManageSshDeployemnt }, + components: { + SmtpServer, + SelectSolutionFlavor, + Networks, + ManageSshDeployemnt, + }, }; diff --git a/packages/playground/src/weblets/tf_umbrel.vue b/packages/playground/src/weblets/tf_umbrel.vue index af73144676..4c7ea189af 100644 --- a/packages/playground/src/weblets/tf_umbrel.vue +++ b/packages/playground/src/weblets/tf_umbrel.vue @@ -111,7 +111,7 @@ diff --git a/packages/playground/src/weblets/tf_wordpress.vue b/packages/playground/src/weblets/tf_wordpress.vue index e4f7ce353c..c0742e8ce7 100644 --- a/packages/playground/src/weblets/tf_wordpress.vue +++ b/packages/playground/src/weblets/tf_wordpress.vue @@ -118,7 +118,7 @@ From ae08ecb0d7efb8501122ee15b9bb728b585d07d2 Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 28 May 2024 15:50:12 +0300 Subject: [PATCH 2/5] Apply vuetify default conf for chips --- .../src/components/contracts_list/contracts_table.vue | 8 ++++---- .../playground/src/components/k8s_deployment_table.vue | 4 +--- .../src/components/manage_gateway_dialog.vue | 5 ++--- .../playground/src/components/manage_worker_dialog.vue | 2 +- packages/playground/src/components/networks.vue | 10 +++++----- .../src/components/ssh_keys/SshDataDialog.vue | 6 +++--- .../playground/src/components/ssh_keys/SshTable.vue | 2 +- .../playground/src/components/vm_deployment_table.vue | 4 +--- .../src/dashboard/components/NodeMintingDetails.vue | 2 +- .../src/dashboard/components/public_ips_table.vue | 2 +- packages/playground/src/plugins/vuetify.ts | 6 ++++++ packages/playground/src/views/orchestrators_view.vue | 4 +--- packages/playground/src/views/solutions_view.vue | 9 +-------- packages/playground/src/views/vms_view.vue | 4 +--- packages/playground/src/weblets/tf_deployment_list.vue | 2 +- 15 files changed, 30 insertions(+), 40 deletions(-) diff --git a/packages/playground/src/components/contracts_list/contracts_table.vue b/packages/playground/src/components/contracts_list/contracts_table.vue index 1f129df50b..92cba8e377 100644 --- a/packages/playground/src/components/contracts_list/contracts_table.vue +++ b/packages/playground/src/components/contracts_list/contracts_table.vue @@ -203,7 +203,7 @@ Deleting contracts may take a while to complete. - + {{ c.contract_id }} @@ -236,11 +236,11 @@
You need to fund your account with - {{ Math.ceil(selectedLockedAmount - freeBalance) }} TFTs to resume - your contracts + {{ Math.ceil(selectedLockedAmount - freeBalance) }} TFTs + to resume your contracts
- + {{ c.contract_id }} diff --git a/packages/playground/src/components/k8s_deployment_table.vue b/packages/playground/src/components/k8s_deployment_table.vue index e376042e7a..d56b0089a8 100644 --- a/packages/playground/src/components/k8s_deployment_table.vue +++ b/packages/playground/src/components/k8s_deployment_table.vue @@ -120,9 +120,7 @@ diff --git a/packages/playground/src/components/ssh_keys/SshTable.vue b/packages/playground/src/components/ssh_keys/SshTable.vue index e845292300..007f91262d 100644 --- a/packages/playground/src/components/ssh_keys/SshTable.vue +++ b/packages/playground/src/components/ssh_keys/SshTable.vue @@ -26,7 +26,7 @@