Archived
1
0

added files/folders from new structure

This commit is contained in:
2021-12-20 16:51:51 -06:00
parent e094ebdfcc
commit 2b97723414
27 changed files with 922 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
function ApplicationDetails(props) {
var nsfwChecked;
if(props.NSFW === "NSFW") {
nsfwChecked = true;
} else if(props.easterEgg === "SAFE") {
nsfwChecked = false;
} else {
nsfwChecked = false;
}
return (
<div id="applicationGrid" title={props.name}>
<label htmlFor="name">Name</label>
<input id="name" type="text" defaultValue={props.name}></input>
<label htmlFor="url">URL</label>
<input id="url" type="text" defaultValue={props.url}></input>
<label htmlFor="icon">Icon</label>
<input id="icon" type="text" defaultValue={props.icon}></input>
<label htmlFor="baseurl">Base URL</label>
<input id="baseurl" type="text" defaultValue={props.urlbase}></input>
<label htmlFor="NSFW">NSFW</label>
<input id="NSFW" type="checkbox" defaultChecked={nsfwChecked}></input>
</div>
);
}
export default ApplicationDetails;