This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.example.xml
35 lines (35 loc) · 1.87 KB
/
manifest.example.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<canvashack xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="./canvashack.xsd">
<title>Global Navigation Menus</title>
<id>global-navigation-menus</id>
<abstract>Add custom global navigation menus to the Canvas UI</abstract>
<description>This plugin adds configurable, custom, drop-down menus to the global navigation bar in Canvas. The basic styling is provided by JQuery, with some (minor) customization performed by the `navbar.css` file. The menus optionally provide click-tracking analytics to allow for optimal organization.</description>
<authors>
<author name="Seth Battis" email="[email protected]" url="https://github.com/smtech"/>
</authors>
<components>
<scripts>
<file path="menu-loader.js"/>
</scripts>
<stylesheets>
<file path="navbar.css"/>
</stylesheets>
<canvas>
<pages>
<include>
<page type="regex" match="/.*/"/>
</include>
</pages>
<dom>
<node selector="#menu" method="loadMenus()"/>
</dom>
</canvas>
</components>
<config>
<option name="menu-db-host" description="MySQL host for the menu database (defaults to the CanvasHack database host)."/>
<option name="menu-db-user" description="MySQL user for the menu database (defaults to the CanvasHack database user)"/>
<option name="menu-db-password" description="MySQL password for the menu database (defaults to the CnavasHack database password)"/>
<option name="menu-db-database" description="MySQL database for the menu database (defaults to the CanvasHack database)"/>
<option name="analytics" type="bool" description="Whether or not to track user click analytics on menu items"/>
</config>
</canvashack>