diff --git a/README.md b/README.md index b275455..027fc3d 100644 --- a/README.md +++ b/README.md @@ -20,4 +20,6 @@ n/a # Images -![1 Files List](images/pic1.png) +![1 Videos List](images/pic1.png) +![2 Video Playing](images/pic2.png) +![3 Images List](images/pic3.png) diff --git a/images/pic1.png b/images/pic1.png index e0474e1..75a2b6d 100644 Binary files a/images/pic1.png and b/images/pic1.png differ diff --git a/images/pic2.png b/images/pic2.png new file mode 100644 index 0000000..2f6511a Binary files /dev/null and b/images/pic2.png differ diff --git a/images/pic3.png b/images/pic3.png new file mode 100644 index 0000000..5d37929 Binary files /dev/null and b/images/pic3.png differ diff --git a/src/core/client_secrets.json b/src/core/client_secrets.json index e751d50..5db1469 100644 --- a/src/core/client_secrets.json +++ b/src/core/client_secrets.json @@ -3,9 +3,9 @@ "auth_uri": "https://www.ssoapps.com/auth/realms/apps/protocol/openid-connect/auth", "client_id": "apps", "issuer": "https://www.ssoapps.com/auth/realms/apps", - "client_secret": "ce6fdb7d-fdcb-46ea-bc80-b5df9649d50b", + "client_secret": "9028c2ac-d6e0-4d96-86bd-02624b91695d", "redirect_uris": [ - "https://www.webfm.com/home" + "https%3A%2F%2Fwww.webfm.com%2F" ], "userinfo_uri": "https://www.ssoapps.com/auth/realms/apps/protocol/openid-connect/userinfo", "token_uri": "https://www.ssoapps.com/auth/realms/apps/protocol/openid-connect/token", diff --git a/src/core/config.py b/src/core/config.py index 98044eb..19362a8 100644 --- a/src/core/config.py +++ b/src/core/config.py @@ -53,10 +53,10 @@ class ProductionConfig(Config): class DevelopmentConfig(Config): - DEBUG = True + DEBUG = True + USE_RELOADER = True OIDC_ID_TOKEN_COOKIE_SECURE = False OIDC_REQUIRE_VERIFIED_EMAIL = False - USE_RELOADER = True class TestingConfig(Config): diff --git a/src/core/static/css/main.css b/src/core/static/css/main.css index edb9d36..0743246 100644 --- a/src/core/static/css/main.css +++ b/src/core/static/css/main.css @@ -51,7 +51,7 @@ } .viewer { - max-width: 60em; + max-width: 55em; } diff --git a/src/core/templates/body-header.html b/src/core/templates/body-header.html index 0e1d224..bd152e7 100644 --- a/src/core/templates/body-header.html +++ b/src/core/templates/body-header.html @@ -50,6 +50,11 @@ {% endif %} + {% if current_user.is_authenticated or oidc_loggedin() %} {% endif %} - - {% if not current_user.is_authenticated %} + {% if not current_user.is_authenticated and not oidc_loggedin() %}