From 4eec19cd451bddfff25ede2ac448423e4976dce8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 27 Dec 2018 09:27:03 +0000 Subject: [PATCH] Add information panel --- src/data.json | 2 ++ src/views/Environment.vue | 55 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/src/data.json b/src/data.json index 41305ec..35e9cc3 100644 --- a/src/data.json +++ b/src/data.json @@ -3,6 +3,7 @@ "1": { "id": 1, "name": "Rebuilding Acquia", + "machineName": "rebuildingacquia", "type": "Drupal", "level": "Enterprise", "environments": { @@ -129,6 +130,7 @@ "2": { "id": 2, "name": "Oliver Davies", + "machineName": "opdaviestest", "type": "Drupal", "level": "Professional", "environments": { diff --git a/src/views/Environment.vue b/src/views/Environment.vue index 8cace1b..b3991b4 100644 --- a/src/views/Environment.vue +++ b/src/views/Environment.vue @@ -194,6 +194,55 @@ + +
+

Information

+
+
+
Git URL
+
{{ gitUrl }}
+
+ +
+
+ +
+
SSH URL
+
{{ sshUrl }}
+
+ +
+
+ +
+
+
IP Address
+
111.222.333.444
+
+ +
+
Region
+
eu-west-1
+
+ +
+
PHP version
+
7.1
+
+ +
+
Live development mode
+
Off
+
+
+
+
@@ -234,6 +283,12 @@ export default { }, environment: function () { return this.application['environments'][this.environmentName] + }, + gitUrl: function () { + return this.application.machineName + '@svn-1234.prod.hosting.acquia.com:' + this.application.machineName + '.git' + }, + sshUrl: function () { + return this.application.machineName + '.' + this.environmentName + '@staging-1234.prod.hosting.acquia.com' } }, }