diff options
Diffstat (limited to 'resources/views/others/new.edge')
-rw-r--r-- | resources/views/others/new.edge | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/resources/views/others/new.edge b/resources/views/others/new.edge new file mode 100644 index 0000000..1b54558 --- /dev/null +++ b/resources/views/others/new.edge | |||
@@ -0,0 +1,40 @@ | |||
1 | @layout('layouts.main') | ||
2 | |||
3 | @section('content') | ||
4 | <h1>Create a new recipe</h1> | ||
5 | <p>Please create a recipe using <a href="https://github.com/meetfranz/plugins/blob/master/docs/integration.md">the | ||
6 | official Franz guide</a>, then publish it here.</p> | ||
7 | <form action="new" method="post" enctype="multipart/form-data"> | ||
8 | <label for="author">Author</label><br /> | ||
9 | <input type="text" name="author" placeholder="Jon Doe" required><br /> | ||
10 | |||
11 | <label for="name">Name</label><br /> | ||
12 | <input type="text" name="name" placeholder="Sample Service" required><br /> | ||
13 | |||
14 | <label for="id">Service ID</label><br /> | ||
15 | <input type="text" name="id" placeholder="sample-service" required><br /> | ||
16 | |||
17 | <label for="png">Link to PNG image*</label><br /> | ||
18 | <input type="text" name="png" placeholder="https://.../logo.png" required><br /> | ||
19 | |||
20 | <label for="svg">Link to SVG image*</label><br /> | ||
21 | <input type="text" name="svg" placeholder="https://.../logo.svg" required><br /> | ||
22 | *These images must be publicly availible and have CORS enabled in order to work.<br /><br /> | ||
23 | |||
24 | <label for="package">Recipe files</label><br /> | ||
25 | <div id="dropzone" effectAllowed="move"> | ||
26 | <div> | ||
27 | Drop recipe files here<br />or click here to select files | ||
28 | <p> | ||
29 | Drag and drop your recipe files into this area.<br /> | ||
30 | Please do not select the folder that contains the files but rather the files itself. | ||
31 | </p> | ||
32 | </div> | ||
33 | </div> | ||
34 | <input type="file" name="files[]" id="files" value="" multiple required><br /><br /> | ||
35 | |||
36 | <button type="submit" id="submitbutton">Create recipe</button> | ||
37 | </form> | ||
38 | |||
39 | <script src="js/new.js"></script> | ||
40 | @endsection | ||