fixed layout

This commit is contained in:
Jesse James Isler 2022-03-28 13:58:57 +02:00
parent 53947c16ed
commit 6328d5fa8e

View File

@ -30,11 +30,17 @@
</head> </head>
<body> <body>
<div class="container">
<?php <?php
foreach (glob("roles/*.php") as $filename) { foreach (glob("roles/*.php") as $filename) {
include $filename; include $filename;
if ($count%4 == 1)
{
echo "<div class="row">";
}
echo ' echo '
<div class="col s12 m6"> <div class="col s12 m4">
<div class="blurry"> <div class="blurry">
<div class="card '.$color.' '.$tcolor.'-text"> <div class="card '.$color.' '.$tcolor.'-text">
<div class="card-content"> <div class="card-content">
@ -66,9 +72,15 @@
</div> </div>
</div> </div>
'; ';
if ($count%4 == 0)
{
echo "</div>";
}
$count++;
} }
?> ?>
</div>
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
$('.tabs').tabs(); $('.tabs').tabs();