Difference between revisions of "Design.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
= Links =
 
= Links =
 +
* {{Link|target=MediaWiki:Bootstrap.rythm}}
 +
* {{Link|target=MediaWiki:BITPlan.rythm}}
 +
* {{Link|target=MediaWiki:Menu.rythm}}
  
 
= Source =
 
= Source =

Revision as of 09:12, 9 November 2017

Links

Source

@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.Bootstrap.rythm)
@include(wiki.MediaWiki.BITPlan.rythm)
@include(wiki.MediaWiki.Menu.rythm)
@header(languageCode,title)
@bootstrap()
<script src="http://io.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
@style()
</head>
<body>
@{
  Menu menu=new Menu("http://training.bitplan.com/index.php/Welcome","http://training.bitplan.com/index.php/Willkommen","http://wiki.bitplan.com/images/wiki/7/7a/BITPlanLogo2012FontLess.svg");
  MenuItem menuItems[]={
    new MenuItem("training","Trainings","http://training.bitplan.com/index.php/Trainings/en","Trainings","http://training.bitplan.com/index.php/Trainings"),
    new MenuItem("services","Services","http://www.bitplan.com/index.php/Services","Leistungen","http://www.bitplan.com/index.php/Leistungen"),
    new MenuItem("contact","Contact","http://www.bitplan.com/index.php/Contact","Kontakt","http://www.bitplan.com/index.php/Kontakt")
  };
  menu.addMenuItems(menuItems);
}
@showMenu(de,menu)
  <div class="container">
  @(content)
  </div><!-- /.container -->
@footer(de)