Skip to content

Commit

Permalink
add upload button
Browse files Browse the repository at this point in the history
  • Loading branch information
visnkmr committed Jul 1, 2023
1 parent 5e3ccfe commit 952744f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/initui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ export default function InitUI(){
const [ipaddress, setipaddress] = useState("");
return(
<>
<form className="fileUpload" method="post" action="/upload.html" encType="multipart/form-data">
<Input type="file" name="upfile" id="fileinput" required={true}/>
<Input type="submit" value="Send"/>
</form>
<progress id="pr" max="100" value="77.68211229853571"></progress>
<Input
placeholder='Filter by reponame...'
onChange={(event) =>
Expand Down

0 comments on commit 952744f

Please sign in to comment.