]> git.xolatile.top Git - emil-up.chud.cyou.git/commitdiff
center
authorEmil Williams <emilemilemil@cock.li>
Sun, 10 Aug 2025 18:11:31 +0000 (18:11 +0000)
committerEmil Williams <emilemilemil@cock.li>
Sun, 10 Aug 2025 18:11:31 +0000 (18:11 +0000)
index.html

index 835e8966ae871ae1628915036fbc689ef1e0ded5..efadce192fd93ece43627dedc3666d3fa84edff7 100644 (file)
@@ -9,52 +9,54 @@
     <title id="title">up.chud.cyou</title>
   </head>
   <body>
-    <div style="width: 50em;">
-      <form action="https://up.chud.cyou/upchud.tcl" method="post" enctype="multipart/form-data">
-        <fieldset>
-          <legend>Upload a file</legend>
-          <label>
-            Select file:
-            <input type="file" name="file" required>
-          </label>
-          <button type="submit">Upload</button>
-        </fieldset>
-      </form>
-      <p>You may upload files using the above form or the following command:</p>
-      <pre>
+    <center>
+      <div class="box">
+        <form action="https://up.chud.cyou/upchud.tcl" method="post" enctype="multipart/form-data">
+          <fieldset>
+            <legend>Upload a file</legend>
+            <label>
+              Select file:
+              <input type="file" name="file" required>
+            </label>
+            <button type="submit">Upload</button>
+          </fieldset>
+        </form>
+        <p>You may upload files using the above form or the following command:</p>
+        <pre>
 curl https://up.chud.cyou --upload-file 'file'
 # alternatively
 curl https://up.chud.cyou -F'file=@file'
 # as a shell function
 upload(){
-    url="$1"
-    shift
-    if [ -z "$@" ] ; then curl "$url" -F"file=@/dev/stdin"; fi
-    for i in "$@"; do
-        if [ "$i" = "-" ]; then i="/dev/stdin" ; fi
-        curl "$url" -F"file=@$i"
-    done
+url="$1"
+shift
+if [ -z "$@" ] ; then curl "$url" -F"file=@/dev/stdin"; fi
+for i in "$@"; do
+if [ "$i" = "-" ]; then i="/dev/stdin" ; fi
+curl "$url" -F"file=@$i"
+done
 }
 chud(){ upload "https://up.chud.cyou" "$@" ; }
-      </pre>
-      <p>
-        Files are wiped monthly and may not be larger than 100 mebibytes.
-      </p>
-      <p>
-        Upchud is a FOSS file uploader service, originally developed for
-        <a href="https://up.chud.cyou">up.chud.cyou</a>
-      </p>
-      <p>
-        Original source:
-        <a href="https://git.xolatile.top/anon/upchud">git.xolatile.top/anon/upchud</a>
-      <br />
-        This deployment's source:
-        <a href="https://git.xolatile.top/emil/up.chud.cyou">git.xolatile.top/emil/up.chud.cyou</a>
-      </p>
-      <p>Contact and abuse reports via <a href="mailto:admin@chud.cyou">email</a>.</p>
-      <p>
-        <a href="https://files.xolatile.top/0x0_config.el">Emacs configuration</a>. This includes some other services too.
-      </p>
-    </div>
+        </pre>
+        <p>
+          Files are wiped monthly and may not be larger than 100 mebibytes.
+        </p>
+        <p>
+          Upchud is a FOSS file uploader service, originally developed for
+          <a href="https://up.chud.cyou">up.chud.cyou</a>
+        </p>
+        <p>
+          Original source:
+          <a href="https://git.xolatile.top/anon/upchud">git.xolatile.top/anon/upchud</a>
+          <br />
+          This deployment's source:
+          <a href="https://git.xolatile.top/emil/up.chud.cyou">git.xolatile.top/emil/up.chud.cyou</a>
+        </p>
+        <p>Contact and abuse reports via <a href="mailto:admin@chud.cyou">email</a>.</p>
+        <p>
+          <a href="https://files.xolatile.top/0x0_config.el">Emacs configuration</a>. This includes some other services too.
+        </p>
+      </div>
+    </center>
   </body>
 </html>