Grid.rythm: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
@header(lang,title) | @header(lang,title) | ||
@bootstrap() | @bootstrap() | ||
</head/> | </head> | ||
<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> | |||
<body> | <body> | ||
@(content) | @(content) | ||
Revision as of 13:31, 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>
<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>
<body>
@(content)
</body>
</html>