Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. <div class="spacer"></div>
  2.  
  3. <div id="StandardDiv">
  4. </div>
  5.  
  6. <div class="spacer"></div>
  7.  
  8. <div id="splitter"
  9. data-role="splitter"
  10. data-panes="[
  11. { collapsible: false, size: '30px' },
  12. { collapsible: false }
  13. ]">
  14. <div id="LeftPane"></div>
  15. <div id="RightPane"></div>
  16. </div>
  17.  
  18.  
  19. <script id="TestTemplate">
  20. <div class="panel panel-default">
  21. <div class="panel-heading ma-panel-heading">Edit User Details:</div>
  22. <div class="panel-body">
  23. <table class="form-uiview-add_edit">
  24. <tr>
  25. <td>
  26. <label >Username:</label>
  27. <input type="text" class="form-control" />
  28. </td>
  29. <td>
  30. <label >Password:</label>
  31. <input type="password" class="form-control" />
  32. </td>
  33. </tr>
  34. <tr>
  35. <td>
  36. <label >First Name:</label>
  37. <input type="text" class="form-control" />
  38. </td>
  39. <td>
  40. <label >Last Name:</label>
  41. <input type="text" class="form-control" />
  42. </td>
  43. </tr>
  44. <tr>
  45. <td>
  46. <label >Email:</label>
  47. <input type="text" class="form-control" />
  48. </td>
  49. <td>
  50. <div class="checkbox">
  51. <label>
  52. <input type="checkbox" value="1" />
  53. Account is Active
  54. </label>
  55. </div>
  56. </td>
  57. </tr>
  58. </table>
  59. <div class="pull-right">
  60. <button class="btn btn-default" >
  61. Cancel
  62. </button>
  63. <button class="btn btn-default" >
  64. Save
  65. </button>
  66. </div>
  67. </div>
  68. </div>
  69. </script>
  70.  
  71. $(document).ready(function() {
  72. var eTestTemplate = $('#TestTemplate');
  73. $('#StandardDiv').append(eTestTemplate.html());
  74. kendo.bind($('#splitter'), {});
  75. $('#RightPane').append(eTestTemplate.html());
  76. });
  77.  
  78. table.form-uiview-add_edit {
  79. width:100%;
  80. }
  81. .form-uiview-add_edit td {
  82. padding:5px;
  83. }
  84. .spacer {
  85. height:20px;
  86. }
  87.  
  88. .k-widget, .k-widget * {
  89. -moz-box-sizing: content-box;
  90. -webkit-box-sizing: content-box;
  91. box-sizing: content-box;
  92. }
  93.  
  94. .form-uiview-add_edit * {
  95. -moz-box-sizing: border-box !important;
  96. -webkit-box-sizing: border-box !important;
  97. box-sizing: border-box !important;
  98. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement