Add version number in the footer
This commit is contained in:
@@ -42,6 +42,10 @@ module.exports = function(grunt) {
|
||||
{
|
||||
match: 'googleAnalyticsId',
|
||||
replacement: '<%= settings.googleAnalyticsId %>'
|
||||
},
|
||||
{
|
||||
match: 'version',
|
||||
replacement: 'v<%= pkg.version %>'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -126,6 +126,9 @@ h1 span {
|
||||
.footer a {
|
||||
color: inherit;
|
||||
}
|
||||
.footer .version {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
/* Icons */
|
||||
.icon-lab {
|
||||
font-family: "fontsmith-icons";
|
||||
|
||||
@@ -126,6 +126,9 @@ h1 span {
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
.version {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
+2
-1
@@ -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>★</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>★</span> on GitHub</a>!<br>
|
||||
<span class="version">@@version</span>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user