index.html - www.codemadness.org - www.codemadness.org saait content files
 (HTM) git clone git://git.codemadness.org/www.codemadness.org
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       index.html (1552B)
       ---
            1 <title>Donation</title>
            2 
            3 <style type="text/css">
            4 body {
            5         background-color: #fff;
            6         font-family: sans;
            7 }
            8 .form {
            9         margin: 0 auto;
           10         width: 80ex;
           11 }
           12 textarea, input {
           13         font-size: 140%;
           14 }
           15 textarea, .text {
           16         width: 600px;
           17 }
           18 @media (prefers-color-scheme: dark) {
           19         :root {
           20                 color-scheme: dark;
           21         }
           22         body {
           23                 background-color: #000;
           24                 color: #bdbdbd;
           25         }
           26 }
           27 </style>
           28 
           29 <div class="form">
           30 <h1>Donation</h1>
           31 
           32 <form method="get" action="/cgi-bin/donate">
           33 
           34 <p>
           35 <label for="from"><b>From (optional):</b></label>
           36 </p>
           37 <input type="text" class="text" name="from" id="from" placeholder="From (optional)..." size="45" autofocus />
           38 <br/>
           39 
           40 <p>
           41 <label for=""><b>Type of donation:</b></label>
           42 </p>
           43 
           44 <p>
           45 <input type="radio" name="type" id="compliment" value="c" checked /> <label for="compliment">A nice compliment</label>
           46 <input type="radio" name="type" id="hate" value="h" /> <label for="hate">Pure hatred</label>
           47 <input type="radio" name="type" id="joke" value="j" /> <label for="joke">A joke</label>
           48 <input type="radio" name="type" id="million" value="m" /> <label for="million">One million dollars</label>
           49 </p>
           50 
           51 <p>
           52 <label for="msg"><b>Message:</b></label>
           53 </p>
           54 
           55 <p>
           56         <textarea name="msg" cols="69" rows="5" id="msg" required></textarea>
           57 </p>
           58 
           59 <p>
           60         <label for="captcha"><b>Captcha question: do captchas suck?<br/>
           61         Type "yes" without quotes in the field below:</b></label>
           62 </p>
           63 
           64 <p>
           65         <input type="text" name="captcha" id="captcha" value="" placeholder="yes" size="3" pattern="^yes$" required />
           66 </p>
           67 
           68 <p>
           69         <input type="submit" name="pay" value="Pay" />
           70 </p>
           71 
           72 </form>
           73 </div>