diff options
| author | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-15 23:58:59 +0200 |
|---|---|---|
| committer | Eliot Whalan <ewhal@pantsu.cat> | 2016-06-15 23:58:59 +0200 |
| commit | db3c6b44d8ba27d032a3c259f8b3a2a9d1c877b5 (patch) | |
| tree | 08d8fc69b42f5dfdbb6c791f712529a3bf8e345d /pages | |
| parent | 3a9574bdfff52bc5f8e6b0d94d8f564ff9cf1044 (diff) | |
Revert "Add Expat copyright headers to pages (SWIG)"
This reverts commit 3b4701b240f55b4e97edee7fdc13fec35a76fc5a.
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/banners.swig | 26 | ||||
| -rw-r--r-- | pages/banners/donate.swig | 26 | ||||
| -rw-r--r-- | pages/banners/virusscans.swig | 4 | ||||
| -rw-r--r-- | pages/ca.swig | 16 | ||||
| -rw-r--r-- | pages/check_fileapi.swig | 21 | ||||
| -rw-r--r-- | pages/check_fileapica.swig | 3 | ||||
| -rw-r--r-- | pages/check_script.swig | 21 | ||||
| -rw-r--r-- | pages/check_scriptca.swig | 3 | ||||
| -rw-r--r-- | pages/faq.swig | 21 | ||||
| -rw-r--r-- | pages/index.swig | 22 | ||||
| -rw-r--r-- | pages/layout.swig | 22 | ||||
| -rw-r--r-- | pages/layoutca.swig | 15 | ||||
| -rw-r--r-- | pages/nav.swig | 21 | ||||
| -rw-r--r-- | pages/nojs.swig | 22 | ||||
| -rw-r--r-- | pages/other.swig | 22 | ||||
| -rw-r--r-- | pages/tools.swig | 23 | ||||
| -rw-r--r-- | pages/upload_form.swig | 21 | ||||
| -rw-r--r-- | pages/upload_form_nojs.swig | 21 | ||||
| -rw-r--r-- | pages/upload_formca.swig | 3 |
19 files changed, 44 insertions, 289 deletions
diff --git a/pages/banners.swig b/pages/banners.swig index ce25555..59b72e8 100644 --- a/pages/banners.swig +++ b/pages/banners.swig @@ -1,29 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - -{# -This template is deprecated since version 2.1.0. It may be removed in a future -release. -#} - {% for banner in banners %} {% include banner %} {% endfor %} diff --git a/pages/banners/donate.swig b/pages/banners/donate.swig index 6a9b73b..dcd7f7c 100644 --- a/pages/banners/donate.swig +++ b/pages/banners/donate.swig @@ -1,29 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - -{# -This template is deprecated since version 2.1.0. It may be removed in a future -release. -#} - <p class="alert alert-info"> <strong>pomf.se is a free service, but our hosting bill isn't</strong> — we need almost $100 a month for that. Donations help keep pomf.se free, online, and fast. Everything (after fees) goes to the hosting bill. <span class="donate-btns"> diff --git a/pages/banners/virusscans.swig b/pages/banners/virusscans.swig index 16a3608..3c5a224 100644 --- a/pages/banners/virusscans.swig +++ b/pages/banners/virusscans.swig @@ -1,3 +1,4 @@ +<<<<<<< HEAD {# Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> @@ -25,5 +26,8 @@ release. #} <p class="alert alert-info"> +======= +<p class="alert alert-error"> +>>>>>>> parent of 3b4701b... Add Expat copyright headers to pages (SWIG) <strong>Virus scans are now a daily routine</strong> — if a file gets detected it will be removed without further notice. </p> diff --git a/pages/ca.swig b/pages/ca.swig new file mode 100644 index 0000000..252ff7c --- /dev/null +++ b/pages/ca.swig @@ -0,0 +1,16 @@ +{% extends "layoutca.swig" %} + +{% block body %} +<div class="jumbotron"> + <header> + <h1>Ropa 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/check_fileapi.swig b/pages/check_fileapi.swig index 2ba1d86..a4efb07 100644 --- a/pages/check_fileapi.swig +++ b/pages/check_fileapi.swig @@ -1,24 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - <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 <3 </p> diff --git a/pages/check_fileapica.swig b/pages/check_fileapica.swig new file mode 100644 index 0000000..aba061d --- /dev/null +++ b/pages/check_fileapica.swig @@ -0,0 +1,3 @@ +<p id="no-file-api" class="alert alert-error"> + <strong>El seu navegador és una merda.</strong> Instal l'última <a href="http://firefox.com/">Firefox</a> o <a href="http://chrome.google.com/">Botnet</a> i tornar <3 +</p> diff --git a/pages/check_script.swig b/pages/check_script.swig index 224c547..8bf8f39 100644 --- a/pages/check_script.swig +++ b/pages/check_script.swig @@ -1,24 +1,3 @@ -{# -Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - <noscript> <p class="alert alert-error">This site requires JavaScript. Please enable JavaScript in your browser or use the <a href="nojs.html">JavaScript-free uploader</a>.</p> </noscript> diff --git a/pages/check_scriptca.swig b/pages/check_scriptca.swig new file mode 100644 index 0000000..3c8b01a --- /dev/null +++ b/pages/check_scriptca.swig @@ -0,0 +1,3 @@ +<noscript> + <p class="alert alert-error"><a href="https://no.pantsu.cat">Javascript versió gratuïta</a></p> +</noscript> diff --git a/pages/faq.swig b/pages/faq.swig index f4d78a6..efcdd5a 100644 --- a/pages/faq.swig +++ b/pages/faq.swig @@ -1,24 +1,3 @@ -{# -Copyright (c) 2015, 2016 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - {% extends "layout.swig" %} {% block title %}FAQ{% endblock %} diff --git a/pages/index.swig b/pages/index.swig index 91054a8..bdde4f4 100644 --- a/pages/index.swig +++ b/pages/index.swig @@ -1,25 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> -Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - {% extends "layout.swig" %} {% block body %} diff --git a/pages/layout.swig b/pages/layout.swig index ebc3c53..5845cd1 100644 --- a/pages/layout.swig +++ b/pages/layout.swig @@ -1,25 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> -Copyright (c) 2015, 2016 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - <!DOCTYPE html> <html lang="en"> <head> diff --git a/pages/layoutca.swig b/pages/layoutca.swig new file mode 100644 index 0000000..536676f --- /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>Ropa Interior.cat · {% 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 9bad2af..a6ee95b 100644 --- a/pages/nav.swig +++ b/pages/nav.swig @@ -1,24 +1,3 @@ -{# -Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - <nav> <ul> <li><a href="/">Pantsu</a></li> diff --git a/pages/nojs.swig b/pages/nojs.swig index 5552b11..d4800ee 100644 --- a/pages/nojs.swig +++ b/pages/nojs.swig @@ -1,25 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> -Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - {% extends "layout.swig" %} {% block body %} diff --git a/pages/other.swig b/pages/other.swig index a664aa5..5835fe5 100644 --- a/pages/other.swig +++ b/pages/other.swig @@ -1,25 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> -Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - {% extends "layout.swig" %} {% block title %}Other Services{% endblock %} diff --git a/pages/tools.swig b/pages/tools.swig index 01aa3dc..19af1f8 100644 --- a/pages/tools.swig +++ b/pages/tools.swig @@ -1,26 +1,3 @@ -{# -Copyright (c) 2013, 2014 Peter Lejeck <peter.lejeck@gmail.com> -Copyright (c) 2013, 2014 Eric Johansson <neku@pomf.se> -Copyright (c) 2015, 2016 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - {% extends "layout.swig" %} {% block title %}Tools{% endblock %} diff --git a/pages/upload_form.swig b/pages/upload_form.swig index 7266f2b..846b4d6 100644 --- a/pages/upload_form.swig +++ b/pages/upload_form.swig @@ -1,24 +1,3 @@ -{# -Copyright (c) 2013 Peter Lejeck <peter.lejeck@gmail.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - <button id="upload-btn" class="btn" type="button">Select or drop file(s)</button> <input type="file" id="upload-input" name="files[]" multiple data-max-size="{{max_upload_size}}MiB"> <ul id="upload-filelist"></ul> diff --git a/pages/upload_form_nojs.swig b/pages/upload_form_nojs.swig index 1952a0d..2bddafb 100644 --- a/pages/upload_form_nojs.swig +++ b/pages/upload_form_nojs.swig @@ -1,24 +1,3 @@ -{# -Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#} - <form enctype="multipart/form-data" method="post" action="upload.php?output=html"> <input type="file" name="files[]" multiple data-max-size="{{max_upload_size}}MiB"> <input type="submit" value="Submit"> 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> |
