plya with style for file editor
alex wennerberg alex@alexwennerberg.com
Tue, 29 Dec 2020 16:42:33 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
templates/edit_file.html
→
templates/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.css
→
templates/static/style.css
@@ -58,6 +58,7 @@ width: 100%;
border: 1px solid #999999; margin: 5px 0; padding: 3px; + font-size: .9rem; resize: vertical; }