diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-23 21:56:42 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-23 21:56:42 +0100 |
commit | 6e8a0f79f5ad7182a0bc35308ae06c63222667ed (patch) | |
tree | 0026179d34f19b64bc689c63af85b949ce57fb83 /module/web/templates/default/base.html | |
parent | show button when files are selected (diff) | |
download | pyload-6e8a0f79f5ad7182a0bc35308ae06c63222667ed.tar.xz |
implemented interactions for multi user, show waiting queries on webui
Diffstat (limited to 'module/web/templates/default/base.html')
-rw-r--r-- | module/web/templates/default/base.html | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/module/web/templates/default/base.html b/module/web/templates/default/base.html index 6c0e7b999..dfcfb9e3a 100644 --- a/module/web/templates/default/base.html +++ b/module/web/templates/default/base.html @@ -92,6 +92,23 @@ </span>
</script>
+ <script type="text/template" id="template-notification">
+ <%= if queries %>
+ <span class="btn-query">
+ Queries <span class="badge badge-info"><% queries %></span>
+ </span>
+ <%/if%>
+ <%= if notifications %>
+ <span class="btn-notification">
+ Notifications <span class="badge badge-success"><% notifications %></span>
+ </span>
+ <%/if%>
+ <%= if empty %>
+ Nothing to show
+ <%/if%>
+ </%if%>
+ </script>
+
{% block head %}
{% endblock %}
</head>
@@ -157,9 +174,7 @@ </div>
{% endif %}
</div>
- <div id="notification-area" style="">
- Notifications
- <span class="badge badge-info">88</span>
+ <div id="notification-area">
</div>
<div id="selection-area">
</div>
|