Mercurial > hg > MPIWGWeb
changeset 157:2e0953694aef
page footer
author | casties |
---|---|
date | Thu, 06 Jun 2013 11:33:17 +0200 |
parents | a9ad7dd7a8b2 |
children | 86a5b3c4af4b |
files | css/mpiwg.css js/mpiwg.js zpt/www/main_template.zpt |
diffstat | 3 files changed, 48 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/css/mpiwg.css Wed Jun 05 13:12:42 2013 +0200 +++ b/css/mpiwg.css Thu Jun 06 11:33:17 2013 +0200 @@ -148,6 +148,11 @@ color: #3b4186; } +.javascriptonly { + /* initially hidden, shown by javascript */ + display: none; +} + /* * table-like rows and columns */ @@ -1389,12 +1394,28 @@ /* * footer */ +#footservices { + position: relative; + /* height: 20px; */ + border-top: 1px solid #dccbae; + padding-top: 8px; + margin-top: 2em; +} +#footservices div.text { + display: inline; +} +#footservices div.icons { + display: inline; + position: absolute; + right: 0; +} + #footer { position: relative; height: 50px; border-top: 1px solid #dccbae; padding-top: 8px; - margin-top: 29px; + margin-top: 1em; } #footer div.text {
--- a/js/mpiwg.js Wed Jun 05 13:12:42 2013 +0200 +++ b/js/mpiwg.js Thu Jun 06 11:33:17 2013 +0200 @@ -91,6 +91,11 @@ }; $(document).ready(function() { + /* + * show javascriptonly + */ + $('.javascriptonly').show(); + /* * autosubmit forms */
--- a/zpt/www/main_template.zpt Wed Jun 05 13:12:42 2013 +0200 +++ b/zpt/www/main_template.zpt Thu Jun 06 11:33:17 2013 +0200 @@ -87,13 +87,29 @@ </div><!-- /maincontent --> + <div id="footservices"> + <div class="text"> + <a href="#top" class="jumptop">Top</a> + </div> + <div class="icons"> + <a class="javascriptonly" href="javascript:window.print()" title="Print this page"> + <img alt="" tal:attributes="src string:$root/images/print.png"/> + Print + </a> + <a tal:attributes="href python:'mailto:?subject=MPIWG%%20%s&body=%s'%(here.title,here.absolute_url())" title="Forward as email"> + <img alt="" tal:attributes="src string:$root/images/forward.png"/> + Forward + </a> + </div> + </div> <div id="footer"> <div class="text"> - <a tal:attributes="href string:$root/resources/intranet.html">Intranet</a> | <a href="https://webmail.mpiwg-berlin.mpg.de" - target="_blank">Webmail</a> | <a tal:attributes="href string:$root/institute/address.html">Contact</a> | <a - tal:attributes="href string:$root/impressum.html">Imprint</a> | <a - tal:attributes="href python:'http://www2.mpiwg-berlin.mpg.de/Library/libindex.html'" target="_blank">Library - (internal)</a> | <a tal:attributes="href string:$root/institute/sitemap.html">Sitemap</a> + <a tal:attributes="href string:$root/resources/intranet.html">Intranet</a> + | <a href="https://webmail.mpiwg-berlin.mpg.de" target="_blank">Webmail</a> + | <a href="http://www2.mpiwg-berlin.mpg.de/Library/libindex.html" target="_blank">Library (internal)</a> + | <a tal:attributes="href string:$root/institute/sitemap.html">Sitemap</a> + | <a tal:attributes="href string:$root/institute/address.html">Contact</a> + | <a tal:attributes="href string:$root/impressum.html">Imprint/Licenses</a> </div> <div class="logo"> <a href="http://www.mpg.de/"> <img tal:attributes="src string:$root/images/signet.png" alt="MPG" width="204" height="41" />