layout.html 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <meta name="apple-mobile-web-app-capable" content="yes" />
  8. <link href="{{=URL('static','css/calendar.css')}}" rel="stylesheet" type="text/css"/>
  9. <link href="{{=URL('static','css/web2py.css')}}" rel="stylesheet" type="text/css"/>
  10. <link href="{{=URL('static','css/stupid.css')}}" rel="stylesheet" type="text/css"/>
  11. <link href="{{=URL('static','css/examples.css')}}" rel="stylesheet" type="text/css"/>
  12. <link href="{{=URL('static','css/local.css')}}" rel="stylesheet" type="text/css"/>
  13. <link rel="stylesheet" href="https://cdn.iikb.org/bootstrap/latest/css/bootstrap.min.css">
  14. <link rel="stylesheet" href="https://cdn.iikb.org/font-awesome/latest/css/font-awesome.min.css">
  15. <link rel="shortcut icon" href="{{=URL('static','images/favicon.ico')}}" type="image/x-icon">
  16. <link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}">
  17. {{
  18. left_sidebar_enabled = globals().get('left_sidebar_enabled', False)
  19. right_sidebar_enabled = globals().get('right_sidebar_enabled', False)
  20. middle_column = {0: 'fill', 1: 'threequarters', 2: 'half'}[
  21. (left_sidebar_enabled and 1 or 0)+(right_sidebar_enabled and 1 or 0)]
  22. }}
  23. {{include "web2py_ajax.html"}}
  24. {{include "opengraph.html"}}
  25. </head>
  26. <body class="white">
  27. {{include "facebook.html"}}
  28. {{if response.flash:}}
  29. <div class="w2p_flash">
  30. {{=response.flash}}
  31. </div>
  32. {{pass}}
  33. <main class="white">
  34. <div class="container max900">
  35. {{if left_sidebar_enabled:}}
  36. <div class="quarter padded">{{block left_sidebar}}{{end}}</div>
  37. {{pass}}
  38. <div class="{{=middle_column}} padded">{{include}}</div>
  39. {{if right_sidebar_enabled:}}
  40. <div class="quarter padded">{{block right_sidebar}}{{end}}</div>
  41. {{pass}}
  42. </div>
  43. <div class="silver center padded">
  44. <div class="fb-like" data-href="https://greve.xyz/perdas" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
  45. <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://greve.xyz/perdas" data-text="Quer perder quanto?" data-via="simpapoa" data-lang="pt" data-hashtags="VemPraGreve" data-dnt="true">Tweetar</a>
  46. <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
  47. </div>
  48. </main>
  49. <footer class="white">
  50. <div class="container padded max900">
  51. <div class="fill">
  52. Copyleft {{=A("greve.xyz", _href="https://greve.xyz", _target="_blank")}} 2016. Site desenvolvido pela {{=A("iiKB", _href="https://iikb.org", _target="_blank")}} com amor e anarquia usando {{=A("Web2Py", _href="https://web2py.com", _target="_blank")}} para o {{=A("SIMPA", _href="http://simpa.org.br", _target="_blank")}} e distribu&iacute;do sob licença AGPL. {{=A("Código Fonte", _href="https://notabug.org/iikb/perdas2016", _target="_blank")}} deste site dispon&iacute;vel. Valores utilizados para c&aacute;lculo dispon&iacute;veis no {{=A("portal de transparência", _href="http://www2.portoalegre.rs.gov.br/transparencia/default.php?p_secao=11", _target="_blank")}} da Prefeitura de Porto Alegre.
  53. </div>
  54. </div>
  55. </footer>
  56. </body>
  57. <script>
  58. // prevent android horizontal scrolling
  59. window.addEventListener("scroll", function(){window.scroll(0, window.pageYOffset);}, false);
  60. </script>
  61. </html>