-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
9a478cd
commit ec7f862
Showing
3 changed files
with
44 additions
and
2 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,38 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>EasyForm</title> | ||
<meta name="description" content="Free, self-hosted, open-source form backend solution. No installation required for hosting. Lightweight server runs in browser. Backend sends form data as a Telegram bot to your Telegram account."> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> | ||
<link rel="icon" type="image/x-icon" href="favicon.ico"> | ||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"> | ||
<link rel="manifest" href="site.webmanifest"> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
</head> | ||
|
||
<body> | ||
<form method="POST" target="hidden_iframe"> | ||
<input type="hidden" name="From" value="tester"> | ||
<div class="row mt-2"> | ||
<div class="col"> | ||
<input type="email" class="form-control" name="Email" placeholder="Your Email" autocomplete="on" required> | ||
</div> | ||
<div class="col"> | ||
<input type="text" class="form-control" name="Name" placeholder="Your Name" autocomplete="on" required> | ||
</div> | ||
<input type="text" class="form-control mt-2" name="Message" placeholder="Your Message" required> | ||
</div> | ||
<button type="submit" id="submit" class="btn btn-info mt-2" onclick="alert('Thanks for your message!');">Post</button> | ||
<button type="reset" class="btn btn-warning mt-2">Reset</button> | ||
</form> | ||
<iframe name="hidden_iframe" src="about:blank" hidden></iframe> | ||
|
||
<script> | ||
document.getElementById("submit").setAttribute("formaction", atob(location.pathname.substr(1,).replace(/_/g,'+').replace(/-/g,'/'))); | ||
</script> | ||
</body> | ||
</html> |
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