diff options
Diffstat (limited to 'pyload/web/app/templates/default/settings')
5 files changed, 80 insertions, 0 deletions
diff --git a/pyload/web/app/templates/default/settings/actionbar.html b/pyload/web/app/templates/default/settings/actionbar.html new file mode 100644 index 000000000..25b10d463 --- /dev/null +++ b/pyload/web/app/templates/default/settings/actionbar.html @@ -0,0 +1,5 @@ +<div class="span2 offset1"> +</div> +<span class="span9"> + <button class="btn btn-small btn-blue btn-add">Add Plugin</button> +</span>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/settings/config.html b/pyload/web/app/templates/default/settings/config.html new file mode 100644 index 000000000..a9ca6214c --- /dev/null +++ b/pyload/web/app/templates/default/settings/config.html @@ -0,0 +1,17 @@ +<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 + class="icon-question-sign"></i></a> + <%/if%> + </h1> + </div> +</legend> +<div class="control-content"> +</div> +<div class="form-actions"> + <button type="button" class="btn btn-primary">Save changes</button> + <button type="button" class="btn btn-reset">Reset</button> +</div>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/settings/configItem.html b/pyload/web/app/templates/default/settings/configItem.html new file mode 100644 index 000000000..3ddf16c84 --- /dev/null +++ b/pyload/web/app/templates/default/settings/configItem.html @@ -0,0 +1,7 @@ + <div class="control-group"> + <label class="control-label"><% label %></label> + + <div class="controls"> + <!--{# <span class="help-inline"><% description %></span>#}--> + </div> + </div>
\ No newline at end of file diff --git a/pyload/web/app/templates/default/settings/layout.html b/pyload/web/app/templates/default/settings/layout.html new file mode 100644 index 000000000..39f1a2ec9 --- /dev/null +++ b/pyload/web/app/templates/default/settings/layout.html @@ -0,0 +1,11 @@ +<div class="span2"> + <ul class="nav nav-list well settings-menu"> + </ul> +</div> +<div class="span10"> + <div class="well setting-box"> + <form class="form-horizontal" action="#"> + <h1>Please choose a config section</h1> + </form> + </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 new file mode 100644 index 000000000..ef814414a --- /dev/null +++ b/pyload/web/app/templates/default/settings/menu.html @@ -0,0 +1,40 @@ +<%=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%> +<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 %> + <i class="icon-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="icon-user pull-right"></i> + <%else%> + <i class="icon-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(<% pluginIcon name %>);"> + <% label %> + <i class="icon-remove pull-right"></i> + </a> +</li> +<%/each%>
\ No newline at end of file |