templates: fix cascaded scrolling, add more aez
Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
@@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
|
|
||||||
html, body { margin: 0; }
|
html, body {
|
||||||
|
overflow-y:hidden;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
/* padding: 2rem; */
|
|
||||||
line-height: 1.1;
|
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
padding: 3rem;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
@@ -16,18 +17,19 @@
|
|||||||
form { flex: 1; }
|
form { flex: 1; }
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
height: 100%;
|
height: 90%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
|
padding-left: 10px
|
||||||
|
|
||||||
resize: none;
|
resize: none;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-family: inherit;
|
font-family: 'Fira Code', monospace;
|
||||||
font-size: 1rem;
|
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -68,37 +70,17 @@
|
|||||||
WEB USAGE
|
WEB USAGE
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Soon as you start typing a big yellow button should appear on the bottom right.
|
Press the big yellow button to paste.
|
||||||
You could either press that to paste.
|
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
Just press Ctrl + Enter once done.
|
Just press Ctrl + Enter once done.
|
||||||
|
|
||||||
|
|
||||||
CLI USAGE
|
CLI USAGE
|
||||||
---------
|
---------
|
||||||
|
|
||||||
POST /
|
curl --data-binary @file.txt https://bin.wantguns.dev
|
||||||
|
|
||||||
accepts raw data in the body of the request and responds with a URL
|
|
||||||
of a page containing the body's content
|
|
||||||
|
|
||||||
GET /<id>
|
|
||||||
|
|
||||||
retrieves the content for the paste with id `<id>`
|
|
||||||
|
|
||||||
GET /p/<id>
|
|
||||||
|
|
||||||
retrieves the HTML page with syntax-highlighted content for the paste
|
|
||||||
with id `<id>`
|
|
||||||
|
|
||||||
CLI EXAMPLES
|
|
||||||
------------
|
|
||||||
|
|
||||||
Paste a file named 'file.txt' using cURL:
|
|
||||||
|
|
||||||
curl --data-binary @file.txt https://bin.wantguns.dev
|
|
||||||
|
|
||||||
|
|
||||||
========
|
========
|
||||||
|
|||||||
Reference in New Issue
Block a user