aboutsummaryrefslogtreecommitdiff
path: root/www/index.html
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-15 22:44:54 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-15 22:44:54 -0500
commit6131e6168032ef4f1fcda8d64508f700af0e506c (patch)
tree98e0b4f1c9f54c730d18a32a2994fc62f67a6b0a /www/index.html
parent14e767dad2060073dfce2093c27300c4088f62dc (diff)
made project a little more nginx-friendly
Diffstat (limited to 'www/index.html')
-rw-r--r--www/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/index.html b/www/index.html
new file mode 100644
index 0000000..28de719
--- /dev/null
+++ b/www/index.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>MiniMUN PDF Generator</title>
+ <script>
+ let curform = 'award';
+ function switchShow(id){
+ document.getElementById(curform).style.display = 'none';
+ document.getElementById(id).style.display = '';
+ curform = id;
+ }
+ </script>
+</head>
+
+<body>
+ <h4>Form Type:</h4>
+ <input type="radio" name="form" value="award" onchange="switchShow('award')" checked>Award</input><br>
+ <input type="radio" name="form" value="room" onchange="switchShow('room')">Room</input><br>
+ <form action="award.pdf" method="get" id="award" class="submit">
+ Committee: <input type="text" name="committee"/><br>
+ Country: <input type="text" name=""/><br>
+ Award Name: <input type="text" name="award"/><br>
+ School: <input type="text" name="school"/><br>
+ <input type="submit"/>
+ </form>
+ <form action="room" style="display: none" id="room" class="submit">
+ Committee: <input type="text" name="committee"/><br>
+ <input type="submit"/>
+ </form>
+</body>
+</html>