pub / pastesrv

Paste service setup for paste.jayvii.de
git clone https://src.jayvii.de/pub/pastesrv.git
Home | Log | Files | Exports | Refs | README | RSS

commit 0338d56acc297598b3096eec4f2c1936621f2cc0
parent c5bd31e69ec7760bee56a9e4cd141d1f03392c8e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Tue,  6 Aug 2024 13:00:14 +0200

feat: move upload-area to top of the page

Diffstat:
Mindex.php | 72++++++++++++++++++++++++++++++++++++------------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)

diff --git a/index.php b/index.php @@ -27,41 +27,6 @@ </a> </header> - <!-- About Section --> - <section id="about"> - <h2>About pastesrv</h2> - <p> - Super simple selfhosted paste server, based around minimal and basic - tools, which you can selfhost within seconds without much effort. - </p> - </section> - - <!-- How To Use --> - <section id="how"> - <h2>How to use</h2> - <p> - The original functionality is described in a blogpost on - <a - href="https://www.codemadness.org/paste-service.html" - target="_blank" - > - codemadness.org - </a> - </p> - <p> - Using the - <code> - <a - href="https://src.jayvii.de/pub/pastesrv/file/pastesrv.sh.html" - target="_blank" - > - pastesrv.sh - </a> - </code> - function, you can pipe any content to the paste service through SSH. - </p> - </section> - <?php /* Load Configuration */ @@ -84,7 +49,7 @@ method="post" enctype="multipart/form-data" > - <input id="file" name="file" type="file"><br> + <input name="file" type="file" style="width:100%;" class="button"> <input type="submit" value="Paste!"> </form> @@ -116,6 +81,41 @@ ?> + <!-- About Section --> + <section id="about"> + <h2>About pastesrv</h2> + <p> + Super simple selfhosted paste server, based around minimal and basic + tools, which you can selfhost within seconds without much effort. + </p> + </section> + + <!-- How To Use --> + <section id="how"> + <h2>How to use</h2> + <p> + The original functionality is described in a blogpost on + <a + href="https://www.codemadness.org/paste-service.html" + target="_blank" + > + codemadness.org + </a> + </p> + <p> + Using the + <code> + <a + href="https://src.jayvii.de/pub/pastesrv/file/pastesrv.sh.html" + target="_blank" + > + pastesrv.sh + </a> + </code> + function, you can pipe any content to the paste service through SSH. + </p> + </section> + </body> </html>