diff --git a/templates/login.jinja2 b/templates/login.jinja2 new file mode 100644 index 0000000..1c2a363 --- /dev/null +++ b/templates/login.jinja2 @@ -0,0 +1,9 @@ + + +Logging in + + + +Redirecting ... + + diff --git a/templates/logout.jinja2 b/templates/logout.jinja2 new file mode 100644 index 0000000..247bbd3 --- /dev/null +++ b/templates/logout.jinja2 @@ -0,0 +1,9 @@ + + +Logout + + + +Redirecting ... + + diff --git a/templates/mainscreen.jinja2 b/templates/mainscreen.jinja2 new file mode 100644 index 0000000..fc0e9a8 --- /dev/null +++ b/templates/mainscreen.jinja2 @@ -0,0 +1,21 @@ + + +Inoreader 2 Readwise main screen +</head> +<body> +Hello {% inoreader_username %} +<p/> +<form action="setapikey"> +API key: +<input type="text" id="apikey">{% readwise_apikey %}</input> +<submit>Change</submit> +</form> +<br/> +Last time sync: {%lastsync%} {%syncstatus%}} +<br/> +Next time sync: {%nextsync%} +<form action="logout"> +<submit>Logout</submit> +</form> +</body> +</html> diff --git a/templates/processoauth2.jinja2 b/templates/processoauth2.jinja2 new file mode 100644 index 0000000..e5e36ee --- /dev/null +++ b/templates/processoauth2.jinja2 @@ -0,0 +1,15 @@ +<html> +<head> +<title>Processing oauth2 +{%if login_success%} + +{%endif%} + + +{%if login_success%} +Redirecting ... +{%else%} +Login failed. +{%endif%} + + diff --git a/templates/setapikey.jinja2 b/templates/setapikey.jinja2 new file mode 100644 index 0000000..18d21f1 --- /dev/null +++ b/templates/setapikey.jinja2 @@ -0,0 +1,9 @@ + + +Changing API key + + + +Redirecting ... + +