forked from expo/troggle
error handling for txt editor
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
<div style = "max-width:95%; margin-left:4%; font-family: monospace; font-weight: bold; font-size: 110%; text-align: left; " >
|
||||
File: {{path}} <br>
|
||||
Full path on server: {{filepath}}
|
||||
{% if message %}
|
||||
<p style="color:red">{{message}}</p>
|
||||
{% endif %}
|
||||
|
||||
<form method ='post' >
|
||||
{% csrf_token %}
|
||||
@@ -30,6 +33,10 @@ Full path on server: {{filepath}}
|
||||
title="Saves the file in UTF-8 characterset" value = "Save" >
|
||||
Save the file
|
||||
</button>
|
||||
<button class="fancybutton2" style="padding: 0.5em 25px; margin-left: 110px" name="Cancel" type = "submit"
|
||||
title="Aborts the editing" value = "Cancel" >
|
||||
Cancel
|
||||
</button>
|
||||
</form>
|
||||
<br />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user