一、官網:
二、使用方式
<link rel="stylesheet" type="text/css" href="<{$xoAppUrl}>class/fontawesome-iconpicker/css/fontawesome-iconpicker.min.css"> <script type="text/javascript" src="<{$xoAppUrl}>class/fontawesome-iconpicker/js/fontawesome-iconpicker.min.js"></script> <script type='text/javascript'> $(document).ready(function(){ $('#icon').iconpicker(); }); </script>
<div class="col-sm-3"> <div class="form-group"> <label for="icon">圖示</label> <div class="input-group iconpicker-container"> <input type="text" data-placement="bottomRight" class="form-control icp icp-auto iconpicker-element iconpicker-input" id="icon" name="icon" value="<{$row.icon}>"> <span class="input-group-addon"><i class="fa fa-archive"></i></span> </div> </div> </div>