module.editor.items.php 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?php
  2. require('inc/json.item.icons.php');
  3. ?>
  4. <div class="row icon-picker-ctn hidden">
  5. <div class="col-sm-12">
  6. <div id="panel-0" class="panel">
  7. <div class="panel-hdr">
  8. <h2>
  9. <i class="fas fa-boot"></i>&nbsp;Icon <span class="fw-300">Picker</span>
  10. </h2>
  11. <div class="panel-toolbar">
  12. <button class="btn btn-xs btn-default inline cancel-icon-picker"><i class="fas fa-times-square text-danger"></i> Cancel</button>
  13. </div>
  14. </div>
  15. <div class="panel-container show">
  16. <div class="panel-content px-0 py-0">
  17. <div class="row">
  18. <div class="col-3">
  19. <div class="ico-picker-cat pl-3 pr-3">
  20. <h3 class="text-center pt-3"><i class="fad fa-icons-alt"></i> Icon Categories</h3>
  21. <?php echo get_icon_picker($itemIcons, 'categories'); ?>
  22. </div>
  23. </div>
  24. <div class="col-8 ico-picker-list"></div>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. </div>
  30. <script>
  31. $('.ico-picker-cat').slimScroll({
  32. position: 'left',
  33. height: '400px',
  34. railVisible: true,
  35. alwaysVisible: true
  36. });
  37. </script>
  38. </div>
  39. <!--
  40. <div class="row">
  41. <div class="col-xl-12 hidden-lg-down bg-primary-50 colorfusion-400">XL</div>
  42. <div class="col-xl-12 hidden-md-down hidden-xl-up bg-info-50 colorfusion-400">LG</div>
  43. <div class="col-xl-12 hidden-sm-down hidden-lg-up bg-success-50 colorfusion-400">MD</div>
  44. <div class="col-xl-12 hidden-xs-down hidden-md-up bg-warning-50 colorfusion-400">SM</div>
  45. <div class="col-xl-12 hidden-sm-up bg-danger-50 colorfusion-400">XS</div>
  46. </div>
  47. -->
  48. <div class="row">
  49. <div class="col-sm-4">
  50. <div id="panel-1" class="panel">
  51. <div class="panel-hdr">
  52. <h2>
  53. <i class="fad fa-file-search text-success"></i>&nbsp;Item <span class="fw-300">Look-Up</span>
  54. </h2>
  55. <div class="panel-toolbar">
  56. <button class="btn btn-xs btn-default inline"><i class="fad fa-search text-info"></i> Adv. Search</button>
  57. </div>
  58. </div>
  59. <div class="panel-container show">
  60. <div class="panel-content">
  61. <div id="simple-item-search" class="col-xs-row">
  62. <div class="form-group">
  63. <label class="form-label" for="addon-wrapping-left">Search by ID or Name <small>(Partial)</small></label>
  64. <div class="input-group flex-nowrap">
  65. <div class="input-group-prepend">
  66. <span id="quick-item-search-icon" class="input-group-text"><i class="fad fa-search fa-info fs-xl"></i></span>
  67. </div>
  68. <input id="item-quick-search" type="text" class="form-control" placeholder="Enter item id, type or partial name ..." aria-label="quick item search" aria-describedby="addon-wrapping-left" value="rapier"/>
  69. </div>
  70. </div>
  71. </div>
  72. <div id="quick-item-list" class="col-xs-12" style="padding-top:15px;padding-bottom:15px;">
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. <div class="col-sm-8">
  79. <div id="panel-2" class="panel">
  80. <div class="panel-hdr">
  81. <h2>
  82. <i class="fad fa-helmet-battle text-primary"></i>&nbsp;Item <span class="fw-300">Editor</span>
  83. <span id="item-editor-header-label" class="btn btn-md btn-info hidden"></span>
  84. </h2>
  85. </div>
  86. <div class="panel-container">
  87. <div id="item-editor-content" class="panel-content">
  88. <p class="text-center animated fadeInUp item-editor-info">
  89. <i class="fad fa-hand-point-left text-primary animated shake"></i><br><span class="inline animated fadeInLeft">Search for an item to view.</span>
  90. </p>
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. <script>$(document).ready(function() { if($('#item-quick-search').val().length > 0) { $('#item-quick-search').trigger('keyup'); } });</script>