move into sonardesk
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
@extends('sonardesk.layout')
|
||||
@section('title', $product->name)
|
||||
@section('content')<section class="sd-hero" style="padding-bottom:24px"><a class="sd-meta" href="{{ route('sonardesk.downloads') }}">← All downloads</a><p class="sd-kicker">Product details</p><h1>{{ $product->name }}</h1><p class="sd-lead">{{ $product->platform }} · Version {{ $product->version }}</p><div class="sd-actions"><a class="sd-button" href="{{ route('sonardesk.products.download',$product) }}">Download {{ $product->original_filename ?: 'file' }} ↓</a><a class="sd-button secondary" href="{{ route('sonardesk.downloads') }}">Other downloads</a></div></section><section class="sd-section"><div class="sd-grid two"><article class="sd-card"><h2>About this product</h2><div class="sd-text">{{ $product->description ?: 'No description provided.' }}</div></article><article class="sd-card"><h2>Download details</h2><p>Platform: {{ $product->platform ?: 'Not specified' }}</p><p>Version: {{ $product->version ?: 'Not specified' }}</p><p>File: {{ $product->original_filename ?: 'Download' }}</p>@if($product->file_size)<p>Size: {{ number_format($product->file_size / 1048576, 1) }} MB</p>@endif</article></div></section>@endsection
|
||||
@section('title',$product->name.' — Download')
|
||||
@section('content')<section class="sd-pagehead"><div class="sd-container"><a class="sd-back" href="{{ route('sonardesk.downloads') }}">← All downloads</a><p class="sd-eyebrow" style="margin-top:24px">{{ $product->platform ?: 'Software' }} · {{ $product->version ? 'Version '.$product->version : 'Current release' }}</p><h1>{{ $product->name }}</h1><p>Product information and installer download.</p><div class="sd-actions"><a class="sd-btn sd-btn-primary" href="{{ route('sonardesk.products.download',$product) }}">Download {{ $product->name }} ↓</a></div></div></section><section class="sd-section"><div class="sd-container sd-detail"><article class="sd-card"><h2>About {{ $product->name }}</h2><div class="sd-prose">{!! \Illuminate\Support\Str::markdown($product->description ?: 'Published software download.', ['html_input'=>'strip','allow_unsafe_links'=>false]) !!}</div><hr class="sd-divider"><h2>Download information</h2><p><strong>Platform:</strong> {{ $product->platform ?: 'See product documentation' }}</p>@if($product->version)<p><strong>Version:</strong> {{ $product->version }}</p>@endif @if($product->file_size)<p><strong>Size:</strong> {{ number_format($product->file_size / 1048576, 2) }} MB</p>@endif<a class="sd-btn sd-btn-dark" href="{{ route('sonardesk.products.download',$product) }}">Download installer ↓</a></article></div></section>@endsection
|
||||
|
||||
Reference in New Issue
Block a user