First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
38
app/Views/getUser.php
Normal file
38
app/Views/getUser.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php namespace App\Views;
|
||||
/******************************************************************************************************************
|
||||
* RPSLS - Rock, Paper, Scissors, Lizard, Spock Game
|
||||
*
|
||||
* @file app/views/getUser.php
|
||||
* @package App\Views
|
||||
* @description
|
||||
* View - Form Page to get User Name.
|
||||
* @author Rick Hays
|
||||
* @date 11/15/2019
|
||||
* @license MIT
|
||||
* @copyright Copyright © 2019 - Rick Hays, All Rights Reserved.
|
||||
*
|
||||
* Revisions:
|
||||
* YYYY-MM-DD XX Description
|
||||
******************************************************************************************************************/
|
||||
?>
|
||||
<!-- Begin page content -->
|
||||
<main role="main" class="flex-shrink-0">
|
||||
<div class="container">
|
||||
<h1 class="mt-5">Rock, Paper, Scissors, Lizard, Spock Game</h1>
|
||||
<p class="lead">Try your luck at how many times you can beat the computer.</p>
|
||||
<p> </p>
|
||||
<div id="getuser">
|
||||
<div class="boxerror bg-warning text-dark"><?=$ErrorCode?></div>
|
||||
<p> </p>
|
||||
<p> Before we start playing lets get a user name to keep track of your score and for the Top 10 list.</p>
|
||||
<form class="mt-2 mt-md-0">
|
||||
<input id="UserName" class="form-control mr-sm-2" type="text" value="<?=$UserName?>" placeholder="User Name - only (a-z, A-Z, 0-9, _ - @) are allowed." aria-label="User Name">
|
||||
<br>
|
||||
<button class="btn btn-outline-dark my-2 my-sm-0" type="button" onclick="submitUserName()">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user