Spaces:
Sleeping
Sleeping
Commit
·
8150a82
1
Parent(s):
0213aca
small visual updates
Browse files- static/style.css +2 -2
- templates/index.html +1 -1
- templates/interface.html +4 -4
static/style.css
CHANGED
@@ -127,13 +127,13 @@ table {
|
|
127 |
.inter {
|
128 |
height: 60%;
|
129 |
max-height: 60%;
|
130 |
-
width:
|
131 |
margin: 2%;
|
132 |
background-color: cadetblue;
|
133 |
float: left;
|
134 |
}
|
135 |
.inter:hover {
|
136 |
-
|
137 |
cursor: pointer;
|
138 |
}
|
139 |
|
|
|
127 |
.inter {
|
128 |
height: 60%;
|
129 |
max-height: 60%;
|
130 |
+
width: 20%;
|
131 |
margin: 2%;
|
132 |
background-color: cadetblue;
|
133 |
float: left;
|
134 |
}
|
135 |
.inter:hover {
|
136 |
+
filter: brightness(.8);
|
137 |
cursor: pointer;
|
138 |
}
|
139 |
|
templates/index.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<br />
|
21 |
This pipeline supports the execution of the first step from STPA Analysis, detecting possible context errors in textual sentences from the Losses, System-Level Hazards, and System-Level Constraints classes.
|
22 |
<br />
|
23 |
-
The models in the pipeline classify sentences between correct (green rows) and incorrect (yellow rows) according to the STPA Handbook reccomendations. Furthermore, for the incorrect sentences, the pipeline gives the possible
|
24 |
Red rows indicate a labeling or classification error, and the sentence can be correct or incorrect.
|
25 |
<br />
|
26 |
*Sentences with formatting errors will be ignored. Please check all input sentences.
|
|
|
20 |
<br />
|
21 |
This pipeline supports the execution of the first step from STPA Analysis, detecting possible context errors in textual sentences from the Losses, System-Level Hazards, and System-Level Constraints classes.
|
22 |
<br />
|
23 |
+
The models in the pipeline classify sentences between correct (green rows) and incorrect (yellow rows) according to the STPA Handbook reccomendations. Furthermore, for the incorrect sentences, the pipeline gives the possible type of writing error of the sentence, and most similar sentences as suggestions for correcting the sentence.
|
24 |
Red rows indicate a labeling or classification error, and the sentence can be correct or incorrect.
|
25 |
<br />
|
26 |
*Sentences with formatting errors will be ignored. Please check all input sentences.
|
templates/interface.html
CHANGED
@@ -53,10 +53,10 @@
|
|
53 |
</div>
|
54 |
<div class="internal", style="width: 100%; height: 10%; max-height: 10%; overflow: hidden;">
|
55 |
|
56 |
-
<div class="inter" onclick="addData_correct()" style="background-color:
|
57 |
-
<div class="inter" onclick="addData_incorrect()" style="background-color:
|
58 |
-
<div class="inter" onclick="addData_erro()" style="background-color:
|
59 |
-
<div class="inter" onclick="update_table()">
|
60 |
|
61 |
|
62 |
|
|
|
53 |
</div>
|
54 |
<div class="internal", style="width: 100%; height: 10%; max-height: 10%; overflow: hidden;">
|
55 |
|
56 |
+
<div class="inter" onclick="addData_correct()" style="background-color: rgb(144, 238, 144); border: 2px solid gray; border-radius: 3px;">Show correct sentences</div>
|
57 |
+
<div class="inter" onclick="addData_incorrect()" style="background-color: rgb(245, 233, 66); border: 2px solid gray; border-radius: 3px;">Show incorrect sentences</div>
|
58 |
+
<div class="inter" onclick="addData_erro()" style="background-color: crimson; border: 2px solid gray; border-radius: 3px;">Show classification errors</div>
|
59 |
+
<div class="inter" onclick="update_table()" style="border: 2px solid gray; border-radius: 3px;">Show all sentences (Default)</div>
|
60 |
|
61 |
|
62 |
|