fixed layout
This commit is contained in:
parent
53947c16ed
commit
6328d5fa8e
16
index.php
16
index.php
@ -30,11 +30,17 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<?php
|
||||
foreach (glob("roles/*.php") as $filename) {
|
||||
include $filename;
|
||||
if ($count%4 == 1)
|
||||
{
|
||||
echo "<div class="row">";
|
||||
}
|
||||
|
||||
echo '
|
||||
<div class="col s12 m6">
|
||||
<div class="col s12 m4">
|
||||
<div class="blurry">
|
||||
<div class="card '.$color.' '.$tcolor.'-text">
|
||||
<div class="card-content">
|
||||
@ -66,9 +72,15 @@
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
if ($count%4 == 0)
|
||||
{
|
||||
echo "</div>";
|
||||
}
|
||||
$count++;
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.tabs').tabs();
|
||||
|
Loading…
Reference in New Issue
Block a user