all data is running and working - just CRC to go (+icons and css)

This commit is contained in:
Jake Visser 2017-07-12 23:59:06 -07:00
parent bee565db20
commit 98649bec4d
2 changed files with 12 additions and 2 deletions

View file

@ -157,6 +157,9 @@ namespace qcbadge.Helpers
{
rtn[0] = reader[0].ToString();
rtn[1] = reader[1].ToString();
System.Diagnostics.Debug.WriteLine(rtn[0]);
System.Diagnostics.Debug.WriteLine(rtn[1]);
}
}
}

View file

@ -1,10 +1,17 @@
@{
ViewData["Title"] = "Map View";
ViewData["Title"] = "Map View";
bool[] showimg = new bool[50];
bool indv = Convert.ToBoolean(ViewData["indv"]);
int curr = Convert.ToInt32(ViewData["curr"]);
if(curr > 47)
{
curr = 99;
}
for (int i = 0; i < 50; i++)
{
@ -159,7 +166,7 @@
<tr>
<td>Your Current Icon</td>
<td><img class="icon" src="@img[curr]" /></td>
<td><img class="icon" src="@imgname[curr]" /></td>
</tr>
}