Fix tables styles in client views. Fixes #17

This commit is contained in:
2020-08-04 19:52:56 +01:00
parent ba6d02ba62
commit 4c6f63ed6e
3 changed files with 462 additions and 466 deletions

View File

@@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>4.0.0.1735</Version>
<Version>4.0.0.1748</Version>
<Company>Canary Islands Computer Museum</Company>
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
<Product>Canary Islands Computer Museum Website</Product>

View File

@@ -105,17 +105,17 @@
</div>
</div>
}
<div class="col-md">
<table>
<div class="col-6">
<table class="table">
<tr>
<th colspan="2">
<th colspan="2" class="text-center">
<b>@_company.Name</b>
</th>
</tr>
@if (_company.Founded.HasValue)
{
<tr>
<th>@L["Founded"]</th>
<th class="text-right">@L["Founded"]</th>
@if(_company.FoundedMonthIsUnknown)
{
<td>@_company.Founded.Value.Year.</td>
@@ -131,7 +131,7 @@
</tr>
}
<tr>
<th>@L["Country"]</th>
<th class="text-right">@L["Country"]</th>
<td>
@if (_company.Country != null)
{
@@ -158,7 +158,7 @@
</td>
</tr>
<tr>
<th>@L["Status"]</th>
<th class="text-right">@L["Status"]</th>
@switch (_company.Status)
{
case CompanyStatus.Unknown:
@@ -279,7 +279,7 @@
}
</tr>
<tr>
<th>@L["Address"]</th>
<th class="text-right">@L["Address"]</th>
<td>
@_company.Address<br>
@if (_company.City != _company.Province)
@@ -293,7 +293,7 @@
!string.IsNullOrEmpty(_company.Facebook))
{
<tr>
<th>@L["Links"]</th>
<th class="text-right">@L["Links"]</th>
<td>
@if (!string.IsNullOrEmpty(_company.Website))
{

File diff suppressed because it is too large Load Diff