Difference between revisions of "Design.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
Line 36: Line 36:
 
   @(content)
 
   @(content)
 
   </div><!-- /.container -->
 
   </div><!-- /.container -->
@footer(languageCode)
+
@footer(de)
 
</source>
 
</source>
 
[[Category:RythmTemplate]]
 
[[Category:RythmTemplate]]

Revision as of 10:09, 9 November 2017

Links

Source

@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.Bootstrap.rythm)
@include(wiki.MediaWiki.BITPlan.rythm)
@header(languageCode,title)
@bootstrap()
<script src="http://io.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
@style()
</head>
<body>
    <header>
@if ("de".equals(languageCode)) {
        <a class='logo' href='http://training.bitplan.com/index.php/Willkommen'>
          <img src='http://wiki.bitplan.com/images/wiki/7/7a/BITPlanLogo2012FontLess.svg' width='100%'>
        </a>
        <nav>
          <a href='http://training.bitplan.com/index.php/Trainings'>Trainings</a>
          <a href='http://www.bitplan.com/index.php/Leistungen'>Leistungen</a>
          <a href='http://www.bitplan.com/index.php/Kontakt'>Kontakt</a>
        </nav>
} else {
        <a class='logo' href='http://training.bitplan.com/index.php/Welcome'>
          <img src='http://wiki.bitplan.com/images/wiki/7/7a/BITPlanLogo2012FontLess.svg' width='100%'>
        </a>
        <nav>
          <a href='http://training.bitplan.com/index.php/Trainings/en'>Trainings</a>
          <a href='http://www.bitplan.com/index.php/Services'>Services</a>
          <a href='http://www.bitplan.com/index.php/Contact'>Contact</a>
        </nav>
}
    </header>
  <div class="container">
  @(content)
  </div><!-- /.container -->
@footer(de)