apps style
This commit is contained in:
		
							
								
								
									
										5
									
								
								public/css/addons.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								public/css/addons.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,5 +0,0 @@ | |||||||
| .item-image { |  | ||||||
|     width: 100%; |  | ||||||
|     max-height: 150px; |  | ||||||
|     margin-bottom: 15px; |  | ||||||
| } |  | ||||||
							
								
								
									
										3
									
								
								public/css/modules.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								public/css/modules.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | .item-image { | ||||||
|  |     max-width: 225px; | ||||||
|  | } | ||||||
| @@ -16,8 +16,8 @@ return [ | |||||||
|     'uninstalled'           => 'Uninstalled', |     'uninstalled'           => 'Uninstalled', | ||||||
|     'token_link'            => '<a href="https://akaunting.com/tokens" target="_blank">Click here</a> to get your API token.', |     'token_link'            => '<a href="https://akaunting.com/tokens" target="_blank">Click here</a> to get your API token.', | ||||||
|  |  | ||||||
|     'enabled'               => ':module module enabled', |     'enabled'               => ':module app enabled', | ||||||
|     'disabled'              => ':module module disabled', |     'disabled'              => ':module app disabled', | ||||||
|  |  | ||||||
|     'installation' => [ |     'installation' => [ | ||||||
|         'header'            => 'Module Installation', |         'header'            => 'Module Installation', | ||||||
|   | |||||||
| @@ -11,37 +11,28 @@ | |||||||
|                 <h3>{{ $module->name }}</h3> |                 <h3>{{ $module->name }}</h3> | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|             <div class="box box-success"> |             <div class="nav-tabs-custom"> | ||||||
|                 <div class="box-body"> |                 <ul class="nav nav-tabs"> | ||||||
|                     <div> |                     <li class="active"><a href="#description" data-toggle="tab" aria-expanded="true">{{ trans('general.description') }}</a></li> | ||||||
|                         <img src="{{ $module->cover->path_string }}" class="item-image" alt="{{ $module->name }}" width="800" height="140"/> |                     <li class=""><a href="#faq" data-toggle="tab" aria-expanded="false">{{ trans('modules.faq') }}</a></li> | ||||||
|  |                     <li class=""><a href="#changelog" data-toggle="tab" aria-expanded="false">{{ trans('modules.changelog') }}</a></li> | ||||||
|  |                 </ul> | ||||||
|  |                 <div class="tab-content"> | ||||||
|  |                     <div class="tab-pane active" id="description"> | ||||||
|  |                         {!! $module->description !!} | ||||||
|                     </div> |                     </div> | ||||||
|                     <div class="nav-tabs-custom"> |                     <!-- /.tab-pane --> | ||||||
|                         <ul class="nav nav-tabs"> |                     <div class="tab-pane" id="faq"> | ||||||
|                             <li class="active"><a href="#description" data-toggle="tab" aria-expanded="true">{{ trans('general.description') }}</a></li> |                         {!! $module->faq !!} | ||||||
|                             <li class=""><a href="#faq" data-toggle="tab" aria-expanded="false">{{ trans('modules.faq') }}</a></li> |  | ||||||
|                             <li class=""><a href="#changelog" data-toggle="tab" aria-expanded="false">{{ trans('modules.changelog') }}</a></li> |  | ||||||
|                         </ul> |  | ||||||
|                         <div class="tab-content"> |  | ||||||
|                             <div class="tab-pane active" id="description"> |  | ||||||
|                                 {!! $module->description !!} |  | ||||||
|                             </div> |  | ||||||
|                             <!-- /.tab-pane --> |  | ||||||
|                             <div class="tab-pane" id="faq"> |  | ||||||
|                                 {!! $module->faq !!} |  | ||||||
|                             </div> |  | ||||||
|                             <!-- /.tab-pane --> |  | ||||||
|                             <div class="tab-pane" id="changelog"> |  | ||||||
|                                 {!! $module->changelog !!} |  | ||||||
|                             </div> |  | ||||||
|                             <!-- /.tab-pane --> |  | ||||||
|                         </div> |  | ||||||
|                         <!-- /.tab-content --> |  | ||||||
|                     </div> |                     </div> | ||||||
|  |                     <!-- /.tab-pane --> | ||||||
|  |                     <div class="tab-pane" id="changelog"> | ||||||
|  |                         {!! $module->changelog !!} | ||||||
|  |                     </div> | ||||||
|  |                     <!-- /.tab-pane --> | ||||||
|                 </div> |                 </div> | ||||||
|                 <!-- /.box-body --> |                 <!-- /.tab-content --> | ||||||
|             </div> |             </div> | ||||||
|             <!-- /.box --> |  | ||||||
|         </div> |         </div> | ||||||
|  |  | ||||||
|         <div class="col-md-4 no-padding-right"> |         <div class="col-md-4 no-padding-right"> | ||||||
| @@ -55,11 +46,11 @@ | |||||||
|                         <tbody> |                         <tbody> | ||||||
|                             <tr> |                             <tr> | ||||||
|                                 <th>Price</th> |                                 <th>Price</th> | ||||||
|                                 <td> |                                 <td class="text-right"> | ||||||
|                                     @if ($module->price == '0.0000') |                                     @if ($module->price == '0.0000') | ||||||
|                                         {{ trans('modules.free') }} |                                         {{ trans('modules.free') }} | ||||||
|                                     @else |                                     @else | ||||||
|                                         {{ $module->price }} |                                         {{ $module->price . ' / month' }} | ||||||
|                                     @endif |                                     @endif | ||||||
|                                 </td> |                                 </td> | ||||||
|                             </tr> |                             </tr> | ||||||
| @@ -100,27 +91,27 @@ | |||||||
|                         <tbody> |                         <tbody> | ||||||
|                             <tr> |                             <tr> | ||||||
|                                 <th>Vendor</th> |                                 <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> | ||||||
|                             <tr> |                             <tr> | ||||||
|                                 <th>Version</th> |                                 <th>Version</th> | ||||||
|                                 <td>{{ $module->version }}</td> |                                 <td class="text-right">{{ $module->version }}</td> | ||||||
|                             </tr> |                             </tr> | ||||||
|                             <tr> |                             <tr> | ||||||
|                                 <th>Added</th> |                                 <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> | ||||||
|                             <tr> |                             <tr> | ||||||
|                                 <th>Updated</th> |                                 <th>Updated</th> | ||||||
|                                 <td>{{ Date::parse($module->updated_at)->diffForHumans() }}</td> |                                 <td class="text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td> | ||||||
|                             </tr> |                             </tr> | ||||||
|                             <tr> |                             <tr> | ||||||
|                                 <th>Compatibility</th> |                                 <th>Compatibility</th> | ||||||
|                                 <td>{{ $module->compatibility }}</td> |                                 <td class="text-right">{{ $module->compatibility }}</td> | ||||||
|                             </tr> |                             </tr> | ||||||
|                             <tr> |                             <tr> | ||||||
|                                 <th>Category</th> |                                 <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> |                             </tr> | ||||||
|                         </tbody> |                         </tbody> | ||||||
|                     </table> |                     </table> | ||||||
|   | |||||||
| @@ -19,14 +19,14 @@ | |||||||
|         <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/skins/skin-green-light.min.css') }}"> |         <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/skins/skin-green-light.min.css') }}"> | ||||||
|     @else |     @else | ||||||
|         <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/dist/css/skins/skin-black.min.css') }}"> |         <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 |     @endif | ||||||
|     <!-- Select2 --> |     <!-- Select2 --> | ||||||
|     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/select2/select2.min.css') }}"> |     <link rel="stylesheet" href="{{ asset('vendor/almasaeed2010/adminlte/plugins/select2/select2.min.css') }}"> | ||||||
|     <!-- App style --> |     <!-- App style --> | ||||||
|     <link rel="stylesheet" href="{{ asset('public/css/app.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') }}"> |     <link rel="stylesheet" href="{{ asset('public/css/akaunting-green.css?v=1.0.7') }}"> | ||||||
|     <link rel="stylesheet" href="{{ asset('public/css/addons.css?v=1.0') }}"> |     <link rel="stylesheet" href="{{ asset('public/css/modules.css?v=1.0.7') }}"> | ||||||
|      |      | ||||||
|     <link rel="shortcut icon" href="{{ asset('public/img/favicon.ico') }}"> |     <link rel="shortcut icon" href="{{ asset('public/img/favicon.ico') }}"> | ||||||
|      |      | ||||||
|   | |||||||
| @@ -6,24 +6,22 @@ | |||||||
|         </div> |         </div> | ||||||
|         <!-- /.box-header --> |         <!-- /.box-header --> | ||||||
|  |  | ||||||
|         <div class="box-body"> |         <div class="box-body text-center"> | ||||||
|             <a href="{{ url('modules/item/' . $module->slug) }}"> |             <a href="{{ url('modules/item/' . $module->slug) }}"> | ||||||
|                 <img src="{{ $module->files[0]->path_string }}" alt="{{ $module->name }}" width="280" height="140"> |                 <img src="{{ $module->files[0]->path_string }}" alt="{{ $module->name }}" class="item-image"> | ||||||
|                 <br> |  | ||||||
|                 {!! str_limit($module->description, 70) !!} |  | ||||||
|             </a> |             </a> | ||||||
|         </div> |         </div> | ||||||
|         <!-- /.box-body --> |         <!-- /.box-body --> | ||||||
|  |  | ||||||
|         <div class="box-footer"> |         <div class="box-footer"> | ||||||
|             <div class="pull-left"> |             <div class="pull-left"> | ||||||
|                 {{ $module->category->name }} |                 {{ $module->vendor_name }} | ||||||
|             </div> |             </div> | ||||||
|             <div class="pull-right"> |             <div class="pull-right"> | ||||||
|                 @if ($module->price == '0.0000') |                 @if ($module->price == '0.0000') | ||||||
|                     {{ trans('modules.free') }} |                     {{ trans('modules.free') }} | ||||||
|                 @else |                 @else | ||||||
|                     {{ $module->price }} |                     {{ $module->price . ' / month' }} | ||||||
|                 @endif |                 @endif | ||||||
|             </div> |             </div> | ||||||
|         </div> |         </div> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user