Update DB to version 19: Resolutions are gpu dependant,

move to separate table and use an interconnection table, `resolution_by_gpu`.
This commit is contained in:
2018-04-28 18:39:09 +01:00
parent 95de473054
commit 04c0e47d9c
13 changed files with 921 additions and 119 deletions

View File

@@ -28,7 +28,7 @@
// ----------------------------------------------------------------------------
// Copyright © 2003-2018 Natalia Portillo
*******************************************************************************/
// TODO: Resolutions
ViewData["Title"] = "Computer";
}
@using System.IO
@@ -489,37 +489,6 @@
</td>
</tr>
}
<tr>
<th scope=row>
<div align=right>
Video resolution
</div>
</th>
@if(Model.Resolution != "???")
{
<td>@Model.Resolution</td>
}
else
{
<td>Unknown data</td>
}
</tr>
<tr>
<th scope=row>
<div align=right>
Colors
</div>
</th>
@if(Model.Colors > 0)
{
<td>@Model.Colors</td>
}
else
{
<td>Unknown data</td>
}
</tr>
@if(Model.SoundSynths != null && Model.SoundSynths.Length > 0)
{
<tr>