Update create.php

This commit is contained in:
Jesse James Isler 2022-03-31 13:35:03 +02:00
parent ebed13c945
commit f26d5d8727

View File

@ -31,17 +31,17 @@
<form>
<div class="row">
<div class="input-field col s3">
<input id="name" type="text" onchange="updateCard()">
<input id="name" type="text" onkeypress="updateCard()">
<label for="name">Rolename</label>
</div>
<div class="input-field col s9">
<input id="description" type="text" onchange="updateCard()">
<input id="description" type="text" onkeypress="updateCard()">
<label for="description">Roledescription</label>
</div>
</div>
<div class="row">
<div class="input-field col s3">
<select id="rolecolor" onchange="updateCard()">
<select id="rolecolor" onkeypress="updateCard()">
<option value="" disabled selected>Color</option>
<option value="red">Red</option>
<option value="pink">Pink</option>
@ -69,7 +69,7 @@
<label>Select color</label>
</div>
<div class="input-field col s3">
<select id="modifier" onchange="updateCard()">
<select id="modifier" onkeypress="updateCard()">
<option value="" selected>None</option>
<option value="lighten">Lighten</option>
<option value="darken">Darken</option>
@ -78,7 +78,7 @@
<label>Select Modifier</label>
</div>
<div class="input-field col s3">
<select id="strength" onchange="updateCard()">
<select id="strength" onkeypress="updateCard()">
<option value="" selected>No Strength</option>
<option value="1">1</option>
<option value="2">2</option>
@ -88,7 +88,7 @@
<label>Select Strength</label>
</div>
<div class="input-field col s3">
<select id="tcolor" onchange="updateCard()">
<select id="tcolor" onkeypress="updateCard()">
<option value="" disabled selected>Textcolor</option>
<option value="black-text">Black</option>
<option value="white-text">White</option>
@ -98,13 +98,13 @@
</div>
<div class="row">
<div class="input-field col s12">
<textarea id="howtoplay" onchange="updateCard()" class="materialize-textarea"></textarea>
<textarea id="howtoplay" onkeypress="updateCard()" class="materialize-textarea"></textarea>
<label for="howtoplay">Text to describe how to play</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<select id="goodRoles" onchange="updateCard()" multiple>
<select id="goodRoles" onkeypress="updateCard()" multiple>
<option value="" disabled> Choose your option </option>
<?php
$files = glob("roles/en/*.php");