From: <hug...@li...> - 2013-03-09 21:24:30
|
branch: htdocs details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin-web/hgroot/hugin/hugin-web/rev/ad27f8d078e0 changeset: 357:ad27f8d078e0 user: cri <cri...@gm...> date: Sat Mar 09 22:24:00 2013 +0100 description: Add google+ button diffstat: css/normal.css | 17 +++++++++++++++++ ssi/menu.html | 15 +++++++++++++++ 2 files changed, 32 insertions(+), 0 deletions(-) diff (49 linee): diff -r 829374f3c1fa -r ad27f8d078e0 css/normal.css --- a/css/normal.css Fri Mar 08 14:28:58 2013 +0100 +++ b/css/normal.css Sat Mar 09 22:24:00 2013 +0100 @@ -105,3 +105,20 @@ a:link { color: #058; } a:visited { color: #939; } a:hover, a:focus { color: #FFF; background: #660; text-decoration: none;} +/* google+ button container on the right */ + #googleplusone + { + position:fixed; + background-color:#AAAA77; + border-bottom:0.2em solid #FFFFFF; + border-right:0.2em solid #FFFFFF; + border-top:0.2em solid #FFFFFF; + border-radius:0 10px 10px 0; + box-shadow: 0px 0px 0px silver; + padding:5px; + right:5px; + top:280px; + width:55px; + } + + diff -r 829374f3c1fa -r ad27f8d078e0 ssi/menu.html --- a/ssi/menu.html Fri Mar 08 14:28:58 2013 +0100 +++ b/ssi/menu.html Sat Mar 09 22:24:00 2013 +0100 @@ -17,6 +17,21 @@ _uacct = "UA-630855-2"; urchinTracker(); </script> +<div id="googleplusone"> + +<!-- google+ button on the right--> +<!-- Place this tag where you want the +1 button to render. --> +<g:plusone size="tall" href="http://hugin.sourceforge.net"></g:plusone> + +<!-- Place this tag after the last +1 button tag. --> +<script type="text/javascript"> + (function() { + var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; + po.src = 'https://apis.google.com/js/plusone.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); + })(); +</script> +</div> <div id="header"><img id="logo" alt="logo" src="/css/hugin-shadow.png"/></div> <!-- start actual menu bar --> |