summaryrefslogtreecommitdiff
path: root/pages
AgeCommit message (Collapse)Author
2015-10-15Remove Catalan pages/translationsJuuso Lapinlampi
This is not the right way to do i18n. Banners are difficult and buggy with translations, the folder structure is wrong and the result is duplicated markup. For the sake of maintainability, I am liberally removing this from core. Future i18n attempts should use real gettext implementations and possibly seperate i18n files from core as an extension. Because Cupkle contributed the Catalan translation, this also removes him/her from contributors.
2015-10-07Update gyazowin tool author contact to @4vailJuuso Lapinlampi
Fixes a dead link.
2015-09-26Rename Catalan virus scans banner as virusscans.swigJuuso Lapinlampi
bannersca.json looks for virusscans.swig, but the actual template for this has a wrong file name lacking the "-s". This fixes a bug introduced in 975e255.
2015-09-26Change virus scan banner class to alert-infoJuuso Lapinlampi
alert-info conveys a message "this needs your attention, but it's not super important." alert-error conveys a message "you screwed up, please correct the error or leave the site." This means alert-error should only be used for errors the user has made. Using it for an informational message about virus scans is incorrect.
2015-09-26Remove extra two character whitespace between wordsJuuso Lapinlampi
This fixes style two character whitespace in pages (Swig) with one character whitespace. See the broken windows theory: https://en.wikipedia.org/wiki/Broken_windows_theory
2015-09-26Use <input type="hidden"> in upload_form_nojs.swigJuuso Lapinlampi
Replacing <form> action with an <input> creates an additional semantic meaning, and it's now modifiable more easily in DOM.
2015-09-26Indent upload_form_nojs.swig from spaces to tabsJuuso Lapinlampi
This creates consistency with other Swig templates.
2015-09-26Remove <br> element from upload_form_nojs.swigJuuso Lapinlampi
<br> is a presentantional element, not semantic. Use CSS instead.
2015-09-26Remove non-valid href element from #upload-btnJuuso Lapinlampi
This fixes a silly validation error that was introduced in last commit. The javascript:; is reduntant anyway.
2015-09-26Remove reduntant <span> element in #upload-btnJuuso Lapinlampi
There seems to be no meaning to having this <span> element here with no styling applied to it. It doesn't have anything to do with drag and drop functionality either, and nothing seems to be broken after removing it.
2015-09-26Replace #upload-btn <a> element with <button>Juuso Lapinlampi
Corrects semantics and increases accessibility. The <a> element represents a hyperlink. A hyperlink is "a link from a hypertext file or document to another location or file." This is not what #upload-btn is, it's a button. Ask yourself: "Does the element change the URL?" In our case, the upload button does not so it is incorrect to use an <a> element here. The idea to use <a> elements as buttons comes from years ago when you couldn't style <button> elements in legacy browsers. Today you can, so there's no reason to break the semantics. Reference: http://blogs.ancestry.com/techroots/buttons-vs-anchors/
2015-09-26Remove <header> element from index pagesJuuso Lapinlampi
The <header> element represents a group of introductory or navigational aids. It is semantically incorrect to use it with only one element inside. The <header> element was introduced in commit 87014fa08f. That commit describes the correct usage of <header> element with multiple elements inside <header>. This bug was introduced in commit fd566d3d7f.
2015-09-26Regain sanity in nav.swig links with correct pathsJuuso Lapinlampi
Before this commit, Catalan pages had no way to return to the Catalan index page using the navigation. Instead of hardcoding pantsu.cat URLs to index, use a sane "/" path.
2015-09-26Rename ca.swig as indexca.swigJuuso Lapinlampi
ca.swig is confusing and difficult to find. This commit creates consistency with other pages until someone more knowledgeable person tells me how to sort these to /pages/ca/ with Gruntfile.
2015-09-25Remove Pantsu.cat from check_fileapica.swig authorsJuuso Lapinlampi
wub@ and ewhal@ no longer have any content in this file. It's been replaced.
2015-09-25Fix HTML lang attributes for Catalan translationJuuso Lapinlampi
2015-09-25Add full, more accurate Catalan translationCupkle
2015-09-24Merge remote-tracking branch 'origin/copyright-headers'Eliot Whalan
2015-09-23Fix other.swig title from "FAQ" to "Other Services"Juuso Lapinlampi
2015-09-23Fix index page indentation from spaces to tabsJuuso Lapinlampi
Silly ewhal@, that's not how you indent pages. Fixes a code style violation introduced in commit 87014fa08f.
2015-09-23Add Expat copyright headers to pages (SWIG)Juuso Lapinlampi
2015-09-23Add missing whitespace to check_fileapi (Firefox)Juuso Lapinlampi
2015-09-23Fix sharex config URLEliot Whalan
2015-09-23Add JS free version linkEliot Whalan
2015-09-23Add hidden service urlEliot Whalan
2015-09-23Replace github url with git.pantsu.catEliot Whalan
Development at github has stopped and has been moved entirely over to self hosted gogs server.
2015-09-22Add missing double quote in FAQEliot Whalan
2015-09-21Remove dead and unmaintained toolspantsucat
2015-09-20Update links to correct URLspantsucat
2015-09-20Fix limf contact URLpantsucat
2015-09-20Add download link to gyazowin binarypantsucat
2015-09-19Replace github urls with self-hosted Gitpantsucat
2015-09-19Fix spelling of 'Ropa Interior'pantsucat
2015-09-19Fix whitespace and restore PSR-2 styleWubTheCaptain
2015-09-18Change sharex setting urlpantsucat
2015-09-18Remove unnecessary paragraphspantsucat
2015-09-18Fix no html output on upload.phppantsucat
2015-09-18Fixed minor typopantsucat
2015-09-18Add more translations to catalanpantsucat
2015-09-18Fix link errorpantsucat
2015-09-18Fix html typopantsucat
2015-09-18Fix url linkspantsucat
2015-09-18Add links to updated and working scripts and toolspantsucat
2015-09-18Start translation of pages to catalanpantsucat
2015-09-17Add link to JS free versionpantsucat
2015-09-17Add a version of the site without JavaScriptpantsucat
2015-09-16Remove poorly worded line from faqpantsucat
2015-09-16Add email link to faqpantsucat
2015-09-15Remove rel=shortcut from favicon <link>pantsucat
If the shortcut value is omitted from the rel attribute, Internet Explorer ≤ 8 ignores the declaration entirely, searches for a file called favicon.ico in the site root, and uses that instead. In fact, almost every browser does that when there’s no link rel="icon" specified. Using rel="icon shortcut" won’t work in IE either, since it doesn’t treat the rel attribute as a space-separated list. [1] https://mathiasbynens.be/notes/rel-shortcut-icon
2015-09-15Add lang=en attribute to <head> for accessibilitypantsucat