Hyperlink-Redirect/templates/index.mustache

20 lines
618 B
Plaintext
Raw Permalink Normal View History

2023-11-01 04:52:19 +00:00
{{> header}}
2023-11-03 05:04:45 +00:00
{{^redirect-url}}
2023-11-03 04:14:08 +00:00
{{#hyperlink}}
<p>Your hyperlink is: <a href="{{hyperlink}}">{{hyperlink}}</a></p>
{{/hyperlink}}
<form method="post">
2023-11-03 14:31:17 +00:00
<div>
<label for="hyperlink">Hyperlink</label>
<input id="hyperlink" name="hyperlink" type="text" minlength="4"
maxlength="2083" required>
<input id="meta-refresh" name="meta-refresh" type="checkbox">
<label for="meta-refresh">
<a href="https://en.wikipedia.org/wiki/Meta_refresh">Meta refresh?</a>
</label>
</div>
2023-11-03 04:14:08 +00:00
<button type="submit">Process</button>
</form>
2023-11-03 05:04:45 +00:00
{{/redirect-url}}
2023-11-01 04:52:19 +00:00
{{> footer}}