7 lines
3.1 KiB
PHP
7 lines
3.1 KiB
PHP
@extends('sonardesk.layout')
|
|
@section('title','Software downloads and releases')
|
|
@section('content')<div class="product-shell"><header class="page-heading"><span class="eyebrow">ABSDEV Software Library</span><h1>Downloads & releases.</h1><p>Find SonarDesk, SonarDisk and alternative installers, grouped by product. Release notes and system requirements are on the detail pages.</p></header>
|
|
@if($latest)<section class="download-group"><span class="eyebrow">Latest stable · SonarDesk</span><div class="download-group-head"><div><h2>SonarDesk {{ $latest->version }}</h2><p>{{ \Illuminate\Support\Str::limit(strip_tags($latest->release_notes ?: 'Native SonarQube monitoring for macOS.'), 180) }}</p></div><span class="badge">Latest release</span></div><div class="actions"><a class="button" href="{{ route('sonardesk.releases.download',$latest) }}">Download installer ↓</a><a class="button outline" href="{{ route('sonardesk.releases.show',$latest) }}">Full release notes →</a></div></section>@endif
|
|
@if($products->isNotEmpty())<section class="product-section" style="padding-top:40px"><div class="section-heading"><span class="eyebrow">Product catalogue</span><h2>Products & alternative downloads</h2><p>Each product lists its available versions and platforms together.</p></div>@foreach($products->groupBy('name') as $name=>$files)<article class="download-group"><div class="download-group-head"><div><h2>{{ $name }}</h2><p>{{ $files->first()->description ?: 'Installers and supporting downloads.' }}</p></div><span class="badge">{{ $files->count() }} {{ $files->count() === 1 ? 'file' : 'files' }}</span></div>@foreach($files as $file)<div class="download-row"><div><strong>{{ $file->version ? 'Version '.$file->version : ($file->original_filename ?: 'Download') }}</strong><small>{{ $file->platform ?: 'All platforms' }} @if($file->file_size) · {{ number_format($file->file_size/1048576,1) }} MB @endif</small><p>{{ \Illuminate\Support\Str::limit(strip_tags($file->release_notes ?: $file->description ?: ''),120) }}</p></div><div class="row-actions"><a class="text-link" href="{{ route('sonardesk.products.show',$file) }}">Details →</a><a class="button small" href="{{ route('sonardesk.products.download',$file) }}">Download ↓</a></div></div>@endforeach</article>@endforeach</section>@endif
|
|
<section class="product-section" style="padding-top:20px"><div class="section-heading"><span class="eyebrow">Release archive</span><h2>SonarDesk release history</h2></div><div class="download-group">@forelse($releases as $release)<div class="download-row"><div><strong>SonarDesk {{ $release->version }}</strong><small>Build {{ $release->build_number }} · {{ ucfirst($release->channel) }}</small><p>{{ \Illuminate\Support\Str::limit(strip_tags($release->release_notes ?: 'Release information'),125) }}</p></div><div class="row-actions"><a class="text-link" href="{{ route('sonardesk.releases.show',$release) }}">Release notes →</a><a class="button small" href="{{ route('sonardesk.releases.download',$release) }}">Download ↓</a></div></div>@empty<p>No SonarDesk releases have been published yet.</p>@endforelse</div><div class="pagination">{{ $releases->links() }}</div></section></div>@endsection
|