Skip to content

Commit

Permalink
fix[ui]: closes (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
sk33z3r committed Jun 26, 2022
1 parent 8c056c9 commit 5946fc5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.0.2
Empty file modified php/functions.php
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion php/setup/1.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<label for="trait_count">
Royalty Percentage:
</label>
<input required type="number" class="form number" id="royalty_percentage" min="0" max="10" name="royalty_percentage" placeholder="0-10" />&nbsp;%
<input required type="number" step="any" class="form number" id="royalty_percentage" min="0" max="10" name="royalty_percentage" placeholder="0-10" />&nbsp;%
</div>
<div data-tooltip="Traits Count: How many traits/layers your NFT has">
<label for="trait_count">
Expand Down
6 changes: 3 additions & 3 deletions php/setup/3.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if (rarities[trait] === undefined) {
rarities[trait] = [];
}
rarities[trait][variation-1] = parseInt(input.value);
rarities[trait][variation-1] = parseFloat(input.value);
}
}
// Iterate through rarities backwards and make sure the sum is 100, or display message
Expand Down Expand Up @@ -74,7 +74,7 @@
<div class="trait-row">
<div data-tooltip="Rarity: Chance for this variation to be picked, in percent (all values within a trait should add up to 100)">
<label for="trait<?php echo $trait_var ?>_rarity">Set Rarity:</label><br />
<input required type="number" class="form small" id="trait<?php echo $trait_var ?>_rarity" min="0" max="100" name="trait<?php echo $trait_var ?>_rarity" placeholder="0-100">&nbsp;%
<input required type="number" step="any" class="form small" id="trait<?php echo $trait_var ?>_rarity" min="0" max="100" name="trait<?php echo $trait_var ?>_rarity" placeholder="0-100">&nbsp;%
</div>
<div data-tooltip="Color: The color of this background variation">
<label for="trait<?php echo $trait_var ?>_r">Color:</label><br />
Expand All @@ -96,7 +96,7 @@
<div class="trait-row">
<div data-tooltip="Rarity: Chance for this variation to be picked, in percent (all values within a trait should add up to 100)">
<label for="trait<?php echo $trait_var ?>_rarity">Set Rarity:</label><br />
<input required type="number" class="form small" id="trait<?php echo $trait_var ?>_rarity" min="0" max="100" name="trait<?php echo $trait_var ?>_rarity" placeholder="0-100">&nbsp;%
<input required type="number" step="any" class="form small" id="trait<?php echo $trait_var ?>_rarity" min="0" max="100" name="trait<?php echo $trait_var ?>_rarity" placeholder="0-100">&nbsp;%
</div>
<div data-tooltip="Image File: Pick the image file for this variation.&#xa;(Browse or drag'n'drop)">
<label for="trait<?php echo $trait_var ?>_r">Image File:</label><br />
Expand Down

0 comments on commit 5946fc5

Please sign in to comment.