Guest User

Untitled

a guest
Oct 15th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. <div class="generate">
  2.  
  3. <div class="generate_qrcode" id="output"></div>
  4. </div>
  5. <div class="qrcode__span">Right click to download as a .png</div>
  6.  
  7. <!-- <img class="QRCode" src="qrcode-encoding.png" /> -->
  8. <script>
  9. let qrcode = new QRCode("output", {
  10. text: window.location.href,
  11. width: 256,
  12. height: 256,
  13. colorDark : "#04243c",
  14. colorLight : "#FFFFFF",
  15. correctLevel : QRCode.CorrectLevel.H
  16. });
  17. </script>
  18.  
  19. <!-- HTML/Product Edit Field (on same page as above code) -->
  20.  
  21.  
  22. <body class="product_edit">
  23. <h2 class="ep__h2">Edit Product</h2>
  24. <div class="ep">
  25. <form class="ep__form"
  26. action="/product_edit/{{product.productId}}" method="POST"
  27. autocomplete="off">
  28. <label for="productname" class="ep__label">Product Name:
  29. </label>
  30. <input type="text" name="product_name" class="ep__input"
  31. placeholder="Product Name" value="{{product.productName}}">
  32. <label for="manufacturer" class="ep__label">Manufacturer:
  33. </label>
  34. <input type="text" name="product_manufacturer"
  35. class="ep__input" placeholder="Manufacturer" value=" .
  36. {{product.productManufacturer}}">
  37. <label for="product_size" class="ep__label">Size:</label>
  38. <input type="text" name="product_size" class="ep__input"
  39. placeholder="Size" value="{{product.productSize}}">
  40. <label for="product_qty" class="ep__label">Quantity:
  41. </label>
  42. <button type="button" class="ep__qtyminus" value="-"
  43. name="product_qty" field="product_qty">-</button>
  44. <input type="number" name="product_qty"
  45. class="ep__qtynumber" value="{{product.productQty}}">
  46. <button type="button" class="ep__qtyplus" value="+"
  47. name="product_qty" field="product_qty">+</button>
  48. <label for="product_sku" class="ep__label--half">SKU:
  49. </label>
  50. <label for="product_minimum" class="ep__label--
  51. half">Minimum:</label>
  52. <input type="text" name="product_sku" class="ep__input--
  53. half" placeholder="SKU" value="{{product.productSku}}">
  54. <input type="number" name="product_minimum"
  55. class="ep__input--half" placeholder="Minimum" value="
  56. {{product.productMinimum}}">
  57. <label for="product_color" class="ep__label--half">Color:
  58. </label>
  59. <label for="product_number" class="ep__label--half">Number:
  60. </label>
  61. <input type="text" name="product_color" class="ep__input--
  62. half" placeholder="Color" value="{{product.productColor}}">
  63. <input type="number" name="product_number"
  64. class="ep__input--half" placeholder="Minimum" value=" .
  65. {{product.productNumber}}">
  66. <button class="ep__save" type="submit">Save</button>
  67. </form>
  68. </div>
Add Comment
Please, Sign In to add comment