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--> <!--My Custom Styleshit-->
<link rel="stylesheet" href="css/styles.css"> <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> </head>
<body> <body>
@ -33,38 +36,38 @@
foreach (glob("roles/*.php") as $filename) { foreach (glob("roles/*.php") as $filename) {
include $filename; include $filename;
echo ' echo '
<div class="col s12 m6"> <div class="col s12 m6">
<div class="card '.$color.'"> <div class="card '.$color.'">
<div class="card-content"> <div class="card-content">
<p>'.$description.'</p> <p>'.$description.'</p>
</div> </div>
<div class="card-tabs"> <div class="card-tabs">
<ul class="tabs tabs-fixed-width"> <ul class="tabs tabs-fixed-width">
<li class="tab"> <li class="tab">
<a class="active" href="#'.$name.'h2p">How to play</a> <a class="active" href="#'.$name.'h2p">
</li> How to play
<li class="tab"> </a>
<a href="#'.$name.'pbw">Plays best with</a> </li>
</li> <li class="tab">
<li class="tab"> <a href="#'.$name.'pbw">Plays best with</a>
<a href="#'.$name.'convars">Convars</a> </li>
</li> <li class="tab">
</ul> <a href="#'.$name.'convars">Convars</a>
</div> </li>
<div class="card-content '.$tcolor.'-text"> </ul>
<span class="card-title">'.$name.'</span> </div>
<div id="'.$name.'h2p ">'.$howtoplay.'</div> <div class="card-content '.$tcolor.'-text">
<div id="'.$name.'pbw ">'.$playsbestwith.'</div> <span class="card-title">'.$name.'</span>
<div id="'.$name.'convars">'.$convars.'</div> <div id="'.$name.' h2p ">'.$howtoplay.'</div>
</div> <div id=" '.$name.'pbw ">'.$playsbestwith.'</div>
</div> <div id="'.$name.'convars">'.$convars.'</div>
</div> </div>
</div>
</div>
'; ';
} }
?> ?>
</div>
</div>
<script> <script>

View File

@ -19,6 +19,15 @@
<link rel="stylesheet" href="css/styles.css"> --> <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> </head>
<body> <body>