diff options
author | friendica <info@friendica.com> | 2013-10-14 04:49:28 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-14 04:49:28 -0700 |
commit | 4f2c056d6d00257fccae356f4fdf6c0c971c9b60 (patch) | |
tree | 927014d9ba3aff8bb7ac69da84ff5698c3c9488b /view | |
parent | 3991db62d49878bc7e48d1ab1b71bad5ad925785 (diff) | |
download | volse-hubzilla-4f2c056d6d00257fccae356f4fdf6c0c971c9b60.tar.gz volse-hubzilla-4f2c056d6d00257fccae356f4fdf6c0c971c9b60.tar.bz2 volse-hubzilla-4f2c056d6d00257fccae356f4fdf6c0c971c9b60.zip |
template and icons for categories and "file as"
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/css/style.css | 4 | ||||
-rw-r--r-- | view/tpl/item_categories.tpl | 8 | ||||
-rw-r--r-- | view/tpl/item_filer.tpl | 8 |
3 files changed, 20 insertions, 0 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 0c5c916ae..860578368 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -3473,4 +3473,8 @@ a .drop-icons { .attach-clip { margin-right: 3px; font-size: 1.8em; +} + +.item-category { + margin-right: 10px; }
\ No newline at end of file diff --git a/view/tpl/item_categories.tpl b/view/tpl/item_categories.tpl new file mode 100644 index 000000000..c482d1ebe --- /dev/null +++ b/view/tpl/item_categories.tpl @@ -0,0 +1,8 @@ +{{if $categories}} +<div class="categorytags"> +{{foreach $categories as $cat}} +<span class="item-category"><i class="icon-asterisk cat-icons"></i> {{$cat.term}}{{if $cat.writeable}}<a href="{{$cat.removelink}}" class="category-remove-link" title="{{$remove}}"><i class="icon-remove drop-icons"></i></a>{{/if}}</span> +{{/foreach}} +</div> +{{/if}} + diff --git a/view/tpl/item_filer.tpl b/view/tpl/item_filer.tpl new file mode 100644 index 000000000..0e68a172a --- /dev/null +++ b/view/tpl/item_filer.tpl @@ -0,0 +1,8 @@ +{{if $categories}} +<div class="filesavetags"> +{{foreach $categories as $cat}} +<span class="item-category"><i class="icon-folder-close cat-icons"></i> {{$cat.term}} <a href="{{$cat.removelink}}" class="category-remove-link" title="{{$remove}}"><i class="icon-remove drop-icons"></i></a></span> +{{/foreach}} +</div> +{{/if}} + |