diff options
author | Hubzilla <hubzilla@hz.macgirvin.com> | 2017-01-22 15:17:37 -0800 |
---|---|---|
committer | Hubzilla <hubzilla@hz.macgirvin.com> | 2017-01-22 15:17:37 -0800 |
commit | 1627297143b022e8418feb63cc34e1eba1ecb0cd (patch) | |
tree | 5177578143453188a4212bfd58f7ce6d38cda947 /view | |
parent | 951376852c1d39ece5f4e93bb38d2a6de08b66cb (diff) | |
download | volse-hubzilla-1627297143b022e8418feb63cc34e1eba1ecb0cd.tar.gz volse-hubzilla-1627297143b022e8418feb63cc34e1eba1ecb0cd.tar.bz2 volse-hubzilla-1627297143b022e8418feb63cc34e1eba1ecb0cd.zip |
use icons for app photos.
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/css/style.css | 5 | ||||
-rw-r--r-- | view/tpl/app.tpl | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 401f052d0..5bffdd27b 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2100,3 +2100,8 @@ dl.bb-dl > dd > li { .nav-pills-stacked-icons:hover + a { background-color: #eee; } + +.app-icon { + font-size: 80px; + text-align: center; +}
\ No newline at end of file diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index cfb652913..ee1a2c3a4 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -1,6 +1,6 @@ <div class="app-container"> <div class="app-detail{{if $deleted}} app-deleted{{/if}}"> - <a href="{{$app.url}}" {{if $ap.target}}target="{{$ap.target}}" {{/if}}{{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{else}}title="{{$app.name}}"{{/if}}><img src="{{$app.photo}}" width="80" height="80" /> + <a href="{{$app.url}}" {{if $ap.target}}target="{{$ap.target}}" {{/if}}{{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{else}}title="{{$app.name}}"{{/if}}>{{if $icon}}<i class="app-icon fa fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="80" height="80" />{{/if}} <div class="app-name" style="text-align:center;">{{$app.name}}</div> </a> </div> |