diff --git a/README.md b/README.md index a786a0d..6cb46d1 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -# jellyfin-accounts -***New: Now capable of sending password reset emails!*** +# ![jellyfin-accounts](images/jellyfin-accounts-banner-wide.svg) A basic account management system for [Jellyfin](https://github.com/jellyfin/jellyfin). -* Provides a web interface for creating invite codes +* Provides a web interface for creating invite codes, and a simple account creation form * Sends out emails when a user requests a password reset * Uses a basic python jellyfin API client for communication with the server. * Uses [Flask](https://github.com/pallets/flask), [HTTPAuth](https://github.com/miguelgrinberg/Flask-HTTPAuth), [itsdangerous](https://github.com/pallets/itsdangerous), and [Waitress](https://github.com/Pylons/waitress) diff --git a/data/static/android-chrome-192x192.png b/data/static/android-chrome-192x192.png new file mode 100644 index 0000000..43660ed Binary files /dev/null and b/data/static/android-chrome-192x192.png differ diff --git a/data/static/android-chrome-512x512.png b/data/static/android-chrome-512x512.png new file mode 100644 index 0000000..0eed6a0 Binary files /dev/null and b/data/static/android-chrome-512x512.png differ diff --git a/data/static/apple-touch-icon.png b/data/static/apple-touch-icon.png new file mode 100644 index 0000000..6f88cbf Binary files /dev/null and b/data/static/apple-touch-icon.png differ diff --git a/data/static/browserconfig.xml b/data/static/browserconfig.xml new file mode 100644 index 0000000..5cd27e3 --- /dev/null +++ b/data/static/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #603cba + + + diff --git a/data/static/favicon-16x16.png b/data/static/favicon-16x16.png new file mode 100644 index 0000000..1563306 Binary files /dev/null and b/data/static/favicon-16x16.png differ diff --git a/data/static/favicon-32x32.png b/data/static/favicon-32x32.png new file mode 100644 index 0000000..375ed01 Binary files /dev/null and b/data/static/favicon-32x32.png differ diff --git a/data/static/favicon.ico b/data/static/favicon.ico new file mode 100644 index 0000000..c4fc3c3 Binary files /dev/null and b/data/static/favicon.ico differ diff --git a/data/static/mstile-150x150.png b/data/static/mstile-150x150.png new file mode 100644 index 0000000..dc33f3c Binary files /dev/null and b/data/static/mstile-150x150.png differ diff --git a/data/static/safari-pinned-tab.svg b/data/static/safari-pinned-tab.svg new file mode 100644 index 0000000..f5161de --- /dev/null +++ b/data/static/safari-pinned-tab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/data/static/site.webmanifest b/data/static/site.webmanifest new file mode 100644 index 0000000..42eeed3 --- /dev/null +++ b/data/static/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "jf-accounts", + "short_name": "jf-accounts", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/data/templates/404.html b/data/templates/404.html index e84af4d..1bbd935 100644 --- a/data/templates/404.html +++ b/data/templates/404.html @@ -3,6 +3,15 @@ + + + + + + + + + Create Jellyfin Account diff --git a/data/templates/admin.html b/data/templates/admin.html index c0fbd2a..5e42ea9 100644 --- a/data/templates/admin.html +++ b/data/templates/admin.html @@ -5,6 +5,14 @@ + + + + + + + + diff --git a/data/templates/form.html b/data/templates/form.html index cd14dab..d90d3c7 100644 --- a/data/templates/form.html +++ b/data/templates/form.html @@ -3,6 +3,15 @@ + + + + + + + + + diff --git a/images/README.md b/images/README.md new file mode 100644 index 0000000..04d31a8 --- /dev/null +++ b/images/README.md @@ -0,0 +1,3 @@ +# Images + +This holds any images on the main README, and the base files for the icons and banner. The font used, like Jellyfin, is [Quicksand](https://fonts.google.com/specimen/Quicksand) by Andrew Paglinawan. diff --git a/images/jellyfin-accounts-banner-wide.afdesign b/images/jellyfin-accounts-banner-wide.afdesign new file mode 100755 index 0000000..6fc5c97 Binary files /dev/null and b/images/jellyfin-accounts-banner-wide.afdesign differ diff --git a/images/jellyfin-accounts-banner-wide.svg b/images/jellyfin-accounts-banner-wide.svg new file mode 100755 index 0000000..e231789 --- /dev/null +++ b/images/jellyfin-accounts-banner-wide.svg @@ -0,0 +1,158 @@ + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/jellyfin-accounts-banner.afdesign b/images/jellyfin-accounts-banner.afdesign new file mode 100755 index 0000000..f8a4b10 Binary files /dev/null and b/images/jellyfin-accounts-banner.afdesign differ diff --git a/images/jellyfin-accounts-icon.afdesign b/images/jellyfin-accounts-icon.afdesign new file mode 100755 index 0000000..7797f64 Binary files /dev/null and b/images/jellyfin-accounts-icon.afdesign differ diff --git a/images/jellyfin-accounts-icon.png b/images/jellyfin-accounts-icon.png new file mode 100755 index 0000000..c87f4e4 Binary files /dev/null and b/images/jellyfin-accounts-icon.png differ diff --git a/images/jellyfin-accounts-icon.svg b/images/jellyfin-accounts-icon.svg new file mode 100755 index 0000000..45a5038 --- /dev/null +++ b/images/jellyfin-accounts-icon.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/setup.py b/setup.py index 102ea61..10bd0db 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,17 @@ setup( 'data/invite-email.html', 'data/invite-email.txt']), ('data/static', ['data/static/admin.js', - 'data/static/setup.js']), + 'data/static/setup.js', + 'data/static/apple-touch-icon.png', + 'data/static/android-chrome-192x192.png', + 'data/static/android-chrome-512x512.png', + 'data/static/favicon-16x16.png', + 'data/static/favicon-32x32.png', + 'data/static/mstile-150x150.png', + 'data/static/safari-pinned-tab.svg', + 'data/static/site.webmanifest', + 'data/static/browserconfig.xml', + 'data/static/favicon.ico']), ('data/templates', [ 'data/templates/404.html', 'data/templates/invalidCode.html',