sort out some app display weirdness
This commit is contained in:
parent
3285c71995
commit
3e7edf504d
@ -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;
|
||||
}
|
||||
|
@ -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>
|
||||
|
||||
|
@ -1,9 +1,7 @@
|
||||
<h3>{{$title}}</h3>
|
||||
|
||||
{{foreach $apps as $ap}}
|
||||
<div class="app-container">
|
||||
{{$ap}}
|
||||
</div>
|
||||
{{/foreach}}
|
||||
<div class="clear"></div>
|
||||
|
||||
|
Reference in New Issue
Block a user