From a64dbe08f8aa7f1a138235f9542288a63b31075f Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Mon, 17 Jul 2017 22:37:34 +0200 Subject: [PATCH 1/2] Fix dev environment deployment when watching with Gruntfile --- Gruntfile.js | 2 +- scripts/dc-dev.sh | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 scripts/dc-dev.sh diff --git a/Gruntfile.js b/Gruntfile.js index 695b5944..ba2c93e8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -29,7 +29,7 @@ module.exports = function (grunt) { args: ['build', '-t', 'clems4ever/authelia', '.'] }, "docker-restart": { - cmd: "./scripts/dc-example.sh", + cmd: "./scripts/dc-dev.sh", args: ['up', '-d'] }, "minify": { diff --git a/scripts/dc-dev.sh b/scripts/dc-dev.sh new file mode 100755 index 00000000..4d4bff93 --- /dev/null +++ b/scripts/dc-dev.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +docker-compose -f docker-compose.base.yml -f docker-compose.yml -f docker-compose.dev.yml -f example/redis/docker-compose.yml -f example/nginx/docker-compose.yml -f example/ldap/docker-compose.yml -f test/integration/docker-compose.yml $* From e2d84f4f505f81296cd12dd90653f6121d881dd2 Mon Sep 17 00:00:00 2001 From: Clement Michaud Date: Mon, 17 Jul 2017 22:38:36 +0200 Subject: [PATCH 2/2] Add a powered by a the bottom of the views --- src/client/css/01-main.css | 18 ++++++++++++++++++ src/client/css/02-login.css | 2 +- src/server/views/layout/layout.pug | 3 +++ 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/client/css/01-main.css b/src/client/css/01-main.css index 377215e9..269b3eb0 100644 --- a/src/client/css/01-main.css +++ b/src/client/css/01-main.css @@ -1,4 +1,22 @@ body { background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1NiIgaGVpZ2h0PSIxMDAiPgo8cmVjdCB3aWR0aD0iNTYiIGhlaWdodD0iMTAwIiBmaWxsPSIjRkZGRkZGIj48L3JlY3Q+CjxwYXRoIGQ9Ik0yOCA2NkwwIDUwTDAgMTZMMjggMEw1NiAxNkw1NiA1MEwyOCA2NkwyOCAxMDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZDRkNGQyIgc3Ryb2tlLXdpZHRoPSIyIj48L3BhdGg+CjxwYXRoIGQ9Ik0yOCAwTDI4IDM0TDAgNTBMMCA4NEwyOCAxMDBMNTYgODRMNTYgNTBMMjggMzQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZCRkJGQiIgc3Ryb2tlLXdpZHRoPSIyIj48L3BhdGg+Cjwvc3ZnPg=="); +} + +.authelia-brand { + font-weight: bold; + font-style: italic; + color: #648caf +} + +.poweredby-block { + margin: 0px 30px; + margin-top: 10px; + padding-top: 15px; + border-top: 1px solid rgba(0, 0, 0, 0.15); +} + +.poweredby { + font-size: 0.7em; + color: #6b6b6b; } \ No newline at end of file diff --git a/src/client/css/02-login.css b/src/client/css/02-login.css index 9d7ec922..6a6e34de 100644 --- a/src/client/css/02-login.css +++ b/src/client/css/02-login.css @@ -45,7 +45,7 @@ border: 1px solid #DDD; margin-top: 20px; padding: 20px; - padding-bottom: 40px; + padding-bottom: 15px; background-color: #f7f7f7; -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); diff --git a/src/server/views/layout/layout.pug b/src/server/views/layout/layout.pug index 6c017100..c267782a 100644 --- a/src/server/views/layout/layout.pug +++ b/src/server/views/layout/layout.pug @@ -19,6 +19,9 @@ html block content +
+
Powered by Authelia
+