This repository has been archived by the owner on Jun 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ccebaf
commit 12fa8ec
Showing
12 changed files
with
317 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<div style="text-align:center"> | ||
<form method="POST"> | ||
<input name="token" value="{{ token }}" type="hidden"> | ||
<table> | ||
<tr> | ||
<th>{% trans %}Markup method{% endtrans %} | ||
{% set allowed_html = config.allowed_html %} | ||
{% trans %}<p class="unimportant">"markdown" is provided by <a href="http://parsedown.org/">parsedown</a>. Note: images disabled.</p> | ||
<p class="unimportant">"html" allows the following tags:<br/>{{ allowed_html }}</p> | ||
<p class="unimportant">"infinity" is the same as what is used in posts.</p> | ||
<p class="unimportant">This page will not convert between formats,<br/>choose it once or do the conversion yourself!</p>{% endtrans %} | ||
</th> | ||
<td> | ||
<select name="method"> | ||
{% for markup in ['markdown', 'html', 'infinity'] %} | ||
<option value="{{ markup }}" {% if page.type == markup %}selected{% endif %}>{{ markup }}</option> | ||
{% endfor %} | ||
</select> | ||
</td></tr> | ||
<tr><th>{% trans %}Page content{% endtrans %} | ||
<br/> | ||
<span class="unimportant">{% trans %}Page will appear at:{% endtrans %} | ||
{% if board %} <a href="/{{ board.uri }}/{{ page.name }}.html">{{ config.domain }}/{{ board.uri }}/{{ page.name }}.html</a> | ||
{% else %} <a href="/{{ page.name }}.html">{{ config.site }}/{{ page.name }}.html</a> | ||
{% endif %}</span></th><td><textarea name="content" style="height:500px;width:500px">{{content}}</textarea></td><tr> | ||
</table> | ||
<input type="submit" value="Save page"> | ||
</form> | ||
</div> |
Oops, something went wrong.