Merge pull request #1018 from batuhawk/master

Table layout updated for module show page
This commit is contained in:
Batuhan Baş 2019-12-20 12:13:31 +03:00 committed by GitHub
commit 88d564ecca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 52 deletions

53
public/css/custom.css vendored
View File

@ -7,6 +7,7 @@
font-style: normal; font-style: normal;
} }
/*--------Item Tax Tag--------*/
.el-select .el-select__tags .el-tag .el-select .el-select__tags .el-tag
{ {
background: #55588b !important; background: #55588b !important;
@ -44,6 +45,8 @@
width: 20px !important; width: 20px !important;
overflow: hidden; overflow: hidden;
} }
/*--------Item Tax Tag Finish--------*/
/*--------General Button Hover--------*/ /*--------General Button Hover--------*/
.btn:hover .btn:hover
@ -325,29 +328,29 @@
/*--------Long Texts Finish--------*/ /*--------Long Texts Finish--------*/
/*--------Thead Row Margin--------*/ /*--------Table Head Row Margin--------*/
.thead-light .row .thead-light .row
{ {
margin: 0; margin: 0;
} }
/*--------Thead Row Margin Finish--------*/ /*--------Table Head Row Margin Finish--------*/
/*--------Tbody Row Margin--------*/ /*--------Table Head Column Letter Spacing--------*/
.table thead th
{
letter-spacing: 0;
}
/*--------Table Head Column Letter Spacing Finish--------*/
/*--------Table Body Row Margin--------*/
.table, tbody .row .table, tbody .row
{ {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
} }
/*--------Tbody Row Margin Finish--------*/ /*--------Table Body Row Margin Finish--------*/
/*--------Thead Column Letter Spacing--------*/
.table thead th
{
letter-spacing: 0;
}
/*--------Thead Column Letter Spacing Finish--------*/
/*--------Card Footer--------*/ /*--------Card Footer--------*/
@ -375,12 +378,12 @@
/*--------Border Top Finish--------*/ /*--------Border Top Finish--------*/
/*--------Border Top--------*/ /*--------Border Bottom--------*/
.border-bottom-1 .border-bottom-1
{ {
border-bottom: 1px solid #e9ecef !important; border-bottom: 1px solid #e9ecef !important;
} }
/*--------Border Top Finish--------*/ /*--------Border Bottom Finish--------*/
/*--------Border Top Style--------*/ /*--------Border Top Style--------*/
@ -460,18 +463,12 @@
/*--------Card Action Button Finish--------*/ /*--------Card Action Button Finish--------*/
/*--------Module Show Second Card--------*/ /*--------Table Layout Fixed--------*/
.table-fixed .table-layout-fixed
{ {
table-layout: fixed; table-layout: fixed;
} }
/*--------Table Layout Fixed Finish--------*/
.long-module-detail
{
overflow: hidden;
text-overflow: ellipsis;
}
/*--------Module Show Second Card Finish--------*/
/*--------Akaunting Loader--------*/ /*--------Akaunting Loader--------*/
@ -549,7 +546,7 @@
/*--------Akaunting Loader Finish--------*/ /*--------Akaunting Loader Finish--------*/
/*--------Settings Index Page Icons--------*/ /*--------Settings Index Page--------*/
.settings-icons .settings-icons
{ {
position: relative; position: relative;
@ -558,14 +555,12 @@
width: 45px; width: 45px;
padding-top: 10px; padding-top: 10px;
} }
/*--------Settings Index Page Icons Finish--------*/
/*--------Settings Button Clipboard--------*/
.btn-icon-clipboard:focus { .btn-icon-clipboard:focus {
outline: none; outline: none;
} }
/*--------Settings Button Clipboard Finish--------*/ /*--------Settings Index Page Finish--------*/
/*--------Box Shadow None Focus--------*/ /*--------Box Shadow None Focus--------*/
@ -585,12 +580,12 @@
/*--------Pagination Alignment Finish--------*/ /*--------Pagination Alignment Finish--------*/
/*--------Akaunting Tables--------*/ /*--------Akaunting Style Table Column--------*/
.col-aka .col-aka
{ {
margin-left: -51px; margin-left: -51px;
} }
/*--------Akaunting Tables--------*/ /*--------Akaunting Style Table Column Finish--------*/
/*--------Login Background--------*/ /*--------Login Background--------*/

