improvements in table header

This commit is contained in:
2018-07-28 15:53:01 +02:00
parent 3f8fa07a82
commit f879d195df
3 changed files with 27 additions and 2 deletions
+19 -2
View File
@@ -7,8 +7,16 @@
@endphp
@section('content')
<div class="row justify-content-center">
<h2>{{ $table->title }}</h2>
<div class="row justify-content-start px-3">
<h2 class="d-flex w-100 align-items-baseline">
<small class="small2 flex-grow-1">
<a href="{{route('profile.view', $table->owner->name)}}" class="link-no-color">{{ $table->owner->handle }}</a>{{--
--}}<span class="px-1">/</span>{{--
--}}{{ $table->name }}
</small>
<span class="">{{ $table->title }}</span>
</h2>
</div>
<div class="row mx-auto col-md-12 justify-content-center mb-1 border rounded px-0 py-2 box-shadow mb-3">
@@ -31,6 +39,15 @@
<table>
<tbody>
<tr>
<th class="text-right pr-2">Author</th>
<td>
<a href="{{route('profile.view', $table->owner->name)}}">
{{ $table->owner->handle }}
</a>
</td>
</tr>
<tr>
<th class="text-right pr-2">License</th>
<td>{{ $table->license ?: 'CC0' }}</td>