Commit Graph

14 Commits

Author SHA1 Message Date
Gunwant Jain 3e10267caf Add visual cue for uploading files
Unfortunately, since fetch API does not support getting progress while
perfoming uploads, we cannot have a more dynamic cue

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-12-26 09:58:58 +05:30
Gunwant Jain cca3a8bec9 refactor code and add dragover visual cue
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-12-26 08:41:44 +05:30
Gunwant Jain a9dc9452fc index: increase drag area to the entire form
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-07-13 21:58:04 +05:30
Gunwant Jain 04c992e8b3 client: write a simple client for the pastebin
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-07-13 21:23:34 +05:30
Gunwant Jain 1175a57539 index: Add select for choosing languages when pasting
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-07-13 01:39:47 +05:30
Gunwant Jain fbc92b669d index: drag & drop redirects to the syntax highlighted pages
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-07-11 15:50:04 +05:30
Gunwant Jain 8a3b29a0ef templates/index: update the description
Give a quick rundown of how to use the pastebin

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-07-08 21:57:59 +05:30
Gunwant Jain 7726a0e0ee templates, main: copy and paste images
Make use of the Clipboard API. Also vivi dis is for you

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-07-08 20:27:42 +05:30
Gunwant Jain 0cd0d24549 templates: add drag and drop func, use ayu dark
Use a more man-like description

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-07-08 18:51:20 +05:30
Gunwant Jain 150bade1e5 css: change placeholder and made the UI generally tighter
Also I have encouraged the user to change their monospace font
accordingly for the best personal satisfaction.

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-06-19 08:07:25 +05:30
Gunwant Jain 1f84fd28b9 implement drag and drop
As a consquence of better UX, '/' post handler will now redirect instead
of returning a String.

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-06-19 06:49:43 +05:30
Gunwant Jain 594f89385b templates: fix cascaded scrolling, add more aez
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-01-09 08:05:53 +05:30
Gunwant Jain d3106f3fce index.html: add a frontend for pastes
a simple, minimalistic frontend for pasting texts the objectively easy
way for those not comfortable with CLI.

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-01-06 07:08:36 +05:30
Gunwant Jain ae8bd544de index: use templates for the index route
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
2021-01-06 05:16:28 +05:30