summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorpantsucat <contact@pantsu.cat>2015-09-18 00:40:37 +0200
committerpantsucat <contact@pantsu.cat>2015-09-18 00:40:37 +0200
commit38224ad167d0c5dd3d2c244e632c5db3ecc8253a (patch)
tree9204a47b35d6a63cc5935b40ef96772be1c3996c /pages
parent943e7e62a8ca814d47168bcebf2cc92dbce9a45a (diff)
Start translation of pages to catalan
Diffstat (limited to 'pages')
-rw-r--r--pages/check_fileapica.swig3
-rw-r--r--pages/check_scriptca.swig3
-rw-r--r--pages/faqca.swig22
-rw-r--r--pages/indexca.swig16
-rw-r--r--pages/layoutca.swig15
-rw-r--r--pages/nav.swig1
-rw-r--r--pages/navca.swig11
-rw-r--r--pages/upload_formca.swig3
8 files changed, 74 insertions, 0 deletions
diff --git a/pages/check_fileapica.swig b/pages/check_fileapica.swig
new file mode 100644
index 0000000..1cc04a9
--- /dev/null
+++ b/pages/check_fileapica.swig
@@ -0,0 +1,3 @@
+<p id="no-file-api" class="alert alert-error">
+ <strong>Your browser is shit.</strong> Install the latest<a href="http://firefox.com/">Firefox</a> or <a href="http://chrome.google.com/">Botnet</a> and come back &lt;3
+</p>
diff --git a/pages/check_scriptca.swig b/pages/check_scriptca.swig
new file mode 100644
index 0000000..2463580
--- /dev/null
+++ b/pages/check_scriptca.swig
@@ -0,0 +1,3 @@
+<noscript>
+ <p class="alert alert-error"><strong>Enable JavaScript</strong> you fucking autist neckbeard, it's not gonna hurt you. <a href="https://no.pantsu.cat">Javascript free version</a></p>
+</noscript>
diff --git a/pages/faqca.swig b/pages/faqca.swig
new file mode 100644
index 0000000..320f4b4
--- /dev/null
+++ b/pages/faqca.swig
@@ -0,0 +1,22 @@
+{% extends "layout.swig" %}
+
+{% block title %}FAQ{% endblock %}
+{% block body %}
+<div class="jumbotron">
+<h1>FAQ</h1>
+{% include "nav.swig" %}
+</div>
+<ul>
+ <li>Pantsu does NOT support Internet Explorer and older versions of Firefox, Chrome, Opera and Safari.</li>
+ <li>Uploading tools for Pantsu can be found at Tools. (Currently working to update them all to work with pantsu.cat)</li>
+ <li>Max file size is {{max_upload_size}}MiB, hopefully I won't have to change this to a even lower number. (read: don't be an ass).</li>
+ <li>No Child porn, anything else goes until I get a lawsuit I guess. (unless its a virus, because that goes into the being an ass category).</li>
+ <li>All filetypes are allowed, ALL! (gif,exe,jpg,rar,ass,srt,etc,etc).</li>
+ <li>No data is collected or logged by us. This won't change. Cloudflare isn't in use</li>
+ <li>Please contact me at <a href="mailto:contact@pantsu.cat">contact@pantsu.cat</a> for any questions.</li>
+ <li>If you wish to send me any DMCA requests please contact me at <a href="mailto:abuse@pantsu.cat>abuse@pantsu.cat</a></li>
+ <li>If any changes to these policies happen you will be informed about them.</li>
+ <li>I will keep the site as transparent as possible. This will include any files that I remove will be publically listed and have a copy of the DMCA notice. For more information please visit the <a href="//transparency.pantsu.cat">transparency information</a> page.</li>
+</ul>
+{% include "banners.swig" %}
+{% endblock %}
diff --git a/pages/indexca.swig b/pages/indexca.swig
new file mode 100644
index 0000000..af16901
--- /dev/null
+++ b/pages/indexca.swig
@@ -0,0 +1,16 @@
+{% extends "layout.swig" %}
+
+{% block body %}
+<div class="jumbotron">
+ <header>
+ <h1 >Roba Interior~</h1>
+ </header>
+ <p class="lead">Màxima grandària de pujada {{max_upload_size}}MiB, read the <a href="faq.html">FAQ</a></p>
+ {% include "check_scriptca.swig" %}
+ {% include "check_fileapica.swig" %}
+ {% include "upload_formca.swig" %}
+</div>
+{% include "banners.swig" %}
+{% include "nav.swig" %}
+<script src="pomf.min.js"></script>
+{% endblock %}
diff --git a/pages/layoutca.swig b/pages/layoutca.swig
new file mode 100644
index 0000000..a7f3a6b
--- /dev/null
+++ b/pages/layoutca.swig
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="ca">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>RobauInterior.cat &middot; {% block title %}Allotjament d'arxius valent{% endblock %}</title>
+ <link rel="icon" href="favicon.ico">
+ <link rel="stylesheet" href="pomf.min.css">
+</head>
+<body>
+<div class="container">
+ {% block body %}What the fuck are you doing here, baka?{% endblock %}
+</div>
+</body>
+</html>
diff --git a/pages/nav.swig b/pages/nav.swig
index 52cf818..710b9cb 100644
--- a/pages/nav.swig
+++ b/pages/nav.swig
@@ -6,5 +6,6 @@
<a href="//github.com/pantsucat/pomf">Github</a></li><li>
<a href="other.html">Other</a></li><li>
<a href="//transparency.pantsu.cat">Transparency</a></li>
+ <a href="ca.pantsu.cat/">Catalan</a></li><li>
</ul>
</nav>
diff --git a/pages/navca.swig b/pages/navca.swig
new file mode 100644
index 0000000..710b9cb
--- /dev/null
+++ b/pages/navca.swig
@@ -0,0 +1,11 @@
+<nav>
+ <ul><li>
+ <a href="//pantsu.cat/">Pantsu</a></li><li>
+ <a href="//p.pantsu.cat/">Paste</a></li><li>
+ <a href="tools.html">Tools</a></li><li>
+ <a href="//github.com/pantsucat/pomf">Github</a></li><li>
+ <a href="other.html">Other</a></li><li>
+ <a href="//transparency.pantsu.cat">Transparency</a></li>
+ <a href="ca.pantsu.cat/">Catalan</a></li><li>
+ </ul>
+</nav>
diff --git a/pages/upload_formca.swig b/pages/upload_formca.swig
new file mode 100644
index 0000000..a98a40b
--- /dev/null
+++ b/pages/upload_formca.swig
@@ -0,0 +1,3 @@
+<a href="javascript:;" id="upload-btn" class="btn">Seleccionar <span>o deixar anar </span> expedient(s)</a>
+<input type="file" id="upload-input" name="files[]" multiple data-max-size="{{max_upload_size}}MiB">
+<ul id="upload-filelist"></ul>