apps style

This commit is contained in:
denisdulici 2017-10-28 01:23:44 +03:00
parent d92887e479
commit 1ed02931b9
6 changed files with 39 additions and 52 deletions

View File

@ -1,5 +0,0 @@
.item-image {
width: 100%;
max-height: 150px;
margin-bottom: 15px;
}

3
public/css/modules.css vendored Normal file
View File

@ -0,0 +1,3 @@
.item-image {
max-width: 225px;
}

View File

@ -16,8 +16,8 @@ return [
'uninstalled' => 'Uninstalled',
'token_link' => '<a href="https://akaunting.com/tokens" target="_blank">Click here</a> to get your API token.',
'enabled' => ':module module enabled',
'disabled' => ':module module disabled',
'enabled' => ':module app enabled',
'disabled' => ':module app disabled',
'installation' => [
'header' => 'Module Installation',

View File

@ -11,11 +11,6 @@
<h3>{{ $module->name }}</h3>
</div>
<div class="box box-success">
<div class="box-body">
<div>
<img src="{{ $module->cover->path_string }}" class="item-image" alt="{{ $module->name }}" width="800" height="140"/>
</div>
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#description" data-toggle="tab" aria-expanded="true">{{ trans('general.description') }}</a></li>
@ -39,10 +34,6 @@
<!-- /.tab-content -->
</div>
</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
<div class="col-md-4 no-padding-right">
<div class="content-header no-padding-left">
@ -55,11 +46,11 @@
<tbody>
<tr>
<th>Price</th>
<td>
<td class="text-right">
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
{{ $module->price }}
{{ $module->price . ' / month' }}
@endif
</td>
</tr>
@ -100,27 +91,27 @@
<tbody>
<tr>
<th>Vendor</th>
<td><a href="{{ url('modules/vendor/' . $module->vendor->id) }}">{{ $module->vendor->first_name . ' ' . $module->vendor->last_name }}</a></td>
<td class="text-right"><a href="{{ url('modules/vendor/' . $module->vendor->id) }}">{{ $module->vendor_name }}</a></td>
</tr>
<tr>
<th>Version</th>
<td>{{ $module->version }}</td>
<td class="text-right">{{ $module->version }}</td>
</tr>
<tr>
<th>Added</th>
<td>{{ Date::parse($module->created_at)->format($date_format) }}</td>
<td class="text-right">{{ Date::parse($module->created_at)->format($date_format) }}</td>
</tr>
<tr>
<th>Updated</th>
<td>{{ Date::parse($module->updated_at)->diffForHumans() }}</td>
<td class="text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td>
</tr>
<tr>
<th>Compatibility</th>
<td>{{ $module->compatibility }}</td>
<td class="text-right">{{ $module->compatibility }}</td>
</tr>
<tr>
<th>Category</th>
<td><a href="{{ url('modules/category/' . $module->category->slug) }}">{{ $module->category->name }}</a></td>
<td class="text-right"><a href="{{ url('modules/category/' . $module->category->slug) }}">{{ $module->category->name }}</a></td>
</tr>
</tbody>
</table>

View File

@ -19,14 +19,14 @@
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/skins/skin-green-light.min.css') }}">
@else
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/skins/skin-black.min.css') }}">
<link rel="stylesheet" href="{{ asset('public/css/skin-black.css?v=1.0') }}">
<link rel="stylesheet" href="{{ asset('public/css/skin-black.css?v=1.0.7') }}">
@endif
<!-- Select2 -->
<link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/select2/select2.min.css') }}">
<!-- App style -->
<link rel="stylesheet" href="{{ asset('public/css/app.css?v=1.0') }}">
<link rel="stylesheet" href="{{ asset('public/css/akaunting-green.css?v=1.0') }}">
<link rel="stylesheet" href="{{ asset('public/css/addons.css?v=1.0') }}">
<link rel="stylesheet" href="{{ asset('public/css/app.css?v=1.0.7') }}">
<link rel="stylesheet" href="{{ asset('public/css/akaunting-green.css?v=1.0.7') }}">
<link rel="stylesheet" href="{{ asset('public/css/modules.css?v=1.0.7') }}">
<link rel="shortcut icon" href="{{ asset('public/img/favicon.ico') }}">

View File

@ -6,24 +6,22 @@
</div>
<!-- /.box-header -->
<div class="box-body">
<div class="box-body text-center">
<a href="{{ url('modules/item/' . $module->slug) }}">
<img src="{{ $module->files[0]->path_string }}" alt="{{ $module->name }}" width="280" height="140">
<br>
{!! str_limit($module->description, 70) !!}
<img src="{{ $module->files[0]->path_string }}" alt="{{ $module->name }}" class="item-image">
</a>
</div>
<!-- /.box-body -->
<div class="box-footer">
<div class="pull-left">
{{ $module->category->name }}
{{ $module->vendor_name }}
</div>
<div class="pull-right">
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
{{ $module->price }}
{{ $module->price . ' / month' }}
@endif
</div>
</div>