-
Notifications
You must be signed in to change notification settings - Fork 549
Conversation
xwzheng1020
commented
Jan 5, 2019
- add new ui for virtual cluster action(add, delete, change status and update capacity)
- only admin-user has these privileges
add entrypoint=""
Please fix all lint errors first. |
@weixingzhang , can you attach a snapshot of the UI for reference? |
@fanyangCS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we currently do not face to a11y, remove all aria tags is OK if you do not sure what they does.
CSP issues will reproduced in Edge in some version of Windows Server systems.
<div class="modal-vc-content"> | ||
<div class="form-group edit-group"> | ||
<label for="editName" class="edit-group-item">Name</label> | ||
<input id="editName" name="nameEdit" class="add-vc-fild form-control" placeholder="Virtual Cluster Name" readonly=true> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no =true
needed in readonly attribute
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this field nameEdit
be readonly? I didn't find that the PUT virtualCluster
API includes vc name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to set it readonly.
* VC update API doc (#1816) * refine api doc * refine doc * refine * refine * [VC update] rest-server (#1831) * change scheduler storage to zookeeper * add queue update * fix * add vc update api * add yarn health check, refine error * add api doc * refine api doc * refine api doc * update yarn response * add unit test * unit test * replace parseint with math.round, fix unit test * replace mathjs with build-in Math * vc update (#1974) * Update yarnContainerScript.mustache add entrypoint="" * add design for vc update * refine design of vc update * add description of /api/v1/:username/virtualClusters * remove design of vc_update to dir of webportal * refine design of vc * VC function development * vc style modification * vc list style modification * Modify the prompt * repair bug * remove design of vc_update and refine annotation * refine var name * Change eslint error * Optimize the code according to pr * Modified read-only