module.editor.items.php 4.1 KB

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