Update create.php

This commit is contained in:
Jesse James Isler 2022-03-31 13:36:01 +02:00
parent f26d5d8727
commit 7f5c7ab7d1

View File

@ -31,17 +31,17 @@
<form>
<div class="row">
<div class="input-field col s3">
<input id="name" type="text" onkeypress="updateCard()">
<input id="name" type="text" onkeyup="updateCard()">
<label for="name">Rolename</label>
</div>
<div class="input-field col s9">
<input id="description" type="text" onkeypress="updateCard()">
<input id="description" type="text" onkeyup="updateCard()">
<label for="description">Roledescription</label>
</div>
</div>
<div class="row">
<div class="input-field col s3">
<select id="rolecolor" onkeypress="updateCard()">
<select id="rolecolor" onkeyup="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" onkeypress="updateCard()">
<select id="modifier" onkeyup="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" onkeypress="updateCard()">
<select id="strength" onkeyup="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" onkeypress="updateCard()">
<select id="tcolor" onkeyup="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" onkeypress="updateCard()" class="materialize-textarea"></textarea>
<textarea id="howtoplay" onkeyup="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" onkeypress="updateCard()" multiple>
<select id="goodRoles" onkeyup="updateCard()" multiple>
<option value="" disabled> Choose your option </option>
<?php
$files = glob("roles/en/*.php");