aboutsummaryrefslogtreecommitdiff
path: root/ui/src/routes/new/+page.svelte
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-01 20:09:47 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-01 20:09:47 -0500
commitb24748777294b3646e67c4b7e599e032ee1dfcf9 (patch)
treef30debd3dcdeca6d35fdb551a22ab94eb3b9c46d /ui/src/routes/new/+page.svelte
parentfa6f3d619e6051d508d9f40c601f77f9b05e1784 (diff)
downloadpaste-b24748777294b3646e67c4b7e599e032ee1dfcf9.tar.gz
paste-b24748777294b3646e67c4b7e599e032ee1dfcf9.tar.xz
Start of Svelte UI
Diffstat (limited to 'ui/src/routes/new/+page.svelte')
-rw-r--r--ui/src/routes/new/+page.svelte44
1 files changed, 44 insertions, 0 deletions
diff --git a/ui/src/routes/new/+page.svelte b/ui/src/routes/new/+page.svelte
new file mode 100644
index 0000000..28687e4
--- /dev/null
+++ b/ui/src/routes/new/+page.svelte
@@ -0,0 +1,44 @@
+
+
+
+
+<div class="content">
+
+<h1>New Paste</h1>
+
+<label for="content">Content:</label>
+<br />
+<br />
+<textarea name="content" id="content" cols="80" rows="20"></textarea>
+
+<br />
+<br />
+<button type="submit">Save</button>
+
+</div>
+
+
+
+<style>
+/* TODO: Figure out why the styles don't get propagated down here
+ from the +layout up above */
+textarea {
+ margin: 0px auto;
+ width: 100%;
+ max-width: 100%;
+ min-width: 75%;
+ color: #000;
+ background-color: #FFFFEA;
+ display: block;
+ padding: 10px;
+ border: 1px solid;
+ line-height: 1.1;
+ overflow: auto;
+ border: 1px solid;
+ padding: 2px;
+ font-size: .8em;
+ font-family: "Roboto Mono", "Monaco", "Lucida Console", "DejaVu Sans Mono", "monospace";
+}
+
+
+</style> \ No newline at end of file