Browse Source

feat: added in both schemes a new eye icon to store the line resume

Marcelo Vilas Boas Correa Filho 3 years ago
parent
commit
2cad4e22b2

+ 10 - 1
js/accessibleUI/modules/operations/operations-schemes.js

@@ -169,7 +169,16 @@ export function htmlAssignVariableScheme () {
                             <div class="row" id="operation<operationId>OperatorsDiv"></div>
                             <div class="row" id="operation<operationId>OperatorsDiv"></div>
                         </div>
                         </div>
                         <div class="col-1 my-auto" style="text-align: end;">
                         <div class="col-1 my-auto" style="text-align: end;">
-                            <a id="operation<operationId>Delete" href="javascript:void(0)" class="text-danger" operation-id="<operationId>" title="Excluir">X</a>
+                            <div class="row justify-content-end">
+                                <div class="col-1" style="margin-right: 4px;">
+                                    <a id="operation<operationId>Resume" href="javascript:void(0)" class="text-info" operation-id="<operationId>">
+                                        <i class="fas fa-eye"></i>
+                                    </a>
+                                </div>
+                                <div class="col-1">
+                                    <a id="operation<operationId>Delete" href="javascript:void(0)" class="text-danger" operation-id="<operationId>" title="Excluir">X</a>
+                                </div>
+                            </div>
                         </div>     
                         </div>     
                     </div>
                     </div>
                 </form>
                 </form>

+ 10 - 1
js/accessibleUI/modules/variables/variables-schemes.js

@@ -103,7 +103,16 @@ export function htmlVariableScheme () {
                             <input type="${variableTypes[0].htmlType}" class="form-control" id ="variable<variableId>Value" title="Valor da variável" value="0" variable-id="<variableId>">
                             <input type="${variableTypes[0].htmlType}" class="form-control" id ="variable<variableId>Value" title="Valor da variável" value="0" variable-id="<variableId>">
                         </div>
                         </div>
                         <div class="col my-auto" style="text-align: end;">
                         <div class="col my-auto" style="text-align: end;">
-                            <a id="variable<variableId>Delete" href="javascript:void(0)" class="text-danger" variable-id="<variableId>" title="Excluir">X</a>
+                            <div class="row justify-content-end">
+                                <div class="col-1">
+                                    <a id="variable<variableId>Resume" href="javascript:void(0)" class="text-info" variable-id="<variableId>">
+                                        <i class="fas fa-eye"></i>
+                                    </a>
+                                </div>
+                                <div class="col-1">
+                                    <a id="variable<variableId>Delete" href="javascript:void(0)" class="text-danger" variable-id="<variableId>" title="Excluir">X</a>
+                                </div>
+                            </div>
                         </div>
                         </div>
                     </div>
                     </div>
                 </form> 
                 </form>