diff --git a/rtv/templates/auth.html b/rtv/templates/auth.html new file mode 100644 index 0000000..4cff2b6 --- /dev/null +++ b/rtv/templates/auth.html @@ -0,0 +1,15 @@ + +RTV OAuth +{% if error == 'access_denied' %} +

Declined rtv access

+

You chose to stop Reddit Terminal Viewer from accessing your account, it will continue in unauthenticated mode.
+ You can close this page.

+{% elif error != 'error_placeholder' %} +

Error : {{ error }}

+{% elif (state == 'state_placeholder' or code == 'code_placeholder') and error == 'error_placeholder' %} +

Wait...

+

This page is supposed to be a Reddit OAuth callback. You can't just come here hands in the pocket!

+{% else %} +

Allowed rtv access

+

Reddit Terminal Viewer will now log in. You can close this page.

+{% end %} diff --git a/rtv/templates/home.html b/rtv/templates/home.html new file mode 100644 index 0000000..0b9ebf5 --- /dev/null +++ b/rtv/templates/home.html @@ -0,0 +1,3 @@ + +OAuth helper +

Reddit Terminal Viewer OAuth helper