Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29646

Build a font awesome icon picker and make it available via headscripts.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 11.0
    • Component/s: Reference
    • Labels:
      None

      Description

      Built a function to turn a text field into an icon picker for FontAwesome:

      <link rel="stylesheet" type="text/css" href="/library/js/fontIconPicker/2.0.1-cs/css/jquery.fonticonpicker.css" />
      <link rel="stylesheet" type="text/css" href="/library/js/fontIconPicker/2.0.1-cs//themes/grey-theme/jquery.fonticonpicker.grey.min.css" />
      <script type="text/javascript" src="/library/headscripts.js"></script>
      <script>includeLatestJQuery('my_tool_name');</script>
      <script type="text/javascript" src="/library/js/fontIconPicker/2.0.1-cs/jquery.fonticonpicker.min.js"></script>

      <input type="text" id="icon_input" name="icon_input" />

      <script>fontawesome_icon_picker('#icon_input');</script>

      Based on: http://codeb.it/fonticonpicker/

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  csev Charles Severance
                  Reporter:
                  csev Charles Severance
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration