beautified

This commit is contained in:
Jesse James Isler 2022-03-28 11:09:08 +02:00
parent 809b1bbdbd
commit 3f89ed0067

View File

@ -33,29 +33,29 @@
foreach (glob("roles/*.php") as $filename) {
include $filename;
echo '
<div class="col s12 m6">
<div class="card '.$color.'">
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-tabs">
<ul class="tabs tabs-fixed-width">
<li class="tab col s3">
<a class="active" href="#'.$name.'h2p">How to play</a>
</li>
<li class="tab col s3">
<a href="#'.$name.'pbw">Plays best with</a>
<li class="tab col s3">
<a href="#'.$name.'convars">Convars</a>
</li>
</ul>
</div>
<div class="card-content grey lighten-4">
<div id="'.$name.'h2p">'.$howtoplay.'</div>
<div id="'.$name.'pbw">'.$playsbestwith.'</div>
<div id="'.$name.'convars">'.$convars.'</div>
</div>
</div>
<div class="col s12 m6">
<div class="card '.$color.'">
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
<div class="card-tabs">
<ul class="tabs tabs-fixed-width">
<li class="tab col s3">
<a class="active" href="#'.$name.'h2p">How to play</a>
</li>
<li class="tab col s3">
<a href="#'.$name.'pbw">Plays best with</a>
<li class="tab col s3">
<a href="#'.$name.'convars">Convars</a>
</li>
</ul>
</div>
<div class="card-content grey lighten-4">
<div id="'.$name.'h2p">'.$howtoplay.'</div>
<div id="'.$name.'pbw">'.$playsbestwith.'</div>
<div id="'.$name.'convars">'.$convars.'</div>
</div>
</div>
</div>
';
}