Advertisement
Guest User

fafa

a guest
Aug 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. @extends('layouts.app')
  2.  
  3. @section('title', 'Master Employee')
  4. @section('content')
  5. <div id="main-content">
  6. <div class="container-fluid">
  7. <div class="block-header">
  8. <div class="row">
  9. <div class="col-lg-5 col-md-8 col-sm-12">
  10. <h2><a href="javascript:void(0);" class="btn btn-xs btn-link btn-toggle-fullwidth"><i class="fa fa-arrow-left"></i></a>Master Employees</h2>
  11. <ul class="breadcrumb">
  12. <li class="breadcrumb-item"><a href="index.html"><i class="icon-home"></i></a></li>
  13. <li class="breadcrumb-item">Master Employees</li>
  14. </ul>
  15. </div>
  16.  
  17. </div>
  18. </div>
  19.  
  20. <!-- Search Menu -->
  21. <div class="row clearfix">
  22. <div class="card col-sm-12">
  23. <div class="body">
  24. <input type="hidden" id="hdnSession" value="{{Session('name')}}" />
  25. <button type="button" onclick="showTambah()" class="btn btn-primary">Add New Employees</button>
  26. </div>
  27.  
  28. </div>
  29. </div>
  30.  
  31. <div class="row clearfix">
  32. <div class="card col-sm-12">
  33. <div class="header">
  34. <form action="/employees/cari" method="GET" role="search">
  35. <div class="input-group" id="adv-search">
  36. <input type="text" class="form-control" placeholder="Nama Employees " name="cariQ"/>
  37. <div class="input-group-btn">
  38. <div class="btn-group" role="group">
  39.  
  40. <button type="submit" method="post" class="btn btn-primary"><span class="icon-magnifier" aria-hidden="true"></span></button>
  41. </div>
  42. </div>
  43. </div>
  44. </form>
  45. </div>
  46. <div class="body">
  47. <div class="table-responsive">
  48. <div class="card-panel green white-text">Hasil pencarian : <b></b></div>
  49. <table class="table center-aligned-table" id="datatable">
  50. <thead>
  51. <tr>
  52. <th>Nama Employee</th>
  53. <th>Alamat Employee</th>
  54. <th>No Handphone</th>
  55. <th>Gender</th>
  56. <th>Action</th>
  57. </tr>
  58. </thead>
  59. <tbody></tbody>
  60. </table>
  61. <ul id="pagination" class="pagination-sm"></ul>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66.  
  67. </div>
  68. </div>
  69.  
  70. <!-- modal tambah edit -->
  71. <div class="modal fade" id="tambahEmploye" tabindex="-1" role="dialog">
  72. <div class="modal-dialog" role="document">
  73. <div class="modal-content">
  74. <div class="modal-header">
  75. <h5 id="titleEntry" class="modal-title">Entry Employee</h5>
  76. <h5 id="titleEdit" class="modal-title">Edit Employee</h5>
  77. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  78. <span aria-hidden="true">&times;</span>
  79. </button>
  80. </div>
  81.  
  82. <div class="modal-body">
  83. <!-- start body modal -->
  84.  
  85. <div class="row clearfix">
  86. <div class="card col-sm-12">
  87. <div class="body">
  88. <form id="employeForm" novalidate>
  89.  
  90. {{csrf_field()}}
  91. <div class="form-group">
  92. <label>Nama Employee</label>
  93. <input type="text" name="NamaEmployee" id="NamaEmployee" class="form-control" required>
  94. <input type="hidden" name="IdEmployee" id="IdEmployee" class="form-control" required>
  95. </div>
  96. <div class="form-group">
  97. <label>Alamat Employee</label>
  98. <input type="text" name="AlamatEmployee" id="AlamatEmployee" class="form-control" required>
  99. </div>
  100. <div class="form-group">
  101. <label>No Handphone</label>
  102. <input type="tel" name="NoHandphone" id="NoHandphone" class="form-control" required>
  103. </div>
  104. <div class="form-group">
  105. <label>Gender</label>
  106. <br />
  107. <label class="fancy-radio">
  108. <input type="radio" name="Gender" id="Gender" value="Male" checked required data-parsley-errors-container="#error-radio">
  109. <span><i></i>Male</span>
  110. </label>
  111. <label class="fancy-radio">
  112. <input type="radio" name="Gender" id="Gender" value="Female" >
  113. <span><i></i>Female</span>
  114. </label>
  115. <p id="error-radio"></p>
  116. </div>
  117. <div class="form-group" id="PasswordArea">
  118. <label>Password</label>
  119. <input type="password" name="Password" id="Password" class="form-control" required>
  120. </div>
  121. <div class="form-group">
  122. <button id="save" type="button" onclick="simpan();" class="btn float-left btn-primary">Save</button>
  123. <button id="Update" type="button" onclick="update();" class="btn float-right btn-primary">Update</button>
  124. </div>
  125.  
  126. </form>
  127.  
  128.  
  129. </div>
  130.  
  131. </div>
  132. </div>
  133.  
  134. <!-- end -->
  135.  
  136. </div>
  137.  
  138. </div>
  139. </div>
  140. </div>
  141. @endSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement