master_anonymous.mak 3.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <%namespace name="TIM" file="tracim.templates.pod"/>
  2. <!DOCTYPE html>
  3. <html style="height: 100%;">
  4. <head>
  5. ${self.meta()}
  6. <meta charset="utf-8">
  7. <title>${self.title()}</title>
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <meta name="description" content="">
  11. <meta name="author" content="">
  12. <link rel="icon" href="/favicon.ico">
  13. <link href="${tg.url('/assets/css/bootstrap.min.css')}" rel="stylesheet">
  14. <link href="${tg.url('/assets/css/dashboard.css')}" rel="stylesheet">
  15. <link href="${tg.url('/assets/font-awesome-4.2.0/css/font-awesome.css')}" rel="stylesheet">
  16. <script>
  17. globalTracimLang = 'fr_FR'
  18. </script>
  19. </head>
  20. <body class="${self.body_class()}" style="
  21. height: 100%;
  22. background: url(${CFG.WEBSITE_HOME_BACKGROUND_IMAGE_URL}) no-repeat center bottom scroll;
  23. -webkit-background-size: cover;
  24. -moz-background-size: cover;
  25. background-size: cover;
  26. -o-background-size: cover;">
  27. <script src="${tg.url('/assets/js/jquery.min.js')}"></script>
  28. <div class="container-fluid">
  29. ${self.main_menu()}
  30. ${self.content_wrapper()}
  31. <div id="tracim-footer-separator hidden-xs"></div>
  32. </div>
  33. ${self.footer()}
  34. <script src="${tg.url('/assets/js/bootstrap.min.js')}"></script>
  35. <script src="${tg.url('/assets/js/trad.js')}"></script>
  36. <script src="${tg.url('/assets/js/main.js')}"></script>
  37. ## HACK - D.A. - 2014-10-21
  38. ##
  39. ## The following JS "hack" is intended to make TG2 flash messages compatible with bootstrap alert classes
  40. ## This should disappear as soon as LESS is implemented in the application
  41. ## meaning we'll define a alert-ok style inheriting from alert-info, etc
  42. <script>
  43. $( document ).ready(function() {
  44. $('.alert-ok').removeClass('alert-ok').addClass('alert-info');
  45. $('.alert-error').removeClass('alert-error').addClass('alert-danger');
  46. });
  47. </script>
  48. ${CFG.TRACKER_JS_CONTENT|n}
  49. </body>
  50. <%def name="content_wrapper()">
  51. ${TIM.FLASH_MSG('')}
  52. ${self.body()}
  53. </%def>
  54. <%def name="body_class()"></%def>
  55. <%def name="meta()">
  56. <meta charset="${response.charset}" />
  57. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  58. </%def>
  59. <%def name="title()"></%def>
  60. <%def name="footer()">
  61. <div class="pod-footer footer hidden-tablet hidden-phone text-center hidden-xs">
  62. <p>
  63. <a href="http://trac.im">${_('Create your own collaborative workspace on trac.im')}</a> &mdash;
  64. copyright &copy; 2013 - ${h.current_year()} tracim project.
  65. </p>
  66. </div>
  67. </%def>
  68. <%def name="main_menu()">
  69. <div class="navbar navbar-fixed-top navbar-fixed-top-transparent" role="navigation">
  70. <div class="container-fluid">
  71. <div class="navbar-header">
  72. <!--button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
  73. <i class="fa fa-bars"></i>
  74. </button-->
  75. <a class="navbar-brand" href="${tg.url('/')}">
  76. <img src="${tg.url('/assets/img/logo.png')}" class="pull-left" />
  77. </a>
  78. </div>
  79. </div>
  80. </div>
  81. </%def>
  82. </html>