|
7 | 7 | title: Visa Invitation Letter
|
8 | 8 | ---
|
9 | 9 |
|
10 |
| -<style> |
11 |
| - .myDiv, |
12 |
| - #inprogress, |
13 |
| - #ready { |
14 |
| - display: none; |
15 |
| - } |
16 |
| - |
17 |
| - ::placeholder { |
18 |
| - color: #5f082b; |
19 |
| - } |
20 |
| - |
21 |
| - #loading { |
22 |
| - width: 2rem; |
23 |
| - height: 2rem; |
24 |
| - border: 5px solid #f3f3f3; |
25 |
| - border-top: 6px solid #9c41f2; |
26 |
| - border-radius: 100%; |
27 |
| - margin: auto; |
28 |
| - visibility: hidden; |
29 |
| - animation: spin 1s infinite linear; |
30 |
| - } |
31 |
| - |
32 |
| - #loading.display { |
33 |
| - visibility: visible; |
34 |
| - } |
35 |
| - |
36 |
| - @keyframes spin { |
37 |
| - from { |
38 |
| - transform: rotate(0deg); |
39 |
| - } |
40 |
| - |
41 |
| - to { |
42 |
| - transform: rotate(360deg); |
43 |
| - } |
44 |
| - } |
45 |
| -</style> |
46 |
| - |
47 |
| -<div class="hero"> |
| 10 | +<div class="bg-gray-100 block-container"> |
48 | 11 | <div class="wrapper">
|
49 |
| - <header> |
50 |
| - <h1 class="mb-6 pageheading">{{ title }}</h1> |
51 |
| - </header> |
52 |
| - </div> |
53 |
| -</div> |
54 |
| - |
55 |
| -<div class="block-container"> |
56 |
| - <div class="wrapper"> |
57 |
| - <form id="form" method="POST" enctype="multipart/form-data"> |
58 |
| - <div class="block"> |
59 |
| - <label for="fullname">Full name (as it appears on your passport)</label> |
60 |
| - <input type="text" name="fullname" id="fullname" placeholder="Noah Doe" required> |
61 |
| - </div> |
62 |
| - |
63 |
| - <div class="block"> |
64 |
| - <label for="address">Address</label> |
65 |
| - <input type="text" name="address" id="address" placeholder="125 32nd Street, Durham, North Carolina, USA" required> |
66 |
| - </div> |
67 |
| - |
68 |
| - <div class="block"> |
69 |
| - <label for="dob">Date of Birth</label> |
70 |
| - <input type="text" name="dob" id="dob" placeholder="July 09 1990" required> |
71 |
| - </div> |
72 |
| - |
73 |
| - <div class="block"> |
74 |
| - <label for="email">Email</label> |
75 |
| - <input type="email" name="email" id="email" placeholder="visas@djangocon.us" required> |
76 |
| - </div> |
77 |
| - |
78 |
| - <div class="block"> |
79 |
| - <label for="passport_no">Passport Number</label> |
80 |
| - <input type="text" name="passport_no" id="passport_no" placeholder="A01923459B" required> |
81 |
| - </div> |
82 |
| - |
83 |
| - <div class="block"> |
84 |
| - <label for="letterselection">Are you a Speaker, an Opportunity Grant recipient, or a general attendee?</label> |
85 |
| - <select name="letterselection" id="letterselection" required> |
86 |
| - <option value="none">Attendee</option> |
87 |
| - <option value="og">Opportunity Grant recipient</option> |
88 |
| - <option value="speaker">Speaker</option> |
89 |
| - </select> |
90 |
| - </div> |
91 |
| - |
92 |
| - |
93 |
| - <div id="og" class="myDiv"> |
94 |
| - <label for="og">Grant Amount (if applicable)</label> |
95 |
| - <input type="number" name="og" id="og" placeholder="2000.00"> |
96 |
| - </div> |
97 |
| - <div id="speaker" class="myDiv"> |
98 |
| - <label for="talk">Talk/Tutorial Title</label> |
99 |
| - <input type="text" name="talk" id="talk" placeholder="DjangoCon US is the best!"> |
| 12 | + <h1 class="mb-6 text-center pageheading">{{ title }}</h1> |
| 13 | + <form |
| 14 | + class="max-w-2xl p-4 mx-auto bg-white rounded lg:p-12" |
| 15 | + id="inviteForm" |
| 16 | + method="POST" |
| 17 | + enctype="multipart/form-data"> |
| 18 | + <ul class="space-y-8"> |
| 19 | + <li> |
| 20 | + <label for="fullname">Full name (as it appears on your passport)</label> |
| 21 | + <input type="text" name="fullname" id="fullname" placeholder="Noah Doe" required> |
| 22 | + </li> |
| 23 | + <li> |
| 24 | + <label for="address">Address</label> |
| 25 | + <input type="text" name="address" id="address" placeholder="125 32nd Street, Durham, North Carolina, USA" required> |
| 26 | + </li> |
| 27 | + <li> |
| 28 | + <label for="dob">Date of Birth</label> |
| 29 | + <input type="text" name="dob" id="dob" placeholder="July 09 1990" required> |
| 30 | + </li> |
| 31 | + <li> |
| 32 | + <label for="email">Email</label> |
| 33 | + <input type="email" name="email" id="email" placeholder="visas@djangocon.us" required> |
| 34 | + </li> |
| 35 | + <li> |
| 36 | + <label for="passport_no">Passport Number</label> |
| 37 | + <input type="text" name="passport_no" id="passport_no" placeholder="A01923459B" required> |
| 38 | + </li> |
| 39 | + <li> |
| 40 | + <label for="letterselection">Are you a Speaker, an Opportunity Grant recipient, or a general attendee?</label> |
| 41 | + <select name="letterselection" id="letterselection" required> |
| 42 | + <option value="none">Attendee</option> |
| 43 | + <option value="og">Opportunity Grant recipient</option> |
| 44 | + <option value="speaker">Speaker</option> |
| 45 | + </select> |
| 46 | + </li> |
| 47 | + <li id="og" hidden> |
| 48 | + <label for="og">Grant Amount (if applicable)</label> |
| 49 | + <input type="number" name="og" id="og" placeholder="2000.00"> |
| 50 | + </li> |
| 51 | + <li id="speaker" hidden> |
| 52 | + <label for="talk">Talk/Tutorial Title</label> |
| 53 | + <input type="text" name="talk" id="talk" placeholder="DjangoCon US is the best!"> |
| 54 | + </li> |
| 55 | + </ul> |
| 56 | + |
| 57 | + <div class="mt-8"> |
| 58 | + <button id="submit" type="submit" class="button bg-mosaic-blue">Submit</button> |
100 | 59 | </div>
|
101 |
| - <button id="submit" type="submit" class="button">Submit</button> |
102 | 60 | </form>
|
103 | 61 |
|
104 |
| - <div style="text-align:center; padding-bottom: 100px; margin-top: -30px;"> |
105 |
| - <p id="inprogress">Thank you for your interest in DjangoCon US 2023! We're generating your invitation letter |
| 62 | + <div> |
| 63 | + <div id="loader" hidden></div> |
| 64 | + <p id="inProgressMsg" hidden class="max-w-2xl p-4 mx-auto text-lg bg-white border-4 rounded lg:p-12 text-medium lg:text-xl border-central-park-green"> |
| 65 | + Thank you for your interest in DjangoCon US 2024! We're generating your invitation letter. |
106 | 66 | </p>
|
107 |
| - <div id="loading"></div> |
108 |
| - <p id="ready">Your invitation letter has been sent to the DjangoCon US organizers for review. Once they approve it, |
109 |
| - they will email it to you. Thanks for your interest!</p> |
| 67 | + <p id="readyMsg" hidden class="max-w-2xl p-4 mx-auto text-lg bg-white border-4 rounded lg:p-12 text-medium lg:text-xl border-central-park-green">Your invitation letter has been sent to the DjangoCon US organizers for review. Once they approve it, they will email it to you. Thanks for your interest!</p> |
110 | 68 | </div>
|
111 | 69 | </div>
|
112 | 70 | </div>
|
|
0 commit comments