From cb9c85706fd73f73d2aa1cee8ee184cb7cf95cd6 Mon Sep 17 00:00:00 2001 From: Florian Symanowski Date: Mon, 21 Oct 2019 18:46:23 +0200 Subject: [PATCH] compute: VM deployment wizard This adds a work in progress VM deployment wizard page. Signed-off-by: Rohit Yadav --- ui/src/components/view/InfoCard.vue | 24 +- ui/src/locales/en.json | 7 +- ui/src/utils/icons.js | 37 +++ ui/src/views/AutogenView.vue | 2 +- ui/src/views/compute/DeployVM.vue | 294 +++++++++++++++++- .../views/compute/wizard/ComputeSelection.vue | 110 +++++++ .../compute/wizard/TemplateSelection.vue | 86 +++++ 7 files changed, 543 insertions(+), 17 deletions(-) create mode 100644 ui/src/utils/icons.js create mode 100644 ui/src/views/compute/wizard/ComputeSelection.vue create mode 100644 ui/src/views/compute/wizard/TemplateSelection.vue diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index bc0f1c9d0ec..c5c83c15dfc 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -16,7 +16,7 @@ // under the License. - diff --git a/ui/src/views/compute/wizard/ComputeSelection.vue b/ui/src/views/compute/wizard/ComputeSelection.vue new file mode 100644 index 00000000000..255c1f26d49 --- /dev/null +++ b/ui/src/views/compute/wizard/ComputeSelection.vue @@ -0,0 +1,110 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + + + + diff --git a/ui/src/views/compute/wizard/TemplateSelection.vue b/ui/src/views/compute/wizard/TemplateSelection.vue new file mode 100644 index 00000000000..0d55afc6fb0 --- /dev/null +++ b/ui/src/views/compute/wizard/TemplateSelection.vue @@ -0,0 +1,86 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + +