Skip to content

Commit

Permalink
Update pokemon.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kamieniarz authored Oct 26, 2023
1 parent c78103b commit e26c29b
Showing 1 changed file with 48 additions and 6 deletions.
54 changes: 48 additions & 6 deletions pages/add/pokemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,24 @@ class="form-control text-center">
</label>
</div>
</div>
</div>
</div>

<hr>

<div class="row">
<div class="col">
<div class="alert alert-secondary text-center" role="alert">
<strong><?php echo i8ln("REMEBER! Min. Size cannot be larger than Max. Size!"); ?></strong>
</div>
</div>
</div>

<div class="form-row align-items-center">
<div class="col-sm-12 my-1">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<div class="input-group">
<div class="input-group-prepend">
<div class="input-group-text"><?php echo i8ln("Size"); ?></div>
<div class="input-group-text"><?php echo i8ln("Min. Size"); ?></div>
</div>
</div>
<label class="btn btn-secondary">
Expand All @@ -340,20 +350,52 @@ class="form-control text-center">
</label>
<label class="btn btn-secondary">
<input type="radio" name="size" id="size_2" value="size_2"><?php echo i8ln("XS"); ?>
</label>
</label>
<label class="btn btn-secondary">
<input type="radio" name="size" id="size_3" value="size_3"><?php echo i8ln("M"); ?>
</label>
<label class="btn btn-secondary">
<input type="radio" name="size" id="size_4" value="size_4"><?php echo i8ln("XL"); ?>
</label>
<label class="btn btn-secondary">
<input type="radio" name="size" id="size_5" value="size_5"><?php echo i8ln("XXL"); ?>
</label>
</div>
</div>
</div>

<div class="form-row align-items-center">
<div class="col-sm-12 my-1">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<div class="input-group">
<div class="input-group-prepend">
<div class="input-group-text"><?php echo i8ln("Max. Size"); ?></div>
</div>
</div>
<label class="btn btn-secondary">
<input type="radio" name="max_size" id="max_size_5" value="max_size_5" checked><?php echo i8ln("ALL"); ?>
</label>
<label class="btn btn-secondary">
<input type="radio" name="max_size" id="max_size_1" value="max_size_1"><?php echo i8ln("XXS"); ?>
</label>
<label class="btn btn-secondary">
<input type="radio" name="size" id="size_2" value="size_3"><?php echo i8ln("M"); ?>
<input type="radio" name="max_size" id="max_size_2" value="max_size_2"><?php echo i8ln("XS"); ?>
</label>
<label class="btn btn-secondary">
<input type="radio" name="size" id="size_2" value="size_4"><?php echo i8ln("XL"); ?>
<input type="radio" name="max_size" id="max_size_3" value="max_size_3"><?php echo i8ln("M"); ?>
</label>
<label class="btn btn-secondary">
<input type="radio" name="size" id="size_2" value="size_5"><?php echo i8ln("XXL"); ?>
<input type="radio" name="max_size" id="max_size_4" value="max_size_4"><?php echo i8ln("XL"); ?>
</label>
<label class="btn btn-secondary">
<input type="radio" name="max_size" id="max_size_5" value="max_size_5"><?php echo i8ln("XXL"); ?>
</label>
</div>
</div>
</div>

<hr>

<?php if (strpos($_SESSION['type'], ':user') === false) { ?>
<div class="form-row align-items-center">
<div class="col-sm-12 my-1">
Expand Down

0 comments on commit e26c29b

Please sign in to comment.