optional script

This commit is contained in:
Domain
2018-09-28 14:46:32 +08:00
parent 24288fac9a
commit 9eee600ccc
3 changed files with 34 additions and 12 deletions

View File

@@ -95,6 +95,7 @@
th String to expect
th String to be sent
th Regex
th Optional
th Actions
tr(*ngFor='let script of connection.scripts')
td
@@ -111,6 +112,10 @@
toggle(
[(ngModel)]='script.isRegex',
)
td
toggle(
[(ngModel)]='script.optional',
)
td
.input-group.flex-nowrap
button.btn.btn-outline-info.ml-0((click)='moveScriptUp(script)')
@@ -136,6 +141,10 @@
toggle(
[(ngModel)]='newScript.isRegex',
)
td
toggle(
[(ngModel)]='newScript.optional',
)
td
.input-group.flex-nowrap
button.btn.btn-outline-info.ml-0((click)='addScript()')