diff --git a/public/css/app.css b/public/css/app.css index d1c251efb..b70a5a480 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -856,3 +856,49 @@ input[type="number"] { .box-filter .select2-container .select2-selection--multiple { min-height: 30px !important; } + +/* App Detail Page Sliders Start */ +.row.module #description .img-fluid.d-block.w-100 { + height: 420px; + width: 100%; +} + +.row.module #description .image-description.text-center { + color: white; + padding-top: 12px; + position: absolute; + width: 100%; +} + +.row.module #description #carousel-screenshot-generic .carousel-control { + top: inherit; + bottom: inherit; + margin-top: 30px; + width: 5%; +} + +.row.module #description #carousel-screenshot-generic .carousel-control.left { + margin-left: -15px; +} + +.row.module #description #carousel-screenshot-generic .carousel-control .fa { + font-size: 1em; +} + +.row.module #description .carousel-navigation-message { + background-color: #333333; + height:40px; +} + +.row.module #description .carousel-inner .item { + padding: 4px 4px 4px 4px; + line-height: 1.42857143; + background-color: #ffffff; + border-top: 1px solid #dddddd; + border-left: 1px solid #dddddd; + border-right: 1px solid #dddddd; + -webkit-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; +} +/* App Detail Page Sliders Finish */ diff --git a/resources/views/modules/item/show.blade.php b/resources/views/modules/item/show.blade.php index e416679ed..395c52d9a 100644 --- a/resources/views/modules/item/show.blade.php +++ b/resources/views/modules/item/show.blade.php @@ -10,7 +10,7 @@ @section('content') @include('partials.modules.bar') -
+
@@ -40,9 +40,59 @@ @endif
  • +
    {!! $module->description !!} + + @if($module->screenshots) + + @endif
    @if ($module->installation)
    @@ -140,30 +190,42 @@
    + @if ($module->vendor_name) + @endif + @if ($module->version) + @endif + @if ($module->created_at) + @endif + @if ($module->updated_at) + @endif + @if ($module->compatibility) + @endif + @if ($module->category) + @endif
    {{ trans_choice('general.vendors', 1) }} {{ $module->vendor_name }}
    {{ trans('footer.version') }} {{ $module->version }}
    {{ trans('modules.added') }} {{ Date::parse($module->created_at)->format($date_format) }}
    {{ trans('modules.updated') }} {{ Date::parse($module->updated_at)->diffForHumans() }}
    {{ trans('modules.compatibility') }} {{ $module->compatibility }}
    {{ trans_choice('general.categories', 1) }} {{ $module->category->name }}
    @@ -192,6 +254,11 @@ var path = ''; $(document).ready(function() { + $('.carousel').carousel({ + interval: false, + keyboard: true + }); + @if($module->reviews) getReviews('', '1'); @endif