From edbe3568a052da8afd24b6877c4c6fdcc7627ba3 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Mon, 24 Jul 2017 04:13:56 +0000 Subject: Yardstick GUI & GUI deployment JIRA: YARDSTICK-758 As E release plan, we have the need of yardstick GUI. This patch is GUI front end code and deployment. The backend code is yardstick API. Change-Id: Ib15f78bcc50168c7828beff97256e9939c6da809 Signed-off-by: chenjiankun --- gui/app/views/modal/chooseContainer.html | 15 ++ gui/app/views/modal/deleteConfirm.html | 19 ++ gui/app/views/modal/environmentDialog.html | 330 +++++++++++++++++++++++++++++ gui/app/views/modal/projectCreate.html | 21 ++ gui/app/views/modal/suiteName.html | 18 ++ gui/app/views/modal/taskCreate.html | 134 ++++++++++++ 6 files changed, 537 insertions(+) create mode 100644 gui/app/views/modal/chooseContainer.html create mode 100644 gui/app/views/modal/deleteConfirm.html create mode 100644 gui/app/views/modal/environmentDialog.html create mode 100644 gui/app/views/modal/projectCreate.html create mode 100644 gui/app/views/modal/suiteName.html create mode 100644 gui/app/views/modal/taskCreate.html (limited to 'gui/app/views/modal') diff --git a/gui/app/views/modal/chooseContainer.html b/gui/app/views/modal/chooseContainer.html new file mode 100644 index 000000000..4b857b22f --- /dev/null +++ b/gui/app/views/modal/chooseContainer.html @@ -0,0 +1,15 @@ +

Choose Containers

+
+ + + + \ No newline at end of file diff --git a/gui/app/views/modal/deleteConfirm.html b/gui/app/views/modal/deleteConfirm.html new file mode 100644 index 000000000..1659b884b --- /dev/null +++ b/gui/app/views/modal/deleteConfirm.html @@ -0,0 +1,19 @@ +
Confirm delete {{deleteName}} ?
+ +
+ + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/gui/app/views/modal/environmentDialog.html b/gui/app/views/modal/environmentDialog.html new file mode 100644 index 000000000..a5b88d240 --- /dev/null +++ b/gui/app/views/modal/environmentDialog.html @@ -0,0 +1,330 @@ + + +
+
+

Environment Name

+ + +
+ +
+
+ + +
+
+

{{name}} -- Openrc + + +

+ +
+ + +
+ +
+
+
+ +

+ You have already set up the openrc parameters +

+
+
+ + {{key}} : + {{value}} + +
+ +
+
+ +
+ +
+
+ + + + +
+ + + +
+ + + +
+
+ + + +
+ +
+
+
+ + + + +
+
+
+ + + +
+ + +
+ +
+
+
+ +

{{name}} -- Image + + + + +

+ + +
+ + + + + + + + + +
+

Current Images

+ +
+ + + + + + + + + + + + + + + + + + +
namesizestatustime
{{image.name}}{{image.size/1024}} mb{{image.status}}{{image.time}}
+
+ + +
+ + +
+
+ +
+
+
+ + +

{{name}} -- Pod File +
+ + + + +
+ +

+ +
+ + + + +
+ +
+

Current Pod Configuration

+ + + + + + + + + + + + + + + + + + + + + + + + +
ipnamepasswordroleuser
{{pod.ip}}{{pod.name}}{{pod.password}}{{pod.role}}{{pod.user}}
no data
+
+ + + + + + + + + + +
+ + +
+ +
+ +
+
+
+ +

{{name}} -- Container +
+ + + +
+ +

+ + +
+ + + + + + +
+ +
+

Current Contain

+ + + + + + + + + + + + + + + + + + +
namestatustime
{{con.name}}{{con.status}}{{con.time}}
+
+ + + + + + + + + + +
+ + +
+ +
+ + + + + + +
+ + + diff --git a/gui/app/views/modal/projectCreate.html b/gui/app/views/modal/projectCreate.html new file mode 100644 index 000000000..74839e798 --- /dev/null +++ b/gui/app/views/modal/projectCreate.html @@ -0,0 +1,21 @@ +
+ +

Enter Project Name

+ + +
+ +
+ + + +
+ + + diff --git a/gui/app/views/modal/suiteName.html b/gui/app/views/modal/suiteName.html new file mode 100644 index 000000000..981d24210 --- /dev/null +++ b/gui/app/views/modal/suiteName.html @@ -0,0 +1,18 @@ +

Enter Suite Name

+
You have choose: +
{{selected}}
+
+ + +
+ +
+ + + diff --git a/gui/app/views/modal/taskCreate.html b/gui/app/views/modal/taskCreate.html new file mode 100644 index 000000000..e7812cf2b --- /dev/null +++ b/gui/app/views/modal/taskCreate.html @@ -0,0 +1,134 @@ + +

Create Task

+
+
+
Name
+ +
+
+ +
+
+
+
Choose Environment : {{displayEnvName}}
+ +
+
+
+
+
{{env.name}}
+ + + + +
+ +
+
+ +
+ +
+
+
+
Source of Content
+ + + + +
+
+
Choose Source: {{selectCase}}
+ + +
+
+ +
+
+
+
+
{{test.Name}}
+
{{test.Description}}
+ + + +
+ +
+
+ +
+
+ +
+
+
+
{{suite}}
+ + + + +
+ +
+
+ +
+
+
+ +
+ + + +
+ + + + +
+
+ +
+ + +
+ + + -- cgit 1.2.3-korg