No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test.html 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!--
  2. This file is part of Lodel 2 (https://github.com/OpenEdition)
  3. Copyright (C) 2015-2017 Cléo UMS-3287
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as published
  6. by the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. {% import "components/components.html" as components %}
  16. <html>
  17. <head></head>
  18. <body>
  19. {{ components.textarea('test', value='ceci est un test', rows=10, cols=20) }}<br/>
  20. URL arg : id = {{ id }}<br />
  21. GET values :<br />
  22. <ul>
  23. {% for argument_name, argument_value in params.items() %}
  24. <li>{{argument_name}} = {{ argument_value }}</li>
  25. {% endfor %}
  26. </ul>
  27. <form action="http://localhost:9090/admin?r=1&rand[]=7&rand[]=5" method="POST" enctype="multipart/form-data">
  28. <input type="text" name="re[]" value="3"><br />
  29. <input type="text" name="re[]" value="1"><br />
  30. <input type="text" name="val" value="8"><br />
  31. <input type="file" name="myfile1"><br />
  32. <input type="file" name="myfile2"><br />
  33. <input type="file" name="myfiles[]"><br />
  34. <input type="file" name="myfiles[]"><br />
  35. <input type="submit" value="tester"><br />
  36. </form>
  37. </body>
  38. </html>