Tech malfunctions starting to look nice

This commit is contained in:
Falkvinge
2017-03-17 05:35:55 +01:00
parent 2fde03f0e0
commit 42c8035e5e
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -225,6 +225,11 @@ namespace Swarmops.Frontend.Socket
JArray malfunctionsArray = new JArray();
for (int loop = 0; loop < _malfunctionTestCounter; loop++)
{
if (loop < _malfunctionTestCounter - 2)
{
continue;
}
JObject malfunctionObject = new JObject();
malfunctionObject["Id"] = "Mal" + loop.ToString();
malfunctionObject["Text"] = malfunctionStrings[loop] + " (Test code, ignore - and let's make this a multiline point to test flow)";
+1 -2
View File
@@ -250,11 +250,10 @@
</div>
</div>
<div id="divDashboardMalfunctions">
<div id="divDashboardMalfunctions" style="display:none">
<h2 class="flashheader orange">Tech Malfunctions<span class="arrow"></span></h2>
<div class="box">
<div id="divMalfunctionsList" class="content">
<ul><li>Test one (ignore)</li><li>Test two (ignore too)</li><li>Test three (you know the drill now)</li></ul>
</div>
</div>
</div>