Add version number in the footer

This commit is contained in:
Gaël Métais
2014-12-30 09:20:05 +01:00
parent 17a644c5d8
commit 5c80f3197a
4 changed files with 12 additions and 1 deletions
+4
View File
@@ -42,6 +42,10 @@ module.exports = function(grunt) {
{
match: 'googleAnalyticsId',
replacement: '<%= settings.googleAnalyticsId %>'
},
{
match: 'version',
replacement: 'v<%= pkg.version %>'
}
]
},
+3
View File
@@ -126,6 +126,9 @@ h1 span {
.footer a {
color: inherit;
}
.footer .version {
font-size: 0.7em;
}
/* Icons */
.icon-lab {
font-family: "fontsmith-icons";
+3
View File
@@ -126,6 +126,9 @@ h1 span {
a {
color: inherit;
}
.version {
font-size: 0.7em;
}
}
/* Icons */
+2 -1
View File
@@ -33,7 +33,8 @@
<div id="header"><h1>Yellow Lab <span class="icon-lab"></span> Tools</h1></div>
<div id="body" ng-view autoscroll="true"></div>
<div class="footer">
<p><a href="/about">Learn more</a><br>If you like <b>Yellow Lab Tools</b>, <a href="https://github.com/gmetais/YellowLabTools" target="_blank" class="star">give it a <span>&#9733;</span> on GitHub</a>!</p>
<a href="/about">Learn more</a><br>If you like <b>Yellow Lab Tools</b>, <a href="https://github.com/gmetais/YellowLabTools" target="_blank" class="star">give it a <span>&#9733;</span> on GitHub</a>!<br>
<span class="version">@@version</span>
</div>
<script>