summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/templates/default')
-rw-r--r--module/web/templates/default/dashboard.html2
-rw-r--r--module/web/templates/default/settings.html13
2 files changed, 9 insertions, 6 deletions
diff --git a/module/web/templates/default/dashboard.html b/module/web/templates/default/dashboard.html
index bb2a68cbf..e8041e700 100644
--- a/module/web/templates/default/dashboard.html
+++ b/module/web/templates/default/dashboard.html
@@ -86,7 +86,7 @@
<ul class="dropdown-menu" role="menu">
<li><a href="#" class="btn-delete"><i class="iconf-trash"></i> Delete</a></li>
<li><a href="#" class="btn-restart"><i class="iconf-refresh"></i> Restart</a></li>
- <li><a href="#" class="btn-dowload"><i class="iconf-download"></i> Download</a></li>
+ <li><a href="download/<% fid %>" target="_blank" class="btn-dowload"><i class="iconf-download"></i> Download</a></li>
<li><a href="#" class="btn-share"><i class="iconf-share"></i> Share</a></li>
<li class="divider"></li>
<li class="dropdown-submenu pull-left">
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html
index 683009c37..ea570af0f 100644
--- a/module/web/templates/default/settings.html
+++ b/module/web/templates/default/settings.html
@@ -16,14 +16,17 @@
<script type="text/template" id="template-menu">
<%=if core%>
<li class="nav-header"><i class="icon-globe icon-white"></i> {{ _("General") }}</li>
- <%=each core%>
- <li data-name="<% this.name %>"><a href="#"><% this.label %></a></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>
- <li class="divider"></li>
- <li class="nav-header"><i class="icon-th-list icon-white"></i> {{ _("Other") }}</li>
+ <%= each plugin %>
+ <li data-name="<% name %>"><a href="#"><% label %></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>
@@ -38,7 +41,7 @@
<div class="control-content">
</div>
<div class="form-actions">
- <button type="submit" class="btn btn-primary">Save changes</button>
+ <button type="button" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-reset">Reset</button>
</div>
</script>