diff --git a/front/src/css/main.css b/front/src/css/main.css index 0e3b998..1fc06d5 100644 --- a/front/src/css/main.css +++ b/front/src/css/main.css @@ -279,12 +279,6 @@ a.linkButton { width: 8.25em; height: 11em; } -.star { - font-weight: bold; -} -.star span { - font-size: 1.2em; -} .footer { padding: 3em; color: #413; @@ -295,6 +289,9 @@ a.linkButton { .footer .version { font-size: 0.7em; } +.footer .github { + margin: 1em 0 0 0.5em; +} [class^="icon-"]:before, [class*=" icon-"]:before { vertical-align: baseline; diff --git a/front/src/js/app.js b/front/src/js/app.js index f981a02..2cb2875 100644 --- a/front/src/js/app.js +++ b/front/src/js/app.js @@ -37,6 +37,11 @@ yltApp.run(['$rootScope', '$location', function($rootScope, $location) { $rootScope.$on('$routeChangeSuccess', function(){ ga('send', 'pageview', {'page': $location.path()}); }); + + // GitHub star button (asynchronously loaded iframe) + window.addEventListener('load', function() { + window.document.getElementById('ghbtn').src = 'http://ghbtns.com/github-btn.html?user=gmetais&repo=YellowLabTools&type=star&count=true&size=large'; + }); }]); yltApp.config(['$routeProvider', '$locationProvider', diff --git a/front/src/less/main.less b/front/src/less/main.less index ff5d31c..dafdc21 100644 --- a/front/src/less/main.less +++ b/front/src/less/main.less @@ -234,14 +234,6 @@ a.linkButton { } } - -.star { - font-weight: bold; - span { - font-size: 1.2em; - } -} - .footer { padding: 3em; color: #413; @@ -251,6 +243,9 @@ a.linkButton { .version { font-size: 0.7em; } + .github { + margin: 1em 0 0 0.5em; + } } [class^="icon-"]:before, [class*=" icon-"]:before { diff --git a/front/src/main.html b/front/src/main.html index d5bdd5e..88ce064 100644 --- a/front/src/main.html +++ b/front/src/main.html @@ -50,8 +50,9 @@