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>
|
2023-01-14 10:28:13 +00:00
|
|
|
<summary>Upload Photo</summary>
|
|
|
|
<form action="" method="post" enctype="multipart/form-data">
|
|
|
|
<h2>Upload Photo</h2>
|
2022-12-01 18:18:39 +00:00
|
|
|
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
|
2023-01-14 10:28:13 +00:00
|
|
|
<input type="hidden" name="type" value="photo">
|
2022-12-04 14:45:51 +00:00
|
|
|
|
|
|
|
<label for="title">Title</label>
|
|
|
|
<input type="text" name="title" placeholder="Title" />
|
2023-01-14 10:28:13 +00:00
|
|
|
<label for="description">Description</label>
|
|
|
|
<input type="text" name="description" placeholder="Description" />
|
2022-12-04 14:45:51 +00:00
|
|
|
<label for="content">Content</label>
|
2023-01-14 10:33:05 +00:00
|
|
|
<textarea name="content" placeholder="Content" rows="4"></textarea>
|
2023-01-14 10:28:13 +00:00
|
|
|
|
|
|
|
<label for="photo">Photo</label>
|
|
|
|
<input type="file" name="photo" placeholder="Photo" />
|
2022-12-04 14:45:51 +00:00
|
|
|
|
|
|
|
<br><br>
|
2023-01-14 10:28:13 +00:00
|
|
|
<input type="submit" value="Create Article" />
|
2022-12-04 14:45:51 +00:00
|
|
|
</form>
|
|
|
|
</details>
|
|
|
|
|
2023-01-12 20:21:29 +00:00
|
|
|
<details>
|
|
|
|
<summary>Write Recipe</summary>
|
|
|
|
<form action="" method="post">
|
|
|
|
<h2>Create new Recipe</h2>
|
|
|
|
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
|
|
|
|
<input type="hidden" name="type" value="recipe">
|
|
|
|
|
|
|
|
<label for="title">Title</label>
|
|
|
|
<input type="text" name="title" placeholder="Title" />
|
|
|
|
|
|
|
|
<label for="yield">Yield</label>
|
|
|
|
<input type="text" name="yield" placeholder="Yield" />
|
|
|
|
|
|
|
|
<label for="duration">Duration</label>
|
|
|
|
<input type="text" name="duration" placeholder="Duration" />
|
|
|
|
|
|
|
|
<label for="description">Description</label>
|
|
|
|
<input type="text" name="description" placeholder="Description" />
|
|
|
|
<label for="ingredients">Ingredients (1 per line)</label>
|
|
|
|
<textarea name="ingredients" placeholder="Ingredients" rows="8"></textarea>
|
|
|
|
|
|
|
|
<label for="content">Instructions</label>
|
|
|
|
<textarea name="content" placeholder="Ingredients" rows="24"></textarea>
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
<input type="submit" value="Create Reply" />
|
|
|
|
</form>
|
|
|
|
</details>
|
|
|
|
|
2023-01-14 10:28:13 +00:00
|
|
|
<details>
|
|
|
|
<summary>Write Note</summary>
|
|
|
|
<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>
|
|
|
|
<textarea name="content" placeholder="Content" rows="8"></textarea>
|
|
|
|
<br><br>
|
|
|
|
<input type="submit" value="Create Note" />
|
|
|
|
</form>
|
|
|
|
</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>
|
|
|
|
|
2022-12-04 14:45:51 +00:00
|
|
|
<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>
|