diff --git a/frontend/src/components/ScoreSelector.vue b/frontend/src/components/ScoreSelector.vue
new file mode 100644
index 0000000..a61a9f6
--- /dev/null
+++ b/frontend/src/components/ScoreSelector.vue
@@ -0,0 +1,240 @@
+
+
+ 1
+ 2
+ 3
+ 4
+ 5
+
+
+
+
+
+
+
diff --git a/frontend/src/views/Observation.vue b/frontend/src/views/Observation.vue
index 76ae2da..1a83c97 100644
--- a/frontend/src/views/Observation.vue
+++ b/frontend/src/views/Observation.vue
@@ -71,13 +71,7 @@
Monitoring
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -89,13 +83,7 @@
Control Procedural
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -109,13 +97,7 @@
Control
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -127,13 +109,7 @@
Conservatism
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -147,13 +123,7 @@
Teamwork Communications
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -165,13 +135,7 @@
Teamwork Leadership
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -185,13 +149,7 @@
Teamwork Workload
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -203,13 +161,7 @@
Knowledge
-
- 1
- 2
- 3
- 4
- 5
-
+
@@ -265,10 +217,12 @@ import "vue-awesome/icons/times-circle";
import "vue-awesome/icons/exclamation-circle";
import { mapState } from "vuex";
import Vue from "vue";
+import ScoreSelector from "../components/ScoreSelector.vue"
export default {
name: "observation",
title: "Observation",
+ components: { ScoreSelector },
data: function() {
return {
scenarios: [
@@ -562,214 +516,4 @@ img {
h5 {
padding-top: 2px;
}
-
-.btn-1 {
- color: #ffffff;
- background-color: #cc3232;
- border-color: #000000;
-}
-.btn-1:hover,
-.btn-1:focus,
-.btn-1:active,
-.btn-1.active,
-.open .dropdown-toggle.btn-1 {
- color: #ffffff;
- background-color: #4285f4;
- border-color: #000000;
-}
-.btn-1:active,
-.btn-1.active,
-.open .dropdown-toggle.btn-1 {
- background-image: none;
-}
-.btn-1.disabled,
-.btn-1[disabled],
-fieldset[disabled] .btn-1,
-.btn-1.disabled:hover,
-.btn-1[disabled]:hover,
-fieldset[disabled] .btn-1:hover,
-.btn-1.disabled:focus,
-.btn-1[disabled]:focus,
-fieldset[disabled] .btn-1:focus,
-.btn-1.disabled:active,
-.btn-1[disabled]:active,
-fieldset[disabled] .btn-1:active,
-.btn-1.disabled.active,
-.btn-1[disabled].active,
-fieldset[disabled] .btn-1.active {
- background-color: #cc3232;
- border-color: #4285f4;
-}
-.btn-1 .badge {
- color: #cc3232;
- background-color: #ffffff;
-}
-
-.btn-2 {
- color: #ffffff;
- background-color: #db7b2b;
- border-color: #000000;
-}
-.btn-2:hover,
-.btn-2:focus,
-.btn-2:active,
-.btn-2.active,
-.open .dropdown-toggle.btn-2 {
- color: #ffffff;
- background-color: #4285f4;
- border-color: #000000;
-}
-.btn-2:active,
-.btn-2.active,
-.open .dropdown-toggle.btn-2 {
- background-image: none;
-}
-.btn-2.disabled,
-.btn-2[disabled],
-fieldset[disabled] .btn-2,
-.btn-2.disabled:hover,
-.btn-2[disabled]:hover,
-fieldset[disabled] .btn-2:hover,
-.btn-2.disabled:focus,
-.btn-2[disabled]:focus,
-fieldset[disabled] .btn-2:focus,
-.btn-2.disabled:active,
-.btn-2[disabled]:active,
-fieldset[disabled] .btn-2:active,
-.btn-2.disabled.active,
-.btn-2[disabled].active,
-fieldset[disabled] .btn-2.active {
- background-color: #db7b2b;
- border-color: #4285f4;
-}
-.btn-2 .badge {
- color: #db7b2b;
- background-color: #ffffff;
-}
-
-.btn-3 {
- color: #ffffff;
- background-color: #e7b416;
- border-color: #000000;
-}
-.btn-3:hover,
-.btn-3:focus,
-.btn-3:active,
-.btn-3.active,
-.open .dropdown-toggle.btn-3 {
- color: #ffffff;
- background-color: #4285f4;
- border-color: #000000;
-}
-.btn-3:active,
-.btn-3.active,
-.open .dropdown-toggle.btn-3 {
- background-image: none;
-}
-.btn-3.disabled,
-.btn-3[disabled],
-fieldset[disabled] .btn-3,
-.btn-3.disabled:hover,
-.btn-3[disabled]:hover,
-fieldset[disabled] .btn-3:hover,
-.btn-3.disabled:focus,
-.btn-3[disabled]:focus,
-fieldset[disabled] .btn-3:focus,
-.btn-3.disabled:active,
-.btn-3[disabled]:active,
-fieldset[disabled] .btn-3:active,
-.btn-3.disabled.active,
-.btn-3[disabled].active,
-fieldset[disabled] .btn-3.active {
- background-color: #e7b416;
- border-color: #4285f4;
-}
-.btn-3 .badge {
- color: #e7b416;
- background-color: #ffffff;
-}
-
-.btn-4 {
- color: #ffffff;
- background-color: #99c140;
- border-color: #000000;
-}
-.btn-4:hover,
-.btn-4:focus,
-.btn-4:active,
-.btn-4.active,
-.open .dropdown-toggle.btn-4 {
- color: #ffffff;
- background-color: #4285f4;
- border-color: #000000;
-}
-.btn-4:active,
-.btn-4.active,
-.open .dropdown-toggle.btn-4 {
- background-image: none;
-}
-.btn-4.disabled,
-.btn-4[disabled],
-fieldset[disabled] .btn-4,
-.btn-4.disabled:hover,
-.btn-4[disabled]:hover,
-fieldset[disabled] .btn-4:hover,
-.btn-4.disabled:focus,
-.btn-4[disabled]:focus,
-fieldset[disabled] .btn-4:focus,
-.btn-4.disabled:active,
-.btn-4[disabled]:active,
-fieldset[disabled] .btn-4:active,
-.btn-4.disabled.active,
-.btn-4[disabled].active,
-fieldset[disabled] .btn-4.active {
- background-color: #99c140;
- border-color: #4285f4;
-}
-.btn-4 .badge {
- color: #99c140;
- background-color: #ffffff;
-}
-
-.btn-5 {
- color: #ffffff;
- background-color: #2dc937;
- border-color: #000000;
-}
-.btn-5:hover,
-.btn-5:focus,
-.btn-5:active,
-.btn-5.active,
-.open .dropdown-toggle.btn-5 {
- color: #ffffff;
- background-color: #4285f4;
- border-color: #000000;
-}
-.btn-5:active,
-.btn-5.active,
-.open .dropdown-toggle.btn-5 {
- background-image: none;
-}
-.btn-5.disabled,
-.btn-5[disabled],
-fieldset[disabled] .btn-5,
-.btn-5.disabled:hover,
-.btn-5[disabled]:hover,
-fieldset[disabled] .btn-5:hover,
-.btn-5.disabled:focus,
-.btn-5[disabled]:focus,
-fieldset[disabled] .btn-5:focus,
-.btn-5.disabled:active,
-.btn-5[disabled]:active,
-fieldset[disabled] .btn-5:active,
-.btn-5.disabled.active,
-.btn-5[disabled].active,
-fieldset[disabled] .btn-5.active {
- background-color: #2dc937;
- border-color: #4285f4;
-}
-.btn-5 .badge {
- color: #2dc937;
- background-color: #ffffff;
-}