From 5c80f3197a6610d14d5c3ffd178ae6d6a7ad3952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Tue, 30 Dec 2014 09:20:05 +0100 Subject: [PATCH] Add version number in the footer --- Gruntfile.js | 4 ++++ front/src/css/main.css | 3 +++ front/src/less/main.less | 3 +++ front/src/main.html | 3 ++- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index f2c3ae6..2ef5149 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -42,6 +42,10 @@ module.exports = function(grunt) { { match: 'googleAnalyticsId', replacement: '<%= settings.googleAnalyticsId %>' + }, + { + match: 'version', + replacement: 'v<%= pkg.version %>' } ] }, diff --git a/front/src/css/main.css b/front/src/css/main.css index 6022ca3..9ff35ad 100644 --- a/front/src/css/main.css +++ b/front/src/css/main.css @@ -126,6 +126,9 @@ h1 span { .footer a { color: inherit; } +.footer .version { + font-size: 0.7em; +} /* Icons */ .icon-lab { font-family: "fontsmith-icons"; diff --git a/front/src/less/main.less b/front/src/less/main.less index a2c6c0f..ae2cc21 100644 --- a/front/src/less/main.less +++ b/front/src/less/main.less @@ -126,6 +126,9 @@ h1 span { a { color: inherit; } + .version { + font-size: 0.7em; + } } /* Icons */ diff --git a/front/src/main.html b/front/src/main.html index 8522dcd..53ccfc5 100644 --- a/front/src/main.html +++ b/front/src/main.html @@ -33,7 +33,8 @@