The version of vichan running on lainchan.org
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

30 lignes
1.4KB

  1. <div style="text-align:center">
  2. <form method="POST">
  3. <input name="token" value="{{ token }}" type="hidden">
  4. <table>
  5. <tr>
  6. <th>{% trans %}Markup method{% endtrans %}
  7. {% set allowed_html = config.allowed_html %}
  8. {% trans %}<p class="unimportant">"markdown" is provided by <a href="http://parsedown.org/">parsedown</a>. Note: images disabled.</p>
  9. <p class="unimportant">"html" allows the following tags:<br/>{{ allowed_html }}</p>
  10. <p class="unimportant">"infinity" is the same as what is used in posts.</p>
  11. <p class="unimportant">This page will not convert between formats,<br/>choose it once or do the conversion yourself!</p>{% endtrans %}
  12. </th>
  13. <td>
  14. <select name="method">
  15. {% for markup in ['markdown', 'html', 'infinity'] %}
  16. <option value="{{ markup }}" {% if page.type == markup %}selected{% endif %}>{{ markup }}</option>
  17. {% endfor %}
  18. </select>
  19. </td></tr>
  20. <tr><th>{% trans %}Page content{% endtrans %}
  21. <br/>
  22. <span class="unimportant">{% trans %}Page will appear at:{% endtrans %}
  23. {% if board %} <a href="/{{ board.uri }}/{{ page.name }}.html">{{ config.domain }}/{{ board.uri }}/{{ page.name }}.html</a>
  24. {% else %} <a href="/{{ page.name }}.html">{{ config.site }}/{{ page.name }}.html</a>
  25. {% endif %}</span></th><td><textarea name="content" style="height:500px;width:500px">{{content}}</textarea></td><tr>
  26. </table>
  27. <input type="submit" value="Save page">
  28. </form>
  29. </div>