2024-01-30 16:05:39 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Inoreader To Readwise</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Logged In as {{ user_info.login }}({{user_info.name}})</h1>
|
|
|
|
|
|
|
|
<!-- show last synced and next synced time -->
|
|
|
|
<p>Last Synced: {{ last_synced }}</p>
|
|
|
|
<p>Next Synced: {{ next_synced }}</p>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<!-- Take readiwse api key input -->
|
|
|
|
<form action="/readwise" method="POST">
|
|
|
|
<label for="api_key">Readwise API Key</label>
|
2024-01-30 16:45:57 +01:00
|
|
|
<input type="text" name="readwise_api_key" id="api_key", value="{{ readwise_api_key }}" required>
|
2024-01-30 16:05:39 +01:00
|
|
|
<input type="submit" value="Submit">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<!-- Logout -->
|
|
|
|
<form action="/logout" method="POST">
|
|
|
|
<input type="submit" value="Logout">
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|