stupid scroll
This commit is contained in:
@@ -26,11 +26,13 @@ func editFile(p filetree.Path) string {
|
||||
}
|
||||
b, _ := ioutil.ReadFile(p.Local)
|
||||
return fmt.Sprintf(`
|
||||
<form action="/submit/%s" method="post" style="width:100%%; height: 90%%">
|
||||
<table style="width:100%%; height: 90%%">
|
||||
<textarea name="content" style="width:100%%; min-height:90%%; cursor:crosshair;">%s</textarea>
|
||||
</table>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
<div class="form">
|
||||
<form action="/submit/%s" method="post">
|
||||
<table>
|
||||
<textarea name="content" style="cursor:crosshair;">%s</textarea>
|
||||
</table>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
`, href, b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user