all repos — flounder @ 464b29be73c7271a4fc587401060345adcdcebb1

A small site builder for the Gemini protocol

plya with style for file editor
alex wennerberg alex@alexwennerberg.com
Tue, 29 Dec 2020 16:42:33 -0800
commit

464b29be73c7271a4fc587401060345adcdcebb1

parent

2c6b5d4d16cd40d186ea8c4a0640a2b7ac67c23f

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M templates/edit_file.htmltemplates/edit_file.html

@@ -4,7 +4,7 @@ <form id="edit-form" action="/edit/{{.FileName}}" method="POST">

<label for="rename">Rename:</label> <input type="text" value="{{.FileName}}" id="rename" name="rename"> {{ if .IsText }} - <textarea rows="25" name="file_text" id="editor">{{.FileText}}</textarea> + <textarea rows="27" name="file_text" id="editor">{{.FileText}}</textarea> {{ end }} <br> <input type="submit" value="Save file" class="button">
M templates/static/style.csstemplates/static/style.css

@@ -58,6 +58,7 @@ width: 100%;

border: 1px solid #999999; margin: 5px 0; padding: 3px; + font-size: .9rem; resize: vertical; }