andreyunic23 commited on
Commit
8150a82
·
1 Parent(s): 0213aca

small visual updates

Browse files
static/style.css CHANGED
@@ -127,13 +127,13 @@ table {
127
  .inter {
128
  height: 60%;
129
  max-height: 60%;
130
- width: 21%;
131
  margin: 2%;
132
  background-color: cadetblue;
133
  float: left;
134
  }
135
  .inter:hover {
136
- background-color: rgba(95, 158, 160, 0.3);
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 tipe 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.
 
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: darkseagreen;">Filter correct sentences</div>
57
- <div class="inter" onclick="addData_incorrect()" style="background-color: lightgoldenrodyellow;">Filter incorrect sentences</div>
58
- <div class="inter" onclick="addData_erro()" style="background-color: lightcoral;">Filter classification errors</div>
59
- <div class="inter" onclick="update_table()">Return to default state</div>
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