owl-blogs/embed/editor/editor.html

76 lines
2.6 KiB
HTML
Raw Permalink Normal View History

2022-11-29 19:36:50 +00:00
<details>
2022-12-04 18:15:50 +00:00
<summary>Write Article/Page</summary>
2022-11-29 19:36:50 +00:00
<form action="" method="post">
<h2>Create New Article</h2>
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
2022-12-04 18:15:50 +00:00
<select name="type">
<option value="article">Article</option>
<option value="page">Page</option>
</select>
2022-11-29 19:36:50 +00:00
<label for="title">Title</label>
<input type="text" name="title" placeholder="Title" />
<label for="description">Description</label>
<input type="text" name="description" placeholder="Description" />
<label for="content">Content</label>
<textarea name="content" placeholder="Content" rows="24"></textarea>
<input type="checkbox" name="draft" />
<label for="draft">Draft</label>
<br><br>
2022-12-01 18:18:39 +00:00
<input type="submit" value="Create Article" />
2022-11-29 19:36:50 +00:00
</form>
</details>
<details>
<summary>Write Note</summary>
2022-12-01 18:18:39 +00:00
<form action="" method="post">
<h2>Create New Note</h2>
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
<input type="hidden" name="type" value="note">
<label for="content">Content</label>
2022-12-01 18:20:13 +00:00
<textarea name="content" placeholder="Content" rows="8"></textarea>
2022-12-01 18:18:39 +00:00
<br><br>
<input type="submit" value="Create Note" />
</form>
2022-12-04 14:45:51 +00:00
</details>
<details>
<summary>Write Reply</summary>
<form action="" method="post">
<h2>Create New Reply</h2>
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
<input type="hidden" name="type" value="reply">
<label for="reply_url">Reply To</label>
<input type="text" name="reply_url" placeholder="URL" />
<label for="title">Title</label>
<input type="text" name="title" placeholder="Title" />
<label for="content">Content</label>
<textarea name="content" placeholder="Content" rows="8"></textarea>
<br><br>
<input type="submit" value="Create Reply" />
</form>
</details>
<details>
<summary>Bookmark</summary>
<form action="" method="post">
<h2>Create Bookmark</h2>
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
<input type="hidden" name="type" value="bookmark">
<label for="bookmark_url">Bookmark</label>
<input type="text" name="bookmark_url" placeholder="URL" />
<label for="title">Title</label>
<input type="text" name="title" placeholder="Title" />
<label for="content">Content</label>
<textarea name="content" placeholder="Content" rows="8"></textarea>
<br><br>
<input type="submit" value="Create Bookmark" />
</form>
2022-11-29 19:36:50 +00:00
</details>