diff --git a/src/components/MobileNavigation.vue b/src/components/MobileNavigation.vue
index 819f4ed9..ac6cde43 100644
--- a/src/components/MobileNavigation.vue
+++ b/src/components/MobileNavigation.vue
@@ -51,6 +51,11 @@ export default {
link: '/servers',
text: 'Servers'
},
+ {
+ _key: 'gpu',
+ link: '/gpus',
+ text: 'GPUs'
+ },
{
_key: 'dns',
link: '/domains',
diff --git a/src/components/SideNavigation.vue b/src/components/SideNavigation.vue
index 3777863f..c9112d74 100644
--- a/src/components/SideNavigation.vue
+++ b/src/components/SideNavigation.vue
@@ -34,6 +34,11 @@ export default {
link: '/servers',
text: 'Servers'
},
+ {
+ _key: 'gpu',
+ link: '/gpus',
+ text: 'GPUs'
+ },
{
_key: 'dns',
link: '/domains',
diff --git a/src/components/UserMenu.vue b/src/components/UserMenu.vue
index 957885b3..c76028cc 100644
--- a/src/components/UserMenu.vue
+++ b/src/components/UserMenu.vue
@@ -28,7 +28,7 @@
- Add an email address .
+ Add an email address .
Your email address is {{ accountEmail }} .
- You can change your email address if you need to.
+ You can change your email address if you need to.
diff --git a/src/components/billing/PaymentCards.vue b/src/components/billing/PaymentCards.vue
index 0363789d..dc55ef3b 100644
--- a/src/components/billing/PaymentCards.vue
+++ b/src/components/billing/PaymentCards.vue
@@ -101,7 +101,7 @@
View your wallet to start funding your account manually.
- Enable Crypto View to start funding your account manually.
+ Enable Crypto View to start funding your account manually.
diff --git a/src/components/billing/Wallet.vue b/src/components/billing/Wallet.vue
index 6a1ec4c6..fc43eb09 100644
--- a/src/components/billing/Wallet.vue
+++ b/src/components/billing/Wallet.vue
@@ -108,7 +108,7 @@ async function startPurchase() {
You're currently using the crypto view, which provides comprehensive visibility of your wallet and transactions on the XE blockchain.
This page enables you to manage your account balance directly using XE.
If you're new to cryptocurrency, you can learn more about XE on the Edge Wiki .
- Alternatively, if you prefer a more streamlined interface, you can disable the crypto view .
+ Alternatively, if you prefer a more streamlined interface, you can disable the crypto view .
diff --git a/src/components/icons/NvidiaIcon.vue b/src/components/icons/NvidiaIcon.vue
new file mode 100644
index 00000000..5df0cc30
--- /dev/null
+++ b/src/components/icons/NvidiaIcon.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/server/deploy/Password.vue b/src/components/server/deploy/Password.vue
index 1f276a17..68ff584e 100644
--- a/src/components/server/deploy/Password.vue
+++ b/src/components/server/deploy/Password.vue
@@ -55,7 +55,12 @@
+
+
+
+
+
+
+
+
diff --git a/src/layout/ErrorV2.vue b/src/layout/ErrorV2.vue
new file mode 100644
index 00000000..1bfebdcd
--- /dev/null
+++ b/src/layout/ErrorV2.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
diff --git a/src/layout/PowerToggle.vue b/src/layout/PowerToggle.vue
new file mode 100644
index 00000000..427d4cd4
--- /dev/null
+++ b/src/layout/PowerToggle.vue
@@ -0,0 +1,46 @@
+
+
+
+
+ Status
+
+
+
+
+
+ {{ onText || 'ON' }}
+
+
+
+
+
+ {{ offText || 'OFF' }}
+
+
+
+
+
+
diff --git a/src/layout/Slider.vue b/src/layout/Slider.vue
new file mode 100644
index 00000000..68871cb9
--- /dev/null
+++ b/src/layout/Slider.vue
@@ -0,0 +1,60 @@
+
+
+
+
+ {{ title }}
+ emit('change', val)"
+ />
+
+
+
+
diff --git a/src/modules/gpu/components/GPUDestroyPanel.vue b/src/modules/gpu/components/GPUDestroyPanel.vue
new file mode 100644
index 00000000..f7761e51
--- /dev/null
+++ b/src/modules/gpu/components/GPUDestroyPanel.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
Destroy GPU
+
This is irreversible. All data will be irretrievable.
+
Upon destruction, you will no longer be billed for this GPU.
+
+
+
+ Destroying
+
+
+ Destroy this GPU
+
+
+
+
+
+
+
+
+
+
+
+ Destroy {{ gpu.name }}
+
+
+ Warning: this cannot be undone.
+
+
All data will be lost and cannot be recovered
+ Server will be powered off immediately
+ IP Address will be unassigned
+
+
+
+
+ Cancel
+
+
+ Yes, Destroy GPU
+
+
+
+
+
diff --git a/src/modules/gpu/components/GPUOverviewPanel.vue b/src/modules/gpu/components/GPUOverviewPanel.vue
new file mode 100644
index 00000000..4e43421c
--- /dev/null
+++ b/src/modules/gpu/components/GPUOverviewPanel.vue
@@ -0,0 +1,180 @@
+
+
+
+
+
+
Server details
+
+
+
+
+ Name {{ gpu.name }}
+
+
+ Hostname {{ gpu.hostname }}
+
+
+
IP Address
+
+
{{ gpu.ipAddress }}
+
+
+
+
Copied!
+
+
+
+
+
+ Status
+
+
+
+
+
+ Created
+ {{ formatTimestamp(gpu.created) }}
+
+
+
+
+
+
+
GPU specs
+
+ GPU Model
+ {{ gpu.gpuModel }}
+
+
+
+
+ GPU
+ {{ gpu.gpuCount }}
+
+
+ vCPUs
+ {{ gpu.cpuCount }}
+
+
+ RAM
+ {{ gpu.memoryGiB }} GiB
+
+
+ Disk
+ {{ gpu.diskGiB }} GiB
+
+
+
+
+
+
+
diff --git a/src/modules/gpu/components/GPUSelect.vue b/src/modules/gpu/components/GPUSelect.vue
new file mode 100644
index 00000000..625cca27
--- /dev/null
+++ b/src/modules/gpu/components/GPUSelect.vue
@@ -0,0 +1,167 @@
+
+
+
+
+ GPU Model
+
+
+
+
+
+
+
+
+
+
+ {{ gpu.modelName }}
+
+
+
+ NVIDIA
+
+ {{ gpu.memoryGib }} GB
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/gpu/views/GPUDeploy.vue b/src/modules/gpu/views/GPUDeploy.vue
new file mode 100644
index 00000000..1049d629
--- /dev/null
+++ b/src/modules/gpu/views/GPUDeploy.vue
@@ -0,0 +1,233 @@
+
+
+
+
+
Deploy a new Edge GPU
+
+
+
+
diff --git a/src/modules/gpu/views/GPUDetail.vue b/src/modules/gpu/views/GPUDetail.vue
new file mode 100644
index 00000000..328c6506
--- /dev/null
+++ b/src/modules/gpu/views/GPUDetail.vue
@@ -0,0 +1,455 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ gpu.gpuModel }}
+
+
+
+ {{ gpu.gpuCount }} GPU
+
+ {{ gpu.cpuCount }} vCPU
+
+ {{ gpu.diskGiB }} GiB Disk
+
+ {{ gpu.memoryGiB }} GiB RAM
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
GPU Destroyed
+
This GPU has been successfully destroyed.
+
+ Return to GPUs
+
+
+
+
+
+
+
+
+
+
Error
+
+
{{ error.message }}
+
+ Return to Edge GPUs
+
+
+
+
+
+
+
+
+
{{ deploymentMessage }}
+
This may take a few minutes. Feel free to close this page.
+
+
+
+
+
+
+
+
+
+
+ Overview
+
+
+ Destroy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
GPU not found
+
+
This GPU does not exist or has been destroyed.
+
+ Return to Edge GPUs
+
+
+
+
+
+
+
diff --git a/src/modules/gpu/views/GPUList.vue b/src/modules/gpu/views/GPUList.vue
new file mode 100644
index 00000000..b35da546
--- /dev/null
+++ b/src/modules/gpu/views/GPUList.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
Edge GPUs
+
+ Deploy GPU
+
+
+
+
+
+
+
+
+
+
You haven't deployed any GPUs yet. Once you deploy your first GPU it will be available here.
+
+ Deploy GPU
+
+
+
+
+
diff --git a/src/modules/settings/components/APIKeysPanel.vue b/src/modules/settings/components/APIKeysPanel.vue
new file mode 100644
index 00000000..660fedee
--- /dev/null
+++ b/src/modules/settings/components/APIKeysPanel.vue
@@ -0,0 +1,175 @@
+
+
+
+
+
+
+
+ Loading
+
+
+
+
+
+
+
+
Your new API key
+
+ {{ generatedKey.secret }}
+
+
+
+
+
+ Copy this API key to a safe place.
+ This key's ID is {{ generatedKey.id }}.
+
+
+ I confirm have stored my API key in a safe place
+
+
+
+
+
+ Generate API Key
+
+
+
+
+
+
+
+
You haven't created any API keys yet.
+
+ Generate API Key
+
+
+
+
+
+
+
+
diff --git a/src/modules/settings/components/AccountPanel.vue b/src/modules/settings/components/AccountPanel.vue
new file mode 100644
index 00000000..3008d894
--- /dev/null
+++ b/src/modules/settings/components/AccountPanel.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
Account Number
+
Write down your account number and keep it secret. You can use your account number to sign into the account.
+
+
+
+ {{ accountNumber }}
+
+
+
+
+
+
+
+
+
+
+
+
Two-factor Authentication (2FA)
+
+
+
+
+ {{ showAddTwoFactor ? 'Return to remove existing 2FA code' : 'Add extra 2FA code' }}
+
+
+
+
+
diff --git a/src/modules/settings/components/CryptoPaymentsPanel.vue b/src/modules/settings/components/CryptoPaymentsPanel.vue
new file mode 100644
index 00000000..f3e9eed5
--- /dev/null
+++ b/src/modules/settings/components/CryptoPaymentsPanel.vue
@@ -0,0 +1,32 @@
+
+
+
+
+
Crypto Payments
+
+ Edge runs on its own layer 0 blockchain, and payments are settled in its own coin, called XE, in the background.
+ By default payment information in the account interface is presented in fiat.
+ If you would prefer to see payment information in crypto, you can enable it here.
+
+
Disable Crypto Payments
+
Enable Crypto Payments
+
+
diff --git a/src/modules/settings/views/SettingsView.vue b/src/modules/settings/views/SettingsView.vue
new file mode 100644
index 00000000..6a518f6a
--- /dev/null
+++ b/src/modules/settings/views/SettingsView.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
Settings
+
+
+
+
+
+
+
+ Account
+
+
+ API Keys
+
+
+ Crypto Payments
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index bc93f410..b5cda9be 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -5,7 +5,6 @@
/* global process */
import * as utils from '@edge/account-utils'
-import Account from '@/views/dashboard/Account'
import BareMetal from '../modules/bareMetals/views/BareMetal.vue'
import BareMetals from '../modules/bareMetals/views/BareMetals.vue'
import Billing from '@/views/dashboard/Billing'
@@ -56,11 +55,6 @@ const routes = [
name: 'Index',
component: Index
},
- {
- path: 'account',
- name: 'Account',
- component: Account
- },
{
path: 'bare-metals',
name: 'Bare Metals',
@@ -138,6 +132,21 @@ const routes = [
name: 'Getting Started',
component: GettingStarted
},
+ {
+ path: 'gpus',
+ name: 'GPUs',
+ component: () => import('../modules/gpu/views/GPUList.vue')
+ },
+ {
+ path: 'gpus/deploy',
+ name: 'Deploy GPU',
+ component: () => import('../modules/gpu/views/GPUDeploy.vue')
+ },
+ {
+ path: 'gpu/:id',
+ name: 'GPU',
+ component: () => import('../modules/gpu/views/GPUDetail.vue')
+ },
{
path: 'notifications',
name: 'Notifications',
@@ -178,6 +187,11 @@ const routes = [
name: 'Server',
component: Server
},
+ {
+ path: 'settings',
+ name: 'Settings',
+ component: () => import('../modules/settings/views/SettingsView.vue')
+ },
{
path: 'shield',
name: 'Shield',
diff --git a/src/views/dashboard/Account.vue b/src/views/dashboard/Account.vue
deleted file mode 100644
index 33542910..00000000
--- a/src/views/dashboard/Account.vue
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
Account
-
-
-
Account Number
-
Write down your account number and keep it secret. You can use your account number to sign into the account.
-
-
-
- {{ formattedAccountNumber }}
- {{ formattedAccountNumberMasked }}
-
-
-
-
-
-
-
-
-
-
Two-factor Authentication (2FA)
-
-
-
-
- {{ showAddExtra2FA ? 'Return to remove existing 2FA code' : 'Add extra 2FA code' }}
-
-
-
-
-
-
Crypto Payments
-
- Edge runs on its own layer 0 blockchain, and payments are settled in its own coin, called XE, in the background.
- By default payment information in the account interface is presented in fiat.
- If you would prefer to see payment information in crypto, you can enable it here.
-
-
Disable Crypto Payments
-
Enable Crypto Payments
-
-
-
-
-
-