diff options
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 30 | 
1 files changed, 26 insertions, 4 deletions
| @@ -6,9 +6,31 @@ if (isset($_POST['decklist'])) {    exit;  } +$placeholder = <<<PLCHLDR +QUANTITY NAME (SET) NUMBER +3 Nissa, Who Shakes the World (WAR) 169 +PLCHLDR; +  ?> -<form action="" method="POST"> -  <textarea name="decklist"></textarea> -  <button>Submit</button> -</form> +<!doctype html> +<html> +  <head> +    <meta charset="utf-8"> +    <meta name="viewport" content="width=device-width, initial-scale=1"> +    <style> +    * { +      box-sizing: border-box; +    } +    textarea { +      max-width: 100%; +    } +    </style> +  </head> +  <body> +    <form action="" method="POST"> +      <textarea name="decklist" placeholder="<?php echo $placeholder; ?>" rows="10" cols="40" style="max-width: 100%;"></textarea> +      <button>Submit</button> +    </form> +  </body> +</html> | 
