Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="generate">
- <div class="generate_qrcode" id="output"></div>
- </div>
- <div class="qrcode__span">Right click to download as a .png</div>
- <!-- <img class="QRCode" src="qrcode-encoding.png" /> -->
- <script>
- let qrcode = new QRCode("output", {
- text: window.location.href,
- width: 256,
- height: 256,
- colorDark : "#04243c",
- colorLight : "#FFFFFF",
- correctLevel : QRCode.CorrectLevel.H
- });
- </script>
- <!-- HTML/Product Edit Field (on same page as above code) -->
- <body class="product_edit">
- <h2 class="ep__h2">Edit Product</h2>
- <div class="ep">
- <form class="ep__form"
- action="/product_edit/{{product.productId}}" method="POST"
- autocomplete="off">
- <label for="productname" class="ep__label">Product Name:
- </label>
- <input type="text" name="product_name" class="ep__input"
- placeholder="Product Name" value="{{product.productName}}">
- <label for="manufacturer" class="ep__label">Manufacturer:
- </label>
- <input type="text" name="product_manufacturer"
- class="ep__input" placeholder="Manufacturer" value=" .
- {{product.productManufacturer}}">
- <label for="product_size" class="ep__label">Size:</label>
- <input type="text" name="product_size" class="ep__input"
- placeholder="Size" value="{{product.productSize}}">
- <label for="product_qty" class="ep__label">Quantity:
- </label>
- <button type="button" class="ep__qtyminus" value="-"
- name="product_qty" field="product_qty">-</button>
- <input type="number" name="product_qty"
- class="ep__qtynumber" value="{{product.productQty}}">
- <button type="button" class="ep__qtyplus" value="+"
- name="product_qty" field="product_qty">+</button>
- <label for="product_sku" class="ep__label--half">SKU:
- </label>
- <label for="product_minimum" class="ep__label--
- half">Minimum:</label>
- <input type="text" name="product_sku" class="ep__input--
- half" placeholder="SKU" value="{{product.productSku}}">
- <input type="number" name="product_minimum"
- class="ep__input--half" placeholder="Minimum" value="
- {{product.productMinimum}}">
- <label for="product_color" class="ep__label--half">Color:
- </label>
- <label for="product_number" class="ep__label--half">Number:
- </label>
- <input type="text" name="product_color" class="ep__input--
- half" placeholder="Color" value="{{product.productColor}}">
- <input type="number" name="product_number"
- class="ep__input--half" placeholder="Minimum" value=" .
- {{product.productNumber}}">
- <button class="ep__save" type="submit">Save</button>
- </form>
- </div>
Add Comment
Please, Sign In to add comment