This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
1 parent
ca93b41
commit 9b140ef
Showing
4 changed files
with
346 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!-- Modal component for vc add --> | ||
<div class="modal fade" id="virtualClustersList" tabindex="-1" role="dialog" aria-labelledby="virtualClustersAddTitle"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h3 class="modal-title" id="virtualClustersAddTitle"> | ||
Add New Virtual Cluster | ||
</h3> | ||
<h5 class="modal-title">The capacity of new virtual cluster will be split from the "default" virtual cluster</h5> | ||
</div> | ||
<div class="modal-body"> | ||
<div class="modal-vc-content row"> | ||
<div class="form-group"> | ||
<input name="vcname" class="add-vc-fild form-control" placeholder="Virtual Cluster Name"> | ||
</div> | ||
<div class="form-group"> | ||
<input name="capacity" class="add-vc-fild form-control" placeholder="Virtual Cluster Capacity"> | ||
</div> | ||
<button type="button" class="btn btn-lg btn-primary btn-block" id="virtualClustersListAdd"> | ||
Add Virtual Cluster | ||
</button> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Modal component for vc edit --> | ||
<div class="modal fade" id="virtualClustersEdit" tabindex="-1" role="dialog" aria-labelledby="virtualClustersEditTitle"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h3 class="modal-title" id="virtualClustersEditTitle"> | ||
Edit Virtual Cluster | ||
</h3> | ||
</div> | ||
<div class="modal-body"> | ||
<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> | ||
</div> | ||
<div class="form-group edit-group"> | ||
<label for="editCapacity" class="edit-group-item">Capacity</label> | ||
<input id="editCapacity" name="capacityEdit" class="add-vc-fild form-control" placeholder="Virtual Cluster Capacity"> | ||
</div> | ||
<div class="remarks">The new capacity can be set in range of 0%~<%= vcDefault.capacity %>%, the variation will be split from or return to default virtual cluster.</div> | ||
<button type="button" class="btn btn-lg btn-primary btn-block" id="virtualClustersListEdit"> | ||
Update Virtual Cluster | ||
</button> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.