Update index.php
This commit is contained in:
parent
471a3e29fd
commit
d2e5d9e605
18
index.php
18
index.php
@ -33,20 +33,23 @@
|
||||
foreach (glob("roles/*.php") as $filename) {
|
||||
include $filename;
|
||||
echo '
|
||||
|
||||
';
|
||||
}
|
||||
?>
|
||||
<div class="col s12 m6">
|
||||
<div class="card '.$color.'">
|
||||
<div class="card-content">
|
||||
<p>'.$description.'</p>
|
||||
</div>
|
||||
<div class="card-tabs">
|
||||
<ul class="tabs tabs-fixed-width">
|
||||
<li class="tab">
|
||||
<ul class="tabs">
|
||||
<li class="tab col s3">
|
||||
<a class="active" href="#'.$name.'h2p">How to play</a>
|
||||
</li>
|
||||
<li class="tab">
|
||||
<li class="tab col s3">
|
||||
<a href="#'.$name.'pbw">Plays best with</a>
|
||||
</li>
|
||||
<li class="tab">
|
||||
<li class="tab col s3">
|
||||
<a href="#'.$name.'convars">Convars</a>
|
||||
</li>
|
||||
</ul>
|
||||
@ -59,14 +62,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
var el = document.querySelector('.tabs');
|
||||
var instance = M.Tabs.init(el, {});
|
||||
|
Loading…
Reference in New Issue
Block a user