template changes

This commit is contained in:
nokonoko 2020-11-20 16:54:11 +01:00
parent 1a56b2f431
commit db84546ea8
5 changed files with 12 additions and 3 deletions

View File

@ -22,6 +22,7 @@
"abuseContact": "abuse@example.com",
"infoContact": "info@example.com",
"ServerCountryLocation": "Sweden",
"SiteMetaInfo": "Uguu is a temporary file hosting service, upload files up to 100MiB for 24 hours.",
"paypalUrl": "",
"bitcoinAddress": "",
"flattrUrl": ""

View File

@ -3,7 +3,7 @@
{% block body %}
<div class="jumbotron">
<h1>{{siteName}}~</h1>
<p class="lead">Max upload size is {{max_upload_size}}&nbsp;MiB, read the <a href="faq.html"><abbr title="Frequently asked questions">FAQ</abbr></a></p>
<p class="lead">Max upload size is {{max_upload_size}}&nbsp;MiB & files expire after 24H, read the <a href="faq.html"><abbr title="Frequently asked questions">FAQ</abbr></a></p>
{% include "upload_form.swig" %}
</div>
{% include "banners.swig" %}

View File

@ -4,6 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="Uguu {{pkgVersion}}">
<meta name="Description" content="{{SiteMetaInfo}}">
<title>{{siteName}} &middot; {% block title %}Kawaii Temporary File Hosting{% endblock %}</title>
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" href="uguu.min.css">

View File

@ -2,6 +2,6 @@
<ul>
<li><a href="/">{{siteName}}</a></li>
<li><a href="tools.html">Tools</a></li>
<li><a href="https://github.com/nokonoko/uguu">Git</a></li>
<li><a href="https://github.com/nokonoko/uguu">Github</a></li>
</ul>
</nav>

View File

@ -5,6 +5,13 @@
<div class="jumbotron">
<h1>Uguu Tools</h1>
</div>
<h3>
To upload using curl or make a tool you can post using:
<br/>
curl -i -F files[]=@yourfile.jpeg {{siteUrl}}/upload.php (JSON Response)
</h3>
<section>
<h2>ShareX</h2>
<dl>