]> jfr.im git - uguu.git/commitdiff
template changes
authornokonoko <redacted>
Fri, 20 Nov 2020 15:54:11 +0000 (16:54 +0100)
committernokonoko <redacted>
Fri, 20 Nov 2020 15:54:11 +0000 (16:54 +0100)
dist.json
templates/index.swig
templates/layout.swig
templates/nav.swig
templates/tools.swig

index 8036c5ffc83b88a2eb26b7a16bb536f556e222bc..9f356dec0f7782b87f131e14bdaa81520779e5de 100644 (file)
--- a/dist.json
+++ b/dist.json
@@ -22,7 +22,8 @@
        "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": ""
-}
+}
\ No newline at end of file
index 02344f49dc77542d50c397f775d99f5b20986769..12f95808bf256dd4749e663de0daac6d0f6fd4e1 100644 (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" %}
index 86b478216dc37d121e20301b38cfe293a24cfdc7..d9c2448047e5326c7413f164e19ac818fcd2e8fa 100644 (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">
index 5c0541af5c34006cef828ed055ee60c07d214fc0..e5a7a5b272ac0d480aff6404f3fa89efd7c6fd76 100644 (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>
index 19b4c3d80096cfa35442df1a184ac905207f943e..f79ea392ca2b5177f869c35a7247d303693e8d18 100644 (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>