Difference between revisions of "Design.rythm"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
@include(wiki.MediaWiki.Bootstrap.rythm) | @include(wiki.MediaWiki.Bootstrap.rythm) | ||
@include(wiki.MediaWiki.BITPlan.rythm) | @include(wiki.MediaWiki.BITPlan.rythm) | ||
+ | @include(wiki.MediaWiki.Menu.rythm) | ||
@header(languageCode,title) | @header(languageCode,title) | ||
@bootstrap() | @bootstrap() | ||
Line 12: | Line 13: | ||
</head> | </head> | ||
<body> | <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"> | <div class="container"> | ||
@(content) | @(content) |
Revision as of 09:11, 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)