Commit Graph

19 Commits

Author SHA1 Message Date
Andy Yan 7f701830e5 Clean up css styles for each components.
Clean up css styles for each components in a clear order.
Now all the styles are in customized.css which is not clear for
each components. So, we should delete customized.css, and for each
component we create a corresponding css style.

Change-Id: Ic23c45c8f380820da0689e728bcf99daa260f2e0
Signed-off-by: Andy Yan <yanchao3@lenovo.com>
2017-03-01 01:33:58 +00:00
Nate Potter 45a1540358 Switch UI to /v1/systems endpoint
This commit updates the UI to get systems info from the
valence /v1/systems endpoint, and includes a few minor
updates to the redfish controller including the addition
of returning a system's health.

Change-Id: I141220768033df4f8a7d3440b8c743e8a8c002f6
Partial-bug: #1642026
2017-01-19 06:53:11 +00:00
Lin Yang 6351e9a727 Add vlan parameters in compose menu
This patch adds new dynamic input form in compose menu to support
user specify vlan ID for the ethernet interface. And supoort
multiply ethernet setting in next commit.

Change-Id: Ife0698e599806bf776634080fd4b34725aec4fc6
Closes-Bug: #1634596
2016-11-21 18:23:53 +00:00
Jenkins 97df1e9687 Merge "Switch target API to Valence" 2016-11-08 19:49:01 +00:00
Jenkins bdbb25421e Merge "Initial commit of UI testing framework" 2016-11-08 19:48:10 +00:00
Nate Potter 1e1d7fadd8 Switch target API to Valence
This commit moves the UI API calls from the pod manager
to the Valence API, which will then forward requests to the
pod manager. Currently it's just passing along direct requests,
but as the API/controller service is fleshed out more functionality
will be added to the UI using the Valence API.

Change-Id: Idf352572a2df7e45b76548a9089ef61dea3d360f
Closes-bug: #1636958
2016-11-04 13:08:30 -07:00
Jenkins cac939f819 Merge "Pass resource type correctly" 2016-11-02 23:43:33 +00:00
Nate Potter ffafb8debd Fix non-rendering compose menu
Currently clicking on the 'compose' button won't take you to
the compose menu, but rather will throw an error saying that the
innerHTML of a null element can't be defined. This change fixes that
by ensuring that the menu is pre-rendered, and only displayed when the
compose button is clicked.

Change-Id: Id85c4673973cd4bb0bdc25110b10007f3650c266
Closes-bug: #1638736
2016-11-02 15:45:32 -07:00
Nate Potter bb572b5897 Pass resource type correctly
This commit updates the resource display screen to
display detailed information by passing it the correct
resource type.

Change-Id: I7b33bd17803bb330f7bdc192058a5ff86c838345
Closes-bug: #1638707
2016-11-02 14:03:37 -07:00
Nate Potter 20ec2b97f4 Initial commit of UI testing framework
This patch adds support for testing the UI using Karma,
Jasmine and the React test utils.

Change-Id: Ia3251a3c5d2f674de91da0465e614d660cc0d3c3
Implements: blueprint ui-test-suite
2016-11-02 11:40:58 -07:00
Jenkins 47c7cc451b Merge "Show in-use/health concerns for resources" 2016-11-02 04:07:03 +00:00
Lin Yang 70b42f2711 Add copyright header in ui code
Closes-Bug: #1635431
Change-Id: I5265841a6a417390bbe8245183fd5b1cf3e4f257
2016-11-01 10:07:10 -07:00
Nate Potter 453e4cedde Show in-use/health concerns for resources
This commit adds functionality that shows the user which of
their resources are either in use by a composed node or have
critical/warning levels on their health check.

Change-Id: I41c6990a28a758718f1a3bfbfd121445c2c94b00
Closes-bug: #1635727
2016-10-24 15:50:51 -07:00
Nate Potter bc81feef1f Format detail displays
This commit updates the detailed view of resources to only display
relevant information in a readable format rather than a JSON dump
of all info.

Change-Id: Ib380bbd206203b3a651e75d3acd712acaa2f738f
Closes-bug: #1630813
2016-10-20 15:19:54 -07:00
Nate Potter 9c96ce73eb Add PATCH to set boot source
This commit adds a button to set the boot source to PXE for
composed nodes.

Change-Id: Ifa85789ca41c4ed6e26d9c149aa2d74885bb7df0
Closes-bug: #1634592
2016-10-18 10:47:07 -07:00
Nate Potter 33e8d20f9f Fix indexOf comparison for testing if processor has been seen
Change-Id: Ib58a4ea081c80a9526e12e30c15a15b79eb2b418
2016-10-18 09:39:09 -07:00
Nate Potter 6f2c042bae Fix processorModel variable
Change-Id: Ic810c76a38f68a68dfdfda8d75b0255a857db3c4
2016-10-18 09:28:35 -07:00
Nate Potter 44b034953b Get processor models from system info
This commit gets the information about available processor
models from system information, rather than making unneeded
extra API calls to view the details on each processor.

Change-Id: I6c856795765f730a2f34a096504e9f0a1cfb37c9
Closes-bug: #1634302
2016-10-17 16:55:41 -07:00
Lin Yang 3d6b09f2f3 Move ui out of api module
To make 'valence' as a clean python module for valence api, this
patch move js code for ui to top directory.

Change-Id: I826953754be49636cd99a14a1547d166a334a187
2016-10-18 05:28:49 +08:00