Compare commits

..

No commits in common. "471a3e29fd619bf98521eb2d2c5e9569ab7d59c3" and "c820732e9b80a1a0443d43ae4935954438ba1822" have entirely different histories.

2 changed files with 47 additions and 35 deletions

View File

@ -18,13 +18,16 @@
<!--My Custom Styleshit-->
<link rel="stylesheet" href="css/styles.css">
<!--MATERIALIZE-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<!--MATERIALIZE-->
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<!--jQuery-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.js"></script>
</head>
<body>
@ -33,38 +36,38 @@
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">
<a class="active" href="#'.$name.'h2p">How to play</a>
</li>
<li class="tab">
<a href="#'.$name.'pbw">Plays best with</a>
</li>
<li class="tab">
<a href="#'.$name.'convars">Convars</a>
</li>
</ul>
</div>
<div class="card-content '.$tcolor.'-text">
<span class="card-title">'.$name.'</span>
<div id="'.$name.'h2p ">'.$howtoplay.'</div>
<div id="'.$name.'pbw ">'.$playsbestwith.'</div>
<div id="'.$name.'convars">'.$convars.'</div>
</div>
</div>
</div>
<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">
<a class="active" href="#'.$name.'h2p">
How to play
</a>
</li>
<li class="tab">
<a href="#'.$name.'pbw">Plays best with</a>
</li>
<li class="tab">
<a href="#'.$name.'convars">Convars</a>
</li>
</ul>
</div>
<div class="card-content '.$tcolor.'-text">
<span class="card-title">'.$name.'</span>
<div id="'.$name.' h2p ">'.$howtoplay.'</div>
<div id=" '.$name.'pbw ">'.$playsbestwith.'</div>
<div id="'.$name.'convars">'.$convars.'</div>
</div>
</div>
</div>
';
}
?>
</div>
</div>
<script>

View File

@ -19,6 +19,15 @@
<link rel="stylesheet" href="css/styles.css"> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
</head>
<body>