From 7389ea1d7bfcee0347dbd7e1837d812d4f375136 Mon Sep 17 00:00:00 2001 From: stefian Date: Sat, 3 Oct 2020 11:15:46 -0300 Subject: [PATCH] + if (this.viewId % this.view.length == 0) { --- src/App.vue | 114 ++++++++++++++++++++++++++-------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1b3f615..70e0def 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1420,63 +1420,63 @@ on world's most interesting projects.`, this.readService(); // dev dummy animation - - this.setCellAndColor("d-table", 2, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 2, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 2, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 2, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 2, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 1, 3, "OK", "blockchain-green"); - - this.setCellAndColor("d-table", 4, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 4, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 4, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 4, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 4, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 3, 3, "OK", "blockchain-green"); - - this.setCellAndColor("d-table", 6, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 6, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 6, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 6, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 6, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 5, 3, "OK", "blockchain-green"); - - this.setCellAndColor("d-table", 8, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 8, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 8, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 8, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 8, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 7, 3, "OK", "blockchain-green"); - - this.setCellAndColor("d-table", 10, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 10, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 10, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 10, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 10, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 9, 3, "OK", "blockchain-green"); - - this.setCellAndColor("d-table", 12, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 12, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 12, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 12, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 12, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 11, 3, "OK", "blockchain-green"); - - this.setCellAndColor("d-table", 14, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 14, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 14, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 14, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 14, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 13, 3, "OK", "blockchain-green"); - - this.setCellAndColor("d-table", 16, 2, "ok", "project-color"); - this.setCellAndColor("o-table", 16, 2, "ok", "service-color"); - this.setCellAndColor("b-table", 16, 11, "ok", "service-color"); - this.setCellAndColor("b-table", 16, 7, "ok", "project-color"); - this.setCellAndColor("b-table", 16, 3, "ok", "blockchain-color"); - this.setCellAndColor("b-table", 15, 3, "OK", "blockchain-green"); - + if (this.viewId % this.view.length == 0) { + this.setCellAndColor("d-table", 2, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 2, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 2, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 2, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 2, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 1, 3, "OK", "blockchain-green"); + + this.setCellAndColor("d-table", 4, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 4, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 4, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 4, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 4, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 3, 3, "OK", "blockchain-green"); + + this.setCellAndColor("d-table", 6, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 6, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 6, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 6, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 6, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 5, 3, "OK", "blockchain-green"); + + this.setCellAndColor("d-table", 8, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 8, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 8, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 8, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 8, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 7, 3, "OK", "blockchain-green"); + + this.setCellAndColor("d-table", 10, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 10, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 10, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 10, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 10, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 9, 3, "OK", "blockchain-green"); + + this.setCellAndColor("d-table", 12, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 12, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 12, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 12, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 12, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 11, 3, "OK", "blockchain-green"); + + this.setCellAndColor("d-table", 14, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 14, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 14, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 14, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 14, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 13, 3, "OK", "blockchain-green"); + + this.setCellAndColor("d-table", 16, 2, "ok", "project-color"); + this.setCellAndColor("o-table", 16, 2, "ok", "service-color"); + this.setCellAndColor("b-table", 16, 11, "ok", "service-color"); + this.setCellAndColor("b-table", 16, 7, "ok", "project-color"); + this.setCellAndColor("b-table", 16, 3, "ok", "blockchain-color"); + this.setCellAndColor("b-table", 15, 3, "OK", "blockchain-green"); + } // Run/Eval Service Input queries on Project data and add/update results as step[0] // Run/Eval Service Steps/Functions/Commands and update Service results