Improved Sieve GUI templates

This commit is contained in:
the-djmaze 2024-09-23 11:38:04 +02:00
parent 05bc9a60b1
commit 64ae3a281f
7 changed files with 13 additions and 9 deletions

View file

@ -10,4 +10,4 @@ deleteheader
<option data-bind="visible root.capa.extlists">:list</option> <option data-bind="visible root.capa.extlists">:list</option>
</select> </select>
<input type="text" data-bind="textInput: field_name"> <input type="text" data-bind="textInput: field_name">
<input type="text" data-bind="textInput: source" pattern='".+"|\[".+"(,".+")*\]'> <input type="text" data-bind="textInput: value_patterns" pattern='".+"|\[".+"(,".+")*\]'>

View file

@ -1,4 +1,4 @@
<!-- rfc5703 --> <!-- rfc5703 -->
enclose enclose
<input type="text" data-bind="textInput: _subject"> <input type="text" data-bind="textInput: _subject">
<input type="text" data-bind="textInput: source" pattern='".+"|\[".+"(,".+")*\]'> <input type="text" data-bind="textInput: headers" pattern='".+"|\[".+"(,".+")*\]'>

View file

@ -1,3 +1,3 @@
<!-- rfc6609 --> <!-- rfc6609 -->
global global
<input type="text" data-bind="textInput: source" pattern='".+"|\[".+"(,".+")*\]'> <input type="text" data-bind="textInput: value" pattern='".+"|\[".+"(,".+")*\]'>

View file

@ -0,0 +1,3 @@
/*
<textarea style="display:block" data-bind="textInput: value"></textarea>
*/

View file

@ -0,0 +1 @@
# <input type="text" data-bind="textInput: value">

View file

@ -2,6 +2,6 @@
notify notify
<input type="text" data-bind="textInput: _method"> <input type="text" data-bind="textInput: _method">
<input type="text" data-bind="textInput: _from"> <input type="text" data-bind="textInput: _from">
<input type="number"> <input type="number" data-bind="textInput: _importance">
<input type="text" data-bind="textInput: source" pattern='".+"|\[".+"(,".+")*\]'> <input type="text" data-bind="textInput: options" pattern='".+"|\[".+"(,".+")*\]'>
<input type="text" data-bind="textInput: _message"> <input type="text" data-bind="textInput: _message">

View file

@ -1,10 +1,10 @@
<!-- rfc5230 --> <!-- rfc5230 -->
vacation vacation
<input type="number"> <input type="number" data-bind="textInput: _days">
<input type="number"> <input type="number" data-bind="textInput: _seconds">
<input type="text" data-bind="textInput: _subject"> <input type="text" data-bind="textInput: _subject">
<input type="text" data-bind="textInput: _from"> <input type="text" data-bind="textInput: _from">
<input type="text" data-bind="textInput: source" pattern='".+"|\[".+"(,".+")*\]'> <input type="text" data-bind="textInput: addresses" pattern='".+"|\[".+"(,".+")*\]'>
<label><input type="checkbox"> mime</label> <label><input type="checkbox" data-bind="checked: mime"> mime</label>
<input type="text" data-bind="textInput: _handle"> <input type="text" data-bind="textInput: _handle">
<input type="text" data-bind="textInput: _reason"> // QuotedString / MultiLine <input type="text" data-bind="textInput: _reason"> // QuotedString / MultiLine