git init m8
This commit is contained in:
commit
a5c4ffe3e9
5 changed files with 272 additions and 0 deletions
20
templates/note.html
Normal file
20
templates/note.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title> {{ note }} </title>
|
||||
<style>
|
||||
textarea { width: 100%; height: 90vh; font-family: monospace; font-size: 1em; }
|
||||
#status { font-size: 0.9em; color: gray; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="editor" placeholder="Type here!"></textarea>
|
||||
<div id="status">Loading...</div>
|
||||
<script>
|
||||
const noteName = "{{ note|e }}";
|
||||
</script>
|
||||
<script src="{{ url_for('static', filename='note.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue