diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_apps.css | 11 | ||||
-rw-r--r-- | view/tpl/app.tpl | 4 | ||||
-rwxr-xr-x | view/tpl/myapps.tpl | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/view/css/mod_apps.css b/view/css/mod_apps.css index c7cb419f2..f3ffab681 100644 --- a/view/css/mod_apps.css +++ b/view/css/mod_apps.css @@ -1,6 +1,15 @@ .app-container { float: left; width: 125px; - height: 200px; + height: 180px; padding: 20px; } + +.app-detail { + height: 140px; + overflow: none; +} + +.app-tools { + margin-bottom: 0; +} diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index cebc17d45..727be5eba 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -1,4 +1,5 @@ <div class="app-container"> +<div class="app-detail"> <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" /> <div class="app-name" style="text-align:center;">{{$app.name}}</div> </a> @@ -6,7 +7,9 @@ {{if $purchase}} <a href="{{$app.page}}" class="btn btn-default" title="{{$purchase}}" ><i class="icon-external"></i></a> {{/if}} +</div> {{if $install || $update || $delete }} +<div class="app-tools"> <form action="{{$hosturl}}appman" method="post"> <input type="hidden" name="papp" value="{{$app.papp}}" /> {{if $install}}<button type="submit" name="install" value="{{$install}}" class="btn btn-default" title="{{$install}}" ><i class="icon-download-alt" ></i></button>{{/if}} @@ -16,4 +19,5 @@ {{/if}} {{/if}} </div> +</div> diff --git a/view/tpl/myapps.tpl b/view/tpl/myapps.tpl index 1a591f9f8..ccb995849 100755 --- a/view/tpl/myapps.tpl +++ b/view/tpl/myapps.tpl @@ -1,9 +1,7 @@ <h3>{{$title}}</h3> {{foreach $apps as $ap}} -<div class="app-container"> {{$ap}} -</div> {{/foreach}} <div class="clear"></div> |