diff --git a/app.js b/app.js index 5dad2d5..6ba6756 100644 --- a/app.js +++ b/app.js @@ -28,6 +28,11 @@ var app = new Vue({ }, methods: { submit: function() { + for (var key in this.d) { + if (this.d.hasOwnProperty(key) && typeof(this.d[key]) === "boolean"){ + this.d[key] = this.d[key].toString() + } + } this.data.push(this.d); store('data', this.data); this.d.name = this.s.name; diff --git a/fields.json b/fields.json index 6c25345..dede4f8 100644 --- a/fields.json +++ b/fields.json @@ -2,7 +2,6 @@ "match": "", "team": "", "color": "blue", - "foul": false, "a_start_pos": "", "a_movement": "", "a_switch_cubes": 0, @@ -27,4 +26,4 @@ "human": "mid", "driver": "mid", "comments": "" -} +} \ No newline at end of file diff --git a/index.html b/index.html index a1b128b..38395e2 100644 --- a/index.html +++ b/index.html @@ -68,7 +68,6 @@

Data on Device

- @@ -112,17 +111,17 @@

Scouting 2018

Auton switch cubes   - + Auton scale cubes   - + - + Auton vault cubes   - + - + Auton placing quality (1-10)   - + Teleop @@ -135,36 +134,36 @@

Scouting 2018

- Switch cubes   + Switch cubes   - - Scale cubes   - + + Scale cubes   + - Switch cubes failed   + Switch cubes failed   - - Scale cubes failed   - + + Scale cubes failed   + - + Cubes placed for vault   - + Defensive - + Cubes on opponent switch   - + - + Fouls   - - + + Foul type:   @@ -190,17 +189,14 @@

Scouting 2018

Hangs on other robot -
- - Carries (#) robots   - - + Carries (#) robots   + + Number of other robots hanging   - + - Humans @@ -235,63 +231,63 @@

Scouting 2018

\ No newline at end of file