form_knob.php 1.21 KB
<!DOCTYPE html>
<html>
	<style>
		.knob-button{
			font-size: 2.5em;
			height: 125px;
			width: 50px;
			text-align: center;
			color: #000;
			background: #fff;
			border-radius: 10px;
		}
		.knob-button:hover{
			background: #b8ff70;
		}
		.knob-button:active{
			background: #07e50a;
		}
	</style>
	<div aria-label="bouton_tournant">
		<div class="btn-group" role="group" aria-label="panel-haut">
			<form method="post" action="main.php?tab=Global">
				<input type="button" id="knob" name="knob" class="knob-button" value="&#x21B1;" onclick="this.form.submit();"/>
				<input type="hidden" id="knob" name="knob" value="KNOB_RIGHT" class="btn btn-outline-danger"/>
			</form>
			<form method="post" action="main.php?tab=Global">
				<input type="image" src="Generateur/Global/Knob/btn_knob_generateur.png" name="submit" onclick="this.form.submit()"/>
				<input type="hidden" id="chiffre" name="chiffre" value="KNOB_DOWN"/>
			</form>
			<form method="post" action="main.php?tab=Global">
				<input type="button" id="knob" name="knob" class="knob-button" value="&#x21B0;" onclick="this.form.submit();"/>
				<input type="hidden" id="knob" name="knob" value="KNOB_LEFT" class="btn btn-outline-danger"/>
			</form>
		</div>
	</div>
</html>