61 lines
1.4 KiB
HTML
61 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Read book</title>
|
|
</head>
|
|
<body>
|
|
<style>
|
|
#content {
|
|
display: flex;
|
|
height: 95vh;
|
|
}
|
|
|
|
#left {
|
|
height: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
#right {
|
|
height: 100%;
|
|
overflow: auto;
|
|
}
|
|
body{
|
|
background-image: url("static/background.jpg");
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
a{
|
|
color: white;
|
|
}
|
|
div{
|
|
margin: auto;
|
|
}
|
|
form{
|
|
margin-top: 2vh;
|
|
}
|
|
.save{
|
|
width: 50vw;
|
|
}
|
|
textarea{
|
|
width: 50vw;
|
|
height: 80vh;
|
|
resize: none;
|
|
}
|
|
</style>
|
|
<a href="http://localhost:5000/">Home</a>
|
|
<div id="content">
|
|
<div id="left">{{ markdown | safe }}</div>
|
|
<div id="right">
|
|
<form action="http://localhost:5000/savenotes" method="post">
|
|
<input for="path" name="path" type="hidden" value="{{ path }}" style="display: hidden;"></input>
|
|
<textarea for="notes" name="notes", style="">{{ notes }}</textarea>
|
|
</br>
|
|
<input class="save" type="submit" value="Save"></input>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |