/
githubmirror
/
oppia
Обзор
Документация
Войти
/
githubmirror
/
oppia
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
extensions/interactions/GraphInput/directives/graph-input-interaction.component.html
27 строк
1 KB
Jayam Patel
[GSoC 2025 - Acceptance Tests] M1.8 - Implement Acceptance tests for Exploration Editor (#11 in CUJv3 Doc) (#22969)
05 авг 2025, 06:02
Не верифицирован
05 авг 2025, 06:02
6e293e1
Код
Авторство
О чём код?
<style> .graph-input-container { background: #fff; display: flow-root; padding: 8px; } .oppia-error-message-text { margin-left: 30px; } </style> <div class="graph-input-container"> <graph-viz [graph]="graph" [canAddVertex]="canAddVertex" [canDeleteVertex]="canDeleteVertex" [canEditVertexLabel]="canEditVertexLabel" [canMoveVertex]="canMoveVertex" [canAddEdge]="canAddEdge" [canDeleteEdge]="canDeleteEdge" [canEditEdgeWeight]="canEditEdgeWeight" [interactionIsActive]="interactionIsActive"> </graph-viz> <button [ngStyle]="isLanguageRTL() ? {'margin' : '0 30px 0 0', 'float': 'right'} : {'margin' : '0 0 0 30px', 'float': 'left'}" mat-raised-button (click)="resetGraph()" [disabled]="!interactionIsActive" [innerHTML]="'I18N_INTERACTIONS_GRAPH_RESET_BUTTON' | translate" class="e2e-test-reset-graph-button"></button> <span [hidden]="errorMessage" class="text-danger oppia-error-message-text" aria-live="assertive"> {{errorMessage | translate}} </span> </div>