summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-30 22:02:21 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-30 22:02:21 +0100
commit9938c968ae884aa61878de409533a383ebd30c95 (patch)
treea2cab805d597eac52d400218ac37550325446f2a /module/web/templates
parentsave and delete configs (diff)
downloadpyload-9938c968ae884aa61878de409533a383ebd30c95.tar.xz
separate addon and plugin configs
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/settings.html29
1 files changed, 26 insertions, 3 deletions
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html
index d8e3430f5..0b92730c2 100644
--- a/module/web/templates/default/settings.html
+++ b/module/web/templates/default/settings.html
@@ -22,15 +22,38 @@
<%/if%>
<li class="divider"></li>
<li class="nav-header"><i class="icon-th-large icon-white"></i> {{ _("Addons") }}</li>
+ <%= each addon %>
+ <li class="addon" data-name="<% name %>">
+ <a href="#" style="background-image: url(icons/<% name %>);">
+ <% label %>
+ <i class="iconf-remove pull-right"></i>
+ <%= if activated %>
+ <div class="addon-on">
+ active
+ <%else%>
+ <div class="addon-off">
+ inactive
+ <%/if%>
+ <%= if user_context %>
+ {# TODO: tooltip #}
+ <i class="iconf-user pull-right"></i>
+ <%else%>
+ <i class="iconf-globe pull-right"></i>
+ <%/if%>
+ </div>
+ </a>
+ </li>
+ <%/each%>
+ <li class="divider"></li>
+ <li class="nav-header"><i class="icon-th-list icon-white"></i> {{ _("Plugin Configs") }}</li>
<%= each plugin %>
<li class="plugin" data-name="<% name %>">
<a href="#" style="background-image: url(icons/<% name %>);">
<% label %>
<i class="iconf-remove pull-right"></i>
- </a></li>
+ </a>
+ </li>
<%/each%>
- {# <li class="divider"></li>#}
- {# <li class="nav-header"><i class="icon-th-list icon-white"></i> {{ _("Other") }}</li>#}
</script>
<script type="text/template" id="template-config">
<legend>