attachment icons revisited

This commit is contained in:
friendica
2013-10-13 21:14:04 -07:00
parent 454aa6bff3
commit db42e4d2f9
3 changed files with 72 additions and 29 deletions

View File

@@ -3459,3 +3459,18 @@ a .drop-icons {
color: #FF0000;
}
.attachlink {
float: left;
border: 1px solid black;
padding: 5px;
margin-right: 8px;
}
.attach-icons {
font-size: 1.4em;
}
.attach-clip {
margin-right: 3px;
font-size: 1.8em;
}

6
view/tpl/item_attach.tpl Normal file
View File

@@ -0,0 +1,6 @@
<div class="body-attach">
{{foreach $attaches as $a}}
<a href="{{$a.url}}" title="{{$a.title}}" class="attachlink" ><i class="icon-paper-clip attach-icons attach-clip"></i><i class="{{$a.icon}} attach-icons"></i></a>
{{/foreach}}
<div class="clear"></div>
</div>