diff options
author | Ola Bini <ola.bini@gmail.com> | 2014-07-31 19:29:33 -0300 |
---|---|---|
committer | Ola Bini <ola.bini@gmail.com> | 2014-07-31 19:29:33 -0300 |
commit | 04cf441c5ae18400c6b4865b0b37a71718dc9d46 (patch) | |
tree | dd0b0d049ec00389e2d4561b226c46eb1682b997 /web-ui/app/templates/tags | |
parent | 639a663a4c37020003586438fdcd7ac529a00f10 (diff) |
Add web-ui based on previous code
Diffstat (limited to 'web-ui/app/templates/tags')
-rw-r--r-- | web-ui/app/templates/tags/shortcut.hbs | 9 | ||||
-rw-r--r-- | web-ui/app/templates/tags/tag.hbs | 3 | ||||
-rw-r--r-- | web-ui/app/templates/tags/tag_inner.hbs | 4 | ||||
-rw-r--r-- | web-ui/app/templates/tags/tag_list.hbs | 3 |
4 files changed, 19 insertions, 0 deletions
diff --git a/web-ui/app/templates/tags/shortcut.hbs b/web-ui/app/templates/tags/shortcut.hbs new file mode 100644 index 00000000..49ddfdb2 --- /dev/null +++ b/web-ui/app/templates/tags/shortcut.hbs @@ -0,0 +1,9 @@ +<li> + <a title="{{ tagName }}"> + {{#if displayBadge }} + <span class="{{ badgeType }}-count">{{ count }}</span> + {{/if}} + <i class="fa fa-{{ icon }}"></i> + <div class="shortcut-label">{{ tagName }}</div> + </a> +</li>
\ No newline at end of file diff --git a/web-ui/app/templates/tags/tag.hbs b/web-ui/app/templates/tags/tag.hbs new file mode 100644 index 00000000..c645f782 --- /dev/null +++ b/web-ui/app/templates/tags/tag.hbs @@ -0,0 +1,3 @@ +<li id="tag-{{ ident }}"> + {{> tag_inner }} +</li> diff --git a/web-ui/app/templates/tags/tag_inner.hbs b/web-ui/app/templates/tags/tag_inner.hbs new file mode 100644 index 00000000..2e0958cb --- /dev/null +++ b/web-ui/app/templates/tags/tag_inner.hbs @@ -0,0 +1,4 @@ +{{ tagName }} +{{#if displayBadge }} +<span class="{{ badgeType }}-count">{{ count }}</span> +{{/if}} diff --git a/web-ui/app/templates/tags/tag_list.hbs b/web-ui/app/templates/tags/tag_list.hbs new file mode 100644 index 00000000..e2e97833 --- /dev/null +++ b/web-ui/app/templates/tags/tag_list.hbs @@ -0,0 +1,3 @@ +<ul id="default-tag-list"></ul> +<h3>{{t 'Tags'}}</h3> +<ul id="custom-tag-list"></ul> |