]> jfr.im git - uguu.git/commitdiff
1.8.3
authorGo Johansson (neku) <redacted>
Sun, 10 Dec 2023 15:41:12 +0000 (16:41 +0100)
committerGo Johansson (neku) <redacted>
Sun, 10 Dec 2023 15:41:12 +0000 (16:41 +0100)
src/static/css/uguu.css
src/templates/api.ejs

index bdcf7bf9d704aeb5d3824699670ced49bfb92ba9..5d08951e73f807f604f1f991e1d4fd9b32477983 100755 (executable)
@@ -369,7 +369,7 @@ progress[value]::-webkit-progress-bar {
     margin-left: 15px;
   }
   .file-url a:before {
-    content: "http://";
+    content: "https://";
   }
   .alert {
     font-size: 13px;
@@ -398,3 +398,21 @@ progress[value]::-webkit-progress-bar {
 .js #upload-btn {
   display: inline-block !important;
 }
+
+/*
+ * inline command block
+ */
+kbd {
+  padding: 0.1875rem 0.375rem;
+  font-size: 0.875em;
+  color: #FFFFFF;
+  background-color: #333333;
+  border-radius: 0.25rem;
+}
+kbd kbd {
+  padding: 0;
+  font-size: 1em;
+}
+kbd:before {
+  content: "$ "
+}
\ No newline at end of file
index e34c8bdc5c8c51e0363325b36849729429a17cb4..9bf8b0b919e157a1353ffc9013156294ecb91a09 100755 (executable)
@@ -6,7 +6,7 @@
     <div class="alert alert-info">
         <section>
             <p>You may POST an array of files to&nbsp;<b><%= DOMAIN %>/upload.php</b>, by default you will get a json response.</p>
-            <p>For example using Curl: <b>curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php</b></p>
+            <p>For example using Curl: <kbd>curl -i -F files[]=@yourfile.jpeg <%= DOMAIN %>/upload.php</kbd></p>
             <p>If you want a response in something else than json you add a flag to specify what format you want, for example&nbsp;<b><%= DOMAIN %>/upload.php?output=csv</b>.</p>
             <p>Valid response types are: json, csv, text, html and gyazo.</p>
         </section>