-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #210: replaced mock slice data with latest response from orhcestrator api * #210: added management ip address display for VM nodes * #210: added mac address display for ports * #221: solved ssh key configuration issue when creating slices in portal * #216: added a common component for input checkboxes * #216: replaced project permissions dropdown options with multi-select checkboxes * #210: added ssh command display and copy function * #216: fixed tags update issue * #216: updated style * #210: replaced mock data with API call for slice viewer * #216: added Select All option * #216: implemented Select All function * #221: updated ssh key str * #210: fixed mac address issue * #210: added helper text for ssh command * #224: Auto pick self-enrollment links for different tiers
- Loading branch information
Showing
19 changed files
with
306 additions
and
17,450 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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,42 @@ | ||
import React from "react"; | ||
|
||
const InputCheckboxes = props => { | ||
const { allOptions, selectedOptions, onCheck } = props; | ||
|
||
return ( | ||
<div className="w-100 mt-2"> | ||
<div className="form-check mb-2"> | ||
<input | ||
className="form-check-input" | ||
type="checkbox" | ||
value="" | ||
id={"selectAll"} | ||
defaultChecked={selectedOptions.length === allOptions.length} | ||
onClick={() => onCheck("all")} | ||
/> | ||
<label className="form-check-label"> | ||
Select All | ||
</label> | ||
</div> | ||
{ | ||
allOptions.map(option => | ||
<div className="form-check mb-2" key={option}> | ||
<input | ||
className="form-check-input" | ||
type="checkbox" | ||
value="" | ||
id={option} | ||
defaultChecked={selectedOptions.includes(option)} | ||
onClick={() => onCheck(option)} | ||
/> | ||
<label className="form-check-label"> | ||
{ option } | ||
</label> | ||
</div> | ||
) | ||
} | ||
</div> | ||
); | ||
}; | ||
|
||
export default InputCheckboxes; |
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.