View File

@ -232,52 +232,52 @@
<h3>{{ trans('modules.about') }}</h3> <h3>{{ trans('modules.about') }}</h3>
<div class="card"> <div class="card">
<table class="table table-fixed"> <table class="table">
<tbody> <tbody>
@if ($module->vendor_name) @if ($module->vendor_name)
<tr> <tr class="row">
<th>{{ trans_choice('general.developers', 1) }}</th> <th class="col-5">{{ trans_choice('general.developers', 1) }}</th>
<td class="text-right"><a href="{{ url('apps/vendors/' . $module->vendor->slug) }}">{{ $module->vendor_name }}</a></td> <td class="col-7 text-right"><a href="{{ url('apps/vendors/' . $module->vendor->slug) }}">{{ $module->vendor_name }}</a></td>
</tr> </tr>
@endif @endif
@if ($module->version) @if ($module->version)
<tr> <tr class="row">
<th>{{ trans('footer.version') }}</th> <th class="col-5">{{ trans('footer.version') }}</th>
<td class="text-right">{{ $module->version }}</td> <td class="col-7 text-right">{{ $module->version }}</td>
</tr> </tr>
@endif @endif
@if ($module->created_at) @if ($module->created_at)
<tr> <tr class="row">
<th>{{ trans('modules.added') }}</th> <th class="col-5">{{ trans('modules.added') }}</th>
<td class="text-right long-module-detail">@date($module->created_at)</td> <td class="col-7 text-right long-texts">@date($module->created_at)</td>
</tr> </tr>
@endif @endif
@if ($module->updated_at) @if ($module->updated_at)
<tr> <tr class="row">
<th>{{ trans('modules.updated') }}</th> <th class="col-5">{{ trans('modules.updated') }}</th>
<td class="text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td> <td class="col-7 text-right">{{ Date::parse($module->updated_at)->diffForHumans() }}</td>
</tr> </tr>
@endif @endif
@if ($module->compatibility) @if ($module->compatibility)
<tr> <tr class="row">
<th>{{ trans('modules.compatibility') }}</th> <th class="col-5">{{ trans('modules.compatibility') }}</th>
<td class="text-right">{{ $module->compatibility }}</td> <td class="col-7 text-right">{{ $module->compatibility }}</td>
</tr> </tr>
@endif @endif
@if ($module->category) @if ($module->category)
<tr> <tr class="row">
<th>{{ trans_choice('general.categories', 1) }}</th> <th class="col-5">{{ trans_choice('general.categories', 1) }}</th>
<td class="text-right"><a href="{{ url('apps/categories/' . $module->category->slug) }}">{{ $module->category->name }}</a></td> <td class="col-7 text-right"><a href="{{ url('apps/categories/' . $module->category->slug) }}">{{ $module->category->name }}</a></td>
</tr> </tr>
@endif @endif
<tr> <tr class="row">
<th>{{ trans('modules.documentation') }}</th> <th class="col-5">{{ trans('modules.documentation') }}</th>
@if ($module->documentation) @if ($module->documentation)
<td class="text-right"> <td class="col-7 text-right">
<a class="font-weight-bold" href="{{ url('apps/docs/' . $module->slug) }}">{{ trans('modules.view') }}</a> <a class="font-weight-bold" href="{{ url('apps/docs/' . $module->slug) }}">{{ trans('modules.view') }}</a>
</td> </td>
@else @else
<th class="text-right">{{ trans('general.na') }}</th> <th class="col-7 text-right">{{ trans('general.na') }}</th>
@endif @endif
</tr> </tr>
</tbody> </tbody>