-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
77 additions
and
9 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
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 |
---|---|---|
|
@@ -2,19 +2,50 @@ import React from 'react' | |
//import PropTypes from 'prop-types' | ||
|
||
var Feedbackfield = ({selected, onClick}) => ( | ||
<div id="feedback"> | ||
<a href="mailto:[email protected]?subject=Feedback%20for%20KUBAM%20&body=Thank%20you%20for%20your%20feedback.%20Please,%20write%20your%20comment%20below:" | ||
target="_top"> | ||
<font color="black"> | ||
Tell us something... | ||
</font> | ||
</a> | ||
</div> | ||
<div > | ||
|
||
<div id="feedback"> | ||
<a onClick={activateLasers}> | ||
Tell us something... | ||
</a> | ||
</div> | ||
|
||
<div id="feedbackoverlay"> | ||
<div id="feedbackform"> | ||
<div id="closeform"> | ||
<a onClick={deactivateLasers} id="closeform">X</a> | ||
</div> | ||
<form> | ||
Tell us something... | ||
<br></br> | ||
<textarea | ||
rows="4" cols="50"> | ||
</textarea> | ||
<br></br> | ||
<input type="submit" value="Submit"> | ||
</input> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
|
||
Feedbackfield.propTypes = { | ||
// onClick: PropTypes.func.isRequired, | ||
} | ||
|
||
export default Feedbackfield | ||
|
||
function activateLasers(){ | ||
var feedbackoverlay=document.getElementById("feedbackoverlay"); | ||
feedbackoverlay.style.display = 'inline'; | ||
return; | ||
} | ||
|
||
function deactivateLasers(){ | ||
var feedbackoverlay=document.getElementById("feedbackoverlay"); | ||
feedbackoverlay.style.display = 'none'; | ||
return; | ||
} | ||
|
||
|