/
githubmirror
/
tabby
Обзор
Документация
Войти
/
githubmirror
/
tabby
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tabby-local/src/components/environmentEditor.component.pug
18 строк
787 B
Eugene
bootstrap 5 WIP (#7891)
26 фев 2023, 22:42
Не верифицирован
26 фев 2023, 22:42
1e5cfd1
Код
Авторство
О чём код?
.mb-2.d-flex.align-items-center(*ngFor='let pair of vars') .input-group input.form-control.w-25.text-monospace([(ngModel)]='pair.key', (blur)='emitUpdate()', placeholder='Variable name') .input-group-text = input.form-control.w-50.text-monospace([(ngModel)]='pair.value', (blur)='emitUpdate()', placeholder='Value') button.btn.btn-secondary((click)='removeEnvironmentVar(pair.key)') i.fas.fa-fw.fa-trash .d-flex button.btn.btn-secondary((click)='addEnvironmentVar()') i.fas.fa-plus.me-2 span(translate) Add .ms-auto .text-muted(translate) Substitutions allowed. .d-flex.ms-1(*ngIf='shouldShowExample()') .text-muted(translate) Example: a.ms-1((click)='addExample()', href='#') extend PATH