diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-11-24 22:01:21 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-11-24 22:01:21 +0100 |
commit | 606d2839aff19da1593c5cab4297342398b626aa (patch) | |
tree | 8a0714581ad31fe23b9acad9dc50fb1310905fb2 /pyload/web/app/templates/default | |
parent | downgraded handlebars (diff) | |
download | pyload-606d2839aff19da1593c5cab4297342398b626aa.tar.xz |
render addon menu for packages
Diffstat (limited to 'pyload/web/app/templates/default')
-rw-r--r-- | pyload/web/app/templates/default/dashboard/package.html | 4 | ||||
-rw-r--r-- | pyload/web/app/templates/default/dashboard/submenu.html | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/pyload/web/app/templates/default/dashboard/package.html b/pyload/web/app/templates/default/dashboard/package.html index 83f4fa39e..cde0dda6e 100644 --- a/pyload/web/app/templates/default/dashboard/package.html +++ b/pyload/web/app/templates/default/dashboard/package.html @@ -31,9 +31,9 @@ <li><a href="#" class="btn-recheck"><i class="icon-refresh"></i> Recheck</a></li> <li class="divider"></li> <li class="dropdown-submenu"> - <a>Addons</a> + <a>{{ _ "Addons" }}</a> <ul class="dropdown-menu"> - <li><a>Test</a></li> + <li><a><i class="icon-spinner icon-spin"></i> {{ _ "Loading..." }}</a></li> </ul> </li> </ul> diff --git a/pyload/web/app/templates/default/dashboard/submenu.html b/pyload/web/app/templates/default/dashboard/submenu.html new file mode 100644 index 000000000..70e067b84 --- /dev/null +++ b/pyload/web/app/templates/default/dashboard/submenu.html @@ -0,0 +1,8 @@ +{{#each this}} + {{#each this}} + <li><a href="#" data-plugin="{{@key}}" data-func="{{func_name}}"> + <img src="{{pluginIcon @key}}" style="width: 20px; height: 20px"> + {{label}}</a> + </li> + {{/each}} +{{/each}}
\ No newline at end of file |