1
0
mirror of https://github.com/nokonoko/Uguu.git synced 2024-01-06 13:35:15 +00:00
This commit is contained in:
Go Johansson (neku) 2023-12-10 16:41:12 +01:00
parent a105f82c23
commit 915b63a528
2 changed files with 20 additions and 2 deletions

View File

@ -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: "$ "
}

View File

@ -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>