summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-01-06 19:45:09 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-01-06 19:45:09 +0100
commit821e26fa30372ad6e534a54134653d8f664c58dd (patch)
treeff9bd1a3d6755d4470937f0199aa804c815ac5a4 /module/web/templates/default
parentshow settings menu items (diff)
downloadpyload-821e26fa30372ad6e534a54134653d8f664c58dd.tar.xz
fixed the lexer rules
Diffstat (limited to 'module/web/templates/default')
-rw-r--r--module/web/templates/default/dashboard.html6
-rw-r--r--module/web/templates/default/settings.html24
2 files changed, 16 insertions, 14 deletions
diff --git a/module/web/templates/default/dashboard.html b/module/web/templates/default/dashboard.html
index 0c20589af..875178931 100644
--- a/module/web/templates/default/dashboard.html
+++ b/module/web/templates/default/dashboard.html
@@ -18,15 +18,15 @@
<span class="checkbox"></span>
<i class="icon-folder-close icon-white"></i>&nbsp;
<span class="name">
- Package <%= pid %>: <%= name %>
+ Package <% pid %>: <% name %>
</span>
</div>
<div class="package-row second">
<span>
- <%= stats.linksdone %> / <%= stats.linkstotal %>
+ <% stats.linksdone %> / <% stats.linkstotal %>
</span>
<span class="pull-right">
- <%= formatSize stats.sizedone %> / <%= formatSize stats.sizetotal %>
+ <% formatSize stats.sizedone %> / <% formatSize stats.sizetotal %>
</span>
</div>
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html
index 591dbc30c..5fa34a40d 100644
--- a/module/web/templates/default/settings.html
+++ b/module/web/templates/default/settings.html
@@ -12,22 +12,24 @@
App.initSettingsView();
{% endblock %}
+{% block head %}
+ <script type="text/template" id="template-menu">
+ <%=if core%>
+ Core
+ <%/if%>
+ <li class="nav-header"><i class="icon-globe icon-white"></i> {{ _("General") }}</li>
+ <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>
+ </script>
+{% endblock %}
+
{% block content %}
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<ul class="nav nav-list well settings-menu">
- <li class="nav-header"><i class="icon-globe icon-white"></i> {{ _("General") }}</li>
- <li class="active"><a href="#">Example Settings</a></li>
- <li><a href="#">General blabla</a></li>
- <li><a href="#">General blabla</a></li>
- <li><a href="#">General blabla</a></li>
- <li><a href="#">General blabla</a></li>
- <li class="nav-header"><i class="icon-th-large icon-white"></i> {{ _("Addons") }}</li>
- <li><a href="#">Addons balba</a></li>
- <li><a href="#">Addons balbal</a></li>
- <li class="divider"></li>
- <li class="nav-header"><i class="icon-user icon-white"></i> {{ _("Accounts") }}</li>
</ul>
</div>
<!-- Info Popup -->