diff --git a/projects/tentacles/src/python/tentacles/static/css/style.scss b/projects/tentacles/src/python/tentacles/static/css/style.scss index cfec423..aac7309 100644 --- a/projects/tentacles/src/python/tentacles/static/css/style.scss +++ b/projects/tentacles/src/python/tentacles/static/css/style.scss @@ -24,3 +24,10 @@ .details { overflow: hidden; } + +// Hide the header name if we're on a mobile device +@media (max-width: 550px) { + .logo .name { + display: none; + } +} diff --git a/projects/tentacles/src/python/tentacles/static/css/tirefire/_basics.scss b/projects/tentacles/src/python/tentacles/static/css/tirefire/_basics.scss index fa8672a..6ff699e 100644 --- a/projects/tentacles/src/python/tentacles/static/css/tirefire/_basics.scss +++ b/projects/tentacles/src/python/tentacles/static/css/tirefire/_basics.scss @@ -34,3 +34,7 @@ body { .u-ml-auto { margin-left: auto; } + +.color-yellow { + color: $yellow; +} diff --git a/projects/tentacles/src/python/tentacles/store.py b/projects/tentacles/src/python/tentacles/store.py index 54dd9f4..9ce7b59 100644 --- a/projects/tentacles/src/python/tentacles/store.py +++ b/projects/tentacles/src/python/tentacles/store.py @@ -102,7 +102,6 @@ class Store(object): digest = sha3_256() digest.update(password.encode("utf-8")) digest = digest.hexdigest() - print(f"{username}: {digest!r}") return self._conn.execute( "INSERT INTO users (name, email, hash, group_id, status_id) VALUES (?, ?, ?, ?, ?) RETURNING id, status_id", [username, email, digest, group_id, status_id], @@ -157,7 +156,6 @@ class Store(object): digest = sha3_256() digest.update(password.encode("utf-8")) digest = digest.hexdigest() - print(f"{username}: {digest!r}") res = self._conn.execute( "SELECT id, status_id FROM users WHERE (name=?1 AND hash=?2) OR (email=?1 AND hash=?2) LIMIT 1", [username, digest], diff --git a/projects/tentacles/src/python/tentacles/templates/base.html.j2 b/projects/tentacles/src/python/tentacles/templates/base.html.j2 index e30d294..ba6f328 100644 --- a/projects/tentacles/src/python/tentacles/templates/base.html.j2 +++ b/projects/tentacles/src/python/tentacles/templates/base.html.j2 @@ -11,10 +11,10 @@