Difference between revisions of "Grid.rythm"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
@bootstrap() | @bootstrap() | ||
</head> | </head> | ||
+ | <body> | ||
<div class='container'> | <div class='container'> | ||
@{ | @{ | ||
Line 24: | Line 25: | ||
} | } | ||
</div> | </div> | ||
− | |||
@(content) | @(content) | ||
</body> | </body> |
Revision as of 15:32, 8 November 2017
Links
- https://codepen.io/jaycbrf/pen/iBszr
- MediaWiki:Bootstrap.rythm
- MediaWiki:BITPlan.rythm
- MediaWiki:Form.rythm
- Grid
Rythm template
@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.Bootstrap.rythm)
@header(lang,title)
@bootstrap()
</head>
<body>
<div class='container'>
@{
int cols[]={1,2,3,4,6,12};
}
@for (int col:cols) {
<div class='row'>
@for (int cindex=1;cindex<=col;cindex++) {
<div class='.col-xs-@(cols)'>@cindex</div>
}
</div>
}
</div>
@(content)
</body>
</html>