about summary refs log tree commit diff
path: root/served/quark/edit-section.html
blob: 4d5e905c33ade62fad867fe75baa20daa490cc9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<section id="cancel" class="box">
	<a href="?">back</a>
</section>

<section id="edit-section" class="box">
	<h2>Editing section '{section-editing}'</h2>
	<form id="edit-section-form" action="/quark/api/edit/section" method="POST" target="result">
		<input type="hidden" name="name" value="{section-editing}">
		<label for="edit-home">Section Homepage Redirection</label>
		<input type="text" id="edit-home" name="home" value="{section-home}">
		<input type="submit" value="Edit Section" name="edit">
	</form>
	<!-- https://stackoverflow.com/a/16661115 -->
</section>

<section id="preview" class="box">
	<h2>Form Result</h2>
	<iframe name="result"></iframe>
</section>