diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-13 12:13:02 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-06-13 12:13:02 +0200 |
commit | 126f795463973ac78d909ddf9d470eaae5d44207 (patch) | |
tree | 55e211a35b2144e16a07906941cadb3f4f06a659 /pyload/web/app/templates/default/settings | |
parent | improved webui built script (diff) | |
download | pyload-126f795463973ac78d909ddf9d470eaae5d44207.tar.xz |
converted templates to default mustache syntax
Diffstat (limited to 'pyload/web/app/templates/default/settings')
-rw-r--r-- | pyload/web/app/templates/default/settings/config.html | 10 | ||||
-rw-r--r-- | pyload/web/app/templates/default/settings/configItem.html | 4 | ||||
-rw-r--r-- | pyload/web/app/templates/default/settings/menu.html | 42 |
3 files changed, 28 insertions, 28 deletions
diff --git a/pyload/web/app/templates/default/settings/config.html b/pyload/web/app/templates/default/settings/config.html index a9ca6214c..47ff45f0b 100644 --- a/pyload/web/app/templates/default/settings/config.html +++ b/pyload/web/app/templates/default/settings/config.html @@ -1,11 +1,11 @@ <legend> <div class="page-header"> - <h1><% label %> - <small><% description %></small> - <%= if long_description %> - <a class="btn btn-small" data-title="Help" data-content="<% long_description %>"><i + <h1>{{ label }} + <small>{{ description }}</small> + {{#if long_description }} + <a class="btn btn-small" data-title="Help" data-content="{{ long_description }}"><i class="icon-question-sign"></i></a> - <%/if%> + {{/if}} </h1> </div> </legend> diff --git a/pyload/web/app/templates/default/settings/configItem.html b/pyload/web/app/templates/default/settings/configItem.html index 3ddf16c84..5b583b8df 100644 --- a/pyload/web/app/templates/default/settings/configItem.html +++ b/pyload/web/app/templates/default/settings/configItem.html @@ -1,7 +1,7 @@ <div class="control-group"> - <label class="control-label"><% label %></label> + <label class="control-label">{{ label }}</label> <div class="controls"> - <!--{# <span class="help-inline"><% description %></span>#}--> + <!--{# <span class="help-inline">{{ description }}</span>#}--> </div> </div>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/settings/menu.html b/pyload/web/app/templates/default/settings/menu.html index ef814414a..b560e9b83 100644 --- a/pyload/web/app/templates/default/settings/menu.html +++ b/pyload/web/app/templates/default/settings/menu.html @@ -1,40 +1,40 @@ -<%=if core%> +{{#if core}} <li class="nav-header"><i class="icon-globe icon-white"></i> General</li> -<%= each core%> -<li data-name="<% name %>"><a href="#"><% label %></a></li> -<%/each%> -<%/if%> +{{#each core}} +<li data-name="{{ name }}"><a href="#">{{ label }}</a></li> +{{/each}} +{{/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(<% pluginIcon name %>);"> - <% label %> +{{#each addon }} +<li class="addon" data-name="{{ name }}"> + <a href="#" style="background-image: url({{ pluginIcon name }});"> + {{ label }} <i class="icon-remove pull-right"></i> - <%= if activated %> + {{#if activated }} <div class="addon-on"> active - <%else%> + {{else}} <div class="addon-off"> inactive - <%/if%> - <%= if user_context %> + {{/if}} + {{#if user_context }} <!--{# TODO: tooltip #}--> <i class="icon-user pull-right"></i> - <%else%> + {{else}} <i class="icon-globe pull-right"></i> - <%/if%> + {{/if}} </div> </a> </li> -<%/each%> +{{/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(<% pluginIcon name %>);"> - <% label %> +{{#each plugin }} +<li class="plugin" data-name="{{ name }}"> + <a href="#" style="background-image: url({{ pluginIcon name }});"> + {{ label }} <i class="icon-remove pull-right"></i> </a> </li> -<%/each%>
\ No newline at end of file +{{/each}}
\ No newline at end of file |