first commit

This commit is contained in:
root
2023-12-19 11:32:13 +01:00
commit 8ea55ac5e2
11 changed files with 314 additions and 0 deletions

11
templates/edit_file.html Normal file
View File

@@ -0,0 +1,11 @@
{% extends 'base.html' %}
{% block content %}
<a href="/">< Back</a>
<br>
<form method="post" action="{{ url_for('edit_file') }}">
<textarea id="code" name="file_content" class="form-control numbered">{{ file_content }}</textarea>
<input type="hidden" id="file_path" name="file_path" value="{{ filepath }}">
<button type="submit" value="Save Changes" class="btn btn-info" >Save</button>
</form>
{% endblock %}