Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.31 KB | None | 0 0
  1. <h3><i class="fa fa-angle-right"></i>Product</h3>
  2. <!-- BASIC FORM ELELEMNTS -->
  3. <div class="row mt">
  4. <div class="col-lg-12">
  5. <form [formGroup]="productForm" (ngSubmit)="createProduct()">
  6.  
  7.  
  8.  
  9.  
  10.  
  11. <input type="hidden" formControlName="id" class="hilang" />
  12. <div class="form-panel">
  13. <div class="form-group">
  14. <!-- start product name input -->
  15. <label class="col-sm-2 col-sm-2 control-label">Product Name</label>
  16. <div class="col-sm-10">
  17. <input type="text"
  18. id="product_name"
  19. class="form-control"
  20. formControlName="product_name"
  21. placeholder="fill product name here"
  22. [class.is-invalid]="product_name.invalid &&
  23. product_name.touched"
  24. >
  25. <div *ngIf="product_name.invalid && product_name.touched">
  26. <small *ngIf="product_name.errors?.required" class="text-danger">product name Required</small>
  27. <!-- end product name input -->
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label class="col-sm-2 col-sm-2 control-label">Detail</label>
  32. <div class="col-sm-10">
  33. <input type="text" class="form-control">
  34. </div>
  35. </div>
  36.  
  37. <div class="form-group">
  38. <label class="col-sm-2 col-sm-2 control-label">Price</label>
  39. <div class="col-sm-10">
  40. <input type="text" class="form-control">
  41. </div>
  42. </div>
  43. <div class="form-group">
  44. <label class="col-sm-2 col-sm-2 control-label">Update By</label>
  45. <div class="col-sm-10">
  46. <input type="text" class="form-control">
  47. </div>
  48. </div>
  49.  
  50. <div class="form-group last">
  51. <label class="control-label col-md-3">Image Upload</label>
  52. <div class="col-md-9">
  53. <div class="fileupload fileupload-new" data-provides="fileupload">
  54. <div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
  55. <img src="../../../assets/Backend/img/no+image.png" alt="" />
  56. </div>
  57. <div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
  58. <div>
  59. <span class="btn btn-theme02 btn-file">
  60. <span class="fileupload-new"><i class="fa fa-paperclip"></i> Select image</span>
  61. <span class="fileupload-exists"><i class="fa fa-undo"></i> Change</span>
  62. <input type="file" class="default" />
  63. </span>
  64. <a href="#" class="btn btn-theme04 fileupload-exists" data-dismiss="fileupload"><i class="fa fa-trash-o"></i> Remove</a>
  65. </div>
  66. </div>
  67. <span class="label label-info">NOTE!</span>
  68. <span>
  69. Attached image thumbnail is
  70. supported in Latest Firefox, Chrome, Opera,
  71. Safari and Internet Explorer 10 only
  72. </span>
  73. </div>
  74. </div>
  75.  
  76. <div class="form-group">
  77. <label class="control-label col-md-3">Default Datepicker</label>
  78. <div class="col-md-3 col-xs-11">
  79. <input class="form-control form-control-inline input-medium default-date-picker" size="16" type="text" value="">
  80. <span class="help-block">Select date</span>
  81. </div>
  82. </div>
  83.  
  84. <button type="button" class="btn btn-info">
  85. Save
  86. </button>
  87. </form>
  88.  
  89. <section class="wrapper">
  90. <h3><i class="fa fa-angle-right"></i> Advanced Table Example</h3>
  91. <div class="col-sm-15">
  92.  
  93. <!-- page start-->
  94. <div class="content-panel">
  95. <div class="adv-table">
  96. <table cellpadding="0" cellspacing="0" border="0" class="display table table-bordered" id="hidden-table-info">
  97. <thead>
  98. <tr>
  99. <th>Product Name</th>
  100. <th>Detail</th>
  101. <th class="hidden-phone">Price</th>
  102. <th class="hidden-phone">Update By</th>
  103. <th class="hidden-phone">Date</th>
  104. </tr>
  105. </thead>
  106. <tbody>
  107. <tr>
  108. <td>
  109. <a href="#">Company Ltd</a>
  110. </td>
  111. <td class="hidden-phone">Lorem Ipsum dolor</td>
  112. <td>12000.00$ </td>
  113. <td><span class="label label-info label-mini">Wahyu</span></td>
  114. <td><span class="label label-info label-mini">21-01-2020</span></td>
  115. <td>
  116. <button class="btn btn-success btn-xs"><i class="fa fa-check"></i></button>
  117. <button class="btn btn-primary btn-xs"><i class="fa fa-pencil"></i></button>
  118. <button class="btn btn-danger btn-xs"><i class="fa fa-trash-o "></i></button>
  119. </td>
  120. </tr>
  121.  
  122. </tbody>
  123. </table>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. </div>
  129. <!-- col-lg-12-->
  130. </div>
  131. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement