diff options
Diffstat (limited to 'vfd-backend/app/views/panels/eicas.scala.html')
-rw-r--r-- | vfd-backend/app/views/panels/eicas.scala.html | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/vfd-backend/app/views/panels/eicas.scala.html b/vfd-backend/app/views/panels/eicas.scala.html deleted file mode 100644 index 211adba..0000000 --- a/vfd-backend/app/views/panels/eicas.scala.html +++ /dev/null @@ -1,35 +0,0 @@ -@() - -@led(condition: String) = @{ - "images/leds/" + (condition match { - case "error" => "red-on.svg" - case "warn" => "yellow-on.svg" - case "good" => "green-on.svg" - case "unknown" => "none.svg" - case _ => "a" - }) -} - -@instrument(name: String, condition: String, status: String) = { - <tr> - <td>@name</td> - <td> - <img src="@routes.Assets.at(led(condition))" alt="@condition" width="15px"> - </td> - <td> - <span class="status @condition"> - @status - </span> - </td> - </tr> -} - - -<!-- <table class="control-table"> - @instrument("engine1", "unknown", "0 rpm") - @instrument("engine2", "unknown", "1000 rpm") - @instrument("engine3", "unknown", "2080 rpm") - @instrument("engine4", "unknown", "1000 rpm") - @instrument("battery", "unknown", "3000Wh") - @instrument("power", "unknown", "2000W") -</table -->
\ No newline at end of file |