From 512fb6d72f897e688143dee13ae5fd6b87cb4791 Mon Sep 17 00:00:00 2001 From: Mandragorat Wandystanu Date: Sat, 18 Nov 2017 01:26:16 +0100 Subject: New site layout. --- templates/404.swig | 12 ++++++ templates/banners.swig | 3 -- templates/banners/donations.swig | 23 ----------- templates/banners/malware_scans.swig | 3 -- templates/faq.swig | 27 ------------- templates/index.swig | 11 ------ templates/layout.swig | 37 ++++++++++-------- templates/nav.swig | 9 ----- templates/tools.swig | 74 ------------------------------------ templates/upload_form.swig | 6 --- templates/upload_logged.swig | 21 ++++++++++ templates/upload_unlogged.swig | 10 +++++ 12 files changed, 65 insertions(+), 171 deletions(-) create mode 100644 templates/404.swig delete mode 100644 templates/banners.swig delete mode 100644 templates/banners/donations.swig delete mode 100644 templates/banners/malware_scans.swig delete mode 100644 templates/faq.swig delete mode 100644 templates/index.swig delete mode 100644 templates/nav.swig delete mode 100644 templates/tools.swig delete mode 100644 templates/upload_form.swig create mode 100644 templates/upload_logged.swig create mode 100644 templates/upload_unlogged.swig (limited to 'templates') diff --git a/templates/404.swig b/templates/404.swig new file mode 100644 index 0000000..2da998c --- /dev/null +++ b/templates/404.swig @@ -0,0 +1,12 @@ +{% extends "layout.swig" %} + +{% block title %}błąd 404{% endblock %} + +{% block menu %} +
  • ⮬ wyślij plik
  • +{% endblock %} + +{% block body %} +

    Błąd 404

    +

    Nie znaleziono pliku którego szukasz

    +{% endblock %} diff --git a/templates/banners.swig b/templates/banners.swig deleted file mode 100644 index 59b72e8..0000000 --- a/templates/banners.swig +++ /dev/null @@ -1,3 +0,0 @@ -{% for banner in banners %} - {% include banner %} -{% endfor %} diff --git a/templates/banners/donations.swig b/templates/banners/donations.swig deleted file mode 100644 index 98c5418..0000000 --- a/templates/banners/donations.swig +++ /dev/null @@ -1,23 +0,0 @@ -

    - {{siteName}} is free to use, but our hosting costs are far from it — donations are what keep {{siteName}} alive, free, and fast. - -

    diff --git a/templates/banners/malware_scans.swig b/templates/banners/malware_scans.swig deleted file mode 100644 index 8ec6e58..0000000 --- a/templates/banners/malware_scans.swig +++ /dev/null @@ -1,3 +0,0 @@ -

    - Malware scans are run daily — files identified as malware will be removed without further notice. -

    diff --git a/templates/faq.swig b/templates/faq.swig deleted file mode 100644 index 0f89245..0000000 --- a/templates/faq.swig +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "layout.swig" %} - -{% block title %}FAQ{% endblock %} -{% block body %} -
    -
    -

    FAQ

    -
    -

    What is {{siteName}}?

    -

    {{siteName}} is a simple to use free file hosting service. It lets you share your photos, documents, music, videos and more with others online.

    -

    What works are allowed?

    -

    {{siteName}} welcomes uploading all works, as long as the work is legal in Australia and you have the legal right to publish the work on our service.

    -

    As an exception to this policy to prevent abuse, we do not allow malware on our service. Any malware that could be used to infect other computers may be removed from our service at our discretion.

    -

    Do you keep logs of uploaded works?

    -

    We don't collect or log any data of our users in respect for privacy. We only have files uploaded by our users.

    -

    Can you remove my copyrighted work?

    -

    Please submit your copyright takedown notice to {{abuseContact}}. We will handle your notice within 24 hours and disable access to the infringing work after receiving a notice compliant with the Copyright Act 1968 (Australia).

    -

    Can you remove works that are defaming me or otherwise infringing my non-copyright rights?

    -

    {{siteName}} respects takedowns for other works when accompanied with a certified Australian court order. If you are unable to obtain the order, a preliminary injuction or court order is typically also sufficient. Please forward the notice to {{abuseContact}}.

    -

    Can you remove illegal works?

    -

    Please contact the appropriate law enforcement agency if you notice illegal works hosted on Pantsu.cat. We have not been trained or qualified to investigate and fight crimes and enforce the law, so it's not appropriate to send accusations of illegal activity to us. You must contact the appropriate law enforcement office. They may then contact us if appropriate.

    -

    If you are an Australian law enforcement official and you need our assistance, please contact {{abuseContact}}. If you are a law enforcement official from another country, we may voluntarily cooperate if the crime you are investigating would also be illegal in Australia.

    -

    I have a question...

    -

    Send us an email at {{infoContact}} and let's talk!

    -
    -{% include "nav.swig" %} -{% endblock %} diff --git a/templates/index.swig b/templates/index.swig deleted file mode 100644 index 02344f4..0000000 --- a/templates/index.swig +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "layout.swig" %} - -{% block body %} -
    -

    {{siteName}}~

    -

    Max upload size is {{max_upload_size}} MiB, read the FAQ

    - {% include "upload_form.swig" %} -
    -{% include "banners.swig" %} -{% include "nav.swig" %} -{% endblock %} diff --git a/templates/layout.swig b/templates/layout.swig index 68f44d7..fc79086 100644 --- a/templates/layout.swig +++ b/templates/layout.swig @@ -1,17 +1,24 @@ - - - - - - {{siteName}} · {% block title %}Kawaii File Hosting{% endblock %} - - - - - -
    - {% block body %}What the fuck are you doing here, baka?{% endblock %} -
    - + + + + + + + {{siteName}} − {% block title %}wandejski uploader plików{% endblock %} + + +
    + +
  • Mandragorat Wandystanu
  • + {% block menu %}
  • elementy menu
  • {% endblock %} +
    +
    +
    + {% block body %}

    Co tu robisz, пиздец?

    {% endblock %} +
    + + diff --git a/templates/nav.swig b/templates/nav.swig deleted file mode 100644 index f10fef7..0000000 --- a/templates/nav.swig +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/templates/tools.swig b/templates/tools.swig deleted file mode 100644 index d81a92b..0000000 --- a/templates/tools.swig +++ /dev/null @@ -1,74 +0,0 @@ -{% extends "layout.swig" %} - -{% block title %}Tools{% endblock %} -{% block body %} -
    -

    Pomf Tools

    -
    -
    -

    pomfload

    -
    -
    Download
    -
    https://github.com/ewhal/pomfload
    -
    Contact
    -
    https://twitter.com/AnonymousLink
    -
    -
    -
    -

    limf

    -
    -
    Download
    -
    https://github.com/lich/limf
    -
    Contact
    -
    http://lich.github.io/
    -
    -
    -
    -

    1339secure

    -
    -
    Download
    -
    https://github.com/AdrianKoshka/1339secure
    -
    Contact
    -
    adriankoshcha@teknik.io
    -
    -
    -
    -

    ShareX

    -
    -
    Download
    -
    https://getsharex.com
    -
    Source
    -
    https://github.com/ShareX/ShareX
    -
    Contact
    -
    #ShareX on irc.freenode.net
    -
    -
    -
    -

    Gyazowin

    -
    -
    Download
    -
    https://github.com/avail/gyazowin
    -
    Contact
    -
    https://twitter.com/4vail
    -
    -
    -
    -

    Pomfshare

    -
    -
    Download
    -
    https://github.com/Nyubis/Pomfshare
    -
    Contact
    -
    https://github.com/Nyubis
    -
    -
    -
    -

    Pomf Rehost

    -
    -
    Download
    -
    https://git.fuwafuwa.moe/lesderid/pomf-rehost
    -
    Contact
    -
    les@fuwafuwa.moe
    -
    -
    -{% include "nav.swig" %} -{% endblock %} diff --git a/templates/upload_form.swig b/templates/upload_form.swig deleted file mode 100644 index 6c5de14..0000000 --- a/templates/upload_form.swig +++ /dev/null @@ -1,6 +0,0 @@ -
    - - - -
    - diff --git a/templates/upload_logged.swig b/templates/upload_logged.swig new file mode 100644 index 0000000..44b6393 --- /dev/null +++ b/templates/upload_logged.swig @@ -0,0 +1,21 @@ +{% extends "layout.swig" %} + +{% block menu %} +
  • ❌ wyloguj
  • +{% endblock %} + +{% block body %} +

    {{siteName}}

    +

    Maksymalny rozmiar plików to {{max_upload_size}} MiB

    +{% block form %} +
    +

    + + + +

    +
    + + +{% endblock %} +{% endblock %} diff --git a/templates/upload_unlogged.swig b/templates/upload_unlogged.swig new file mode 100644 index 0000000..bb7a384 --- /dev/null +++ b/templates/upload_unlogged.swig @@ -0,0 +1,10 @@ +{% extends "upload_logged.swig" %} + +{% block menu %} +
  • ∗ zarejestruj
  • +
  • ∗ zaloguj
  • +{% endblock %} + +{% block form %} +

    +{% endblock %} -- cgit v1.2.3