| 35 | } |
| 36 | |
| 37 | render() { |
| 38 | return el("form#share-form.flex-column", |
| 39 | el("input", {type: "image", target: "i", class: "thumbnail", onclick: "getURL(this)", src: "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'%3E%%3C/svg%3E%0A"}), |
| 40 | el("div.flex-row", |
| 41 | el("div.flex-column", |
| 42 | el("input", {name: "t", oninput: this.parse, placeholder: "Title"}), |
| 43 | el("input", {name: "d", oninput: this.parse, placeholder: "Description"}), |
| 44 | el("input", {id: "i", name: "i", type: "hidden", oninput: this.parse}), |
| 45 | el("input", {id: "f", name: "i", type: "hidden", oninput: this.parse}), |
| 46 | el("input", {name: "url", oninput: this.parse, placeholder: "example.com"}), |
| 47 | el("button", {type: "sumbit", style: "display:none"}, "submit") |
| 48 | ), |
| 49 | el("input", {type: "image", src: "", id: "favicon", target: "f", onclick: "getURL(this)", oninput: this.parse, placeholder: "icon"}) |
| 50 | ) |
| 51 | ) |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | class Menu { |