- s.id === item.id)!)">
+ s.id === item.id)!)"
+ >
-
|
-
-
-
-
-
- Add storage
-
+ Add storage
|
-
- |
- Total
+ |
+ |
+ Total storage
|
|
+
+
+ {{ storageType }}
+
+ |
+
+ {{ item.size.toFixed(2) }} TB
+ |
+
+ {{ item.monthlyCostTotal.toFixed(2) }} kr
+ |
+
+ {{ item.yearlyCostTotal.toFixed(2) }} kr
+ |
+
+
+ |
+ Total lab resources
+ |
+ |
+ |
+ |
|
- {{ (storageLabSum?.size || 0) + " TB" }}
+ {{ LabSum.toFixed(2) }} kr
|
+ |
@@ -511,20 +290,25 @@ export default {
-
-
+
- {{ snackbar.message }}
+ {{ snackbar.message }}
@@ -532,4 +316,14 @@ export default {
.lab-card {
padding: 3px;
}
+
+.lab-title-input {
+ min-width: 200px;
+}
+
+.lab-title-input :deep(.v-field__input) {
+ font-size: 1.5rem;
+ font-weight: bold;
+ text-align: center;
+}
diff --git a/docs/.vitepress/theme/components/price-estimator/LabModal.vue b/docs/.vitepress/theme/components/price-estimator/LabModal.vue
new file mode 100644
index 00000000000..e4d7bcada2c
--- /dev/null
+++ b/docs/.vitepress/theme/components/price-estimator/LabModal.vue
@@ -0,0 +1,129 @@
+
+
+
+
+ Add New Lab
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Cancel
+ Add Lab
+
+
+
diff --git a/docs/.vitepress/theme/components/price-estimator/Machine.vue b/docs/.vitepress/theme/components/price-estimator/Machine.vue
deleted file mode 100644
index 48077aaf071..00000000000
--- a/docs/.vitepress/theme/components/price-estimator/Machine.vue
+++ /dev/null
@@ -1,263 +0,0 @@
-
-
-
-
-
- Add Compute
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Close
- Save
-
-
-
diff --git a/docs/.vitepress/theme/components/price-estimator/MachineModal.vue b/docs/.vitepress/theme/components/price-estimator/MachineModal.vue
new file mode 100644
index 00000000000..e34d8aca07d
--- /dev/null
+++ b/docs/.vitepress/theme/components/price-estimator/MachineModal.vue
@@ -0,0 +1,263 @@
+
+
+
+
+
+ Add Compute
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Close
+ Save
+
+
+
diff --git a/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue b/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue
index 3f4a7da4f14..ee4685426d0 100644
--- a/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue
+++ b/docs/.vitepress/theme/components/price-estimator/PriceEstimator.vue
@@ -1,369 +1,64 @@
-
-
+
Price estimator for HUNT Cloud
- This calculator gives a rough estimate of how much our services cost
+ This calculator gives a rough estimate of how much our services cost
+
-
+
- Add lab
+ Add lab
+
-
- Remove all
+
+
+ Remove all
+
+
+
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
-
-
diff --git a/docs/.vitepress/theme/components/price-estimator/Storage.vue b/docs/.vitepress/theme/components/price-estimator/StorageModal.vue
similarity index 57%
rename from docs/.vitepress/theme/components/price-estimator/Storage.vue
rename to docs/.vitepress/theme/components/price-estimator/StorageModal.vue
index 7b38d16e27e..d4953051867 100644
--- a/docs/.vitepress/theme/components/price-estimator/Storage.vue
+++ b/docs/.vitepress/theme/components/price-estimator/StorageModal.vue
@@ -1,50 +1,64 @@
-
diff --git a/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue b/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue
index e2791f4e68b..be336841c06 100644
--- a/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue
+++ b/docs/.vitepress/theme/components/price-estimator/TotalBlock.vue
@@ -1,141 +1,175 @@
-
-
-
- Total
-
-
-
-
-
- mdi-export
- Export
-
-
-
-
-
- Estimated total price:
-
- {{ Number(this.sumInTotal).toFixed(2) }} NOK ex. VAT / Year
-
-
-
-
-
-
-
+
+
+
+ Total Summary
+
+
+
+
+
+ mdi-export
+ Save config
+
+
+
+
+
+
+
+
+ {{ item.name }}
+ {{ item.name }}
+
+
+
+
+ - {{ currencyFormatter.format(Math.abs(item.cost)) }}
+
+
+
+ {{ currencyFormatter.format(item.cost) }}
+
+
+
+ {{ currencyFormatter.format(item.cost) }}
+
+
+
+
+ {{ item.units }}
+ {{ item.units }}
+
+
+
+ No summary data available
+
+
+