From 8fd86a28ffe135ad8c77bc26171788ae16870c52 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 21 Feb 2020 11:20:55 +0100 Subject: [PATCH] ui: fixup minor issues, add static app --- passbook/core/static/package.json | 14 -------------- passbook/core/static/yarn.lock | 8 -------- passbook/core/templates/login/base.html | 13 +++++++------ passbook/core/views/authentication.py | 2 +- passbook/root/settings.py | 1 + passbook/sources/oauth/models.py | 2 +- passbook/static/apps.py | 10 ++++++++++ passbook/{core => }/static/robots.txt | 0 passbook/{core => static}/static/.gitignore | 0 passbook/static/static/package.json | 6 ++++++ .../{core => static}/static/passbook/brand.svg | 0 .../{core => static}/static/passbook/logo.png | Bin .../{core => static}/static/passbook/logo.svg | 0 .../static/passbook}/sources/azure-ad.svg | 0 .../static/passbook}/sources/dropbox.svg | 0 .../static/passbook}/sources/facebook.svg | 0 .../static/passbook}/sources/github.svg | 0 .../static/passbook}/sources/gitlab.svg | 0 .../static/passbook}/sources/google.svg | 0 passbook/static/static/yarn.lock | 8 ++++++++ 20 files changed, 34 insertions(+), 30 deletions(-) delete mode 100644 passbook/core/static/package.json delete mode 100644 passbook/core/static/yarn.lock create mode 100644 passbook/static/apps.py rename passbook/{core => }/static/robots.txt (100%) rename passbook/{core => static}/static/.gitignore (100%) create mode 100644 passbook/static/static/package.json rename passbook/{core => static}/static/passbook/brand.svg (100%) rename passbook/{core => static}/static/passbook/logo.png (100%) rename passbook/{core => static}/static/passbook/logo.svg (100%) rename passbook/{core/static => static/static/passbook}/sources/azure-ad.svg (100%) rename passbook/{core/static => static/static/passbook}/sources/dropbox.svg (100%) rename passbook/{core/static => static/static/passbook}/sources/facebook.svg (100%) rename passbook/{core/static => static/static/passbook}/sources/github.svg (100%) rename passbook/{core/static => static/static/passbook}/sources/gitlab.svg (100%) rename passbook/{core/static => static/static/passbook}/sources/google.svg (100%) create mode 100644 passbook/static/static/yarn.lock diff --git a/passbook/core/static/package.json b/passbook/core/static/package.json deleted file mode 100644 index 6d3d88834..000000000 --- a/passbook/core/static/package.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "passbook-static", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "MIT", - "dependencies": { - "@patternfly/patternfly": "2.56.3" - } -} diff --git a/passbook/core/static/yarn.lock b/passbook/core/static/yarn.lock deleted file mode 100644 index 52440fa7f..000000000 --- a/passbook/core/static/yarn.lock +++ /dev/null @@ -1,8 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@patternfly/patternfly@2.56.3": - version "2.56.3" - resolved "https://registry.yarnpkg.com/@patternfly/patternfly/-/patternfly-2.56.3.tgz#ca70eec632863f4ab62dada040f0979998a1355b" - integrity sha512-merUreEz4ul84s+OXwJ27AtMtcBdzExDX+Xn/T84OD6OAgG8iU1x1dnWdFBeEFKOlTpKxwjXxS/Zc8tSxpfRBw== diff --git a/passbook/core/templates/login/base.html b/passbook/core/templates/login/base.html index 48ac3b125..d0523d465 100644 --- a/passbook/core/templates/login/base.html +++ b/passbook/core/templates/login/base.html @@ -44,13 +44,14 @@

{{ config.login.subtext }}

{% endif %}