Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create <omk_dir>/templates/public/acme_list.html.ep
  2. Add the html content.
  3. Create <omk_dir>/lib/json/opCharts/components.d/acme_component.json 

    Code Block
    languagejs
    titleacme_component.json
    {
      "name": "Acme Component",
      "ep_template_file": "public/acme_list",
      "options": {
        "titleText": "My Title"
      },
      "type": "ep_template"
    }


  4. Restart omkd daemon:

    Code Block
    languagejs
    sudo service omkd restart

...


Wikipedia Search

In this example we will create a Dashboard with a Wikipedia Search. 

...