Skip to content

Commit

Permalink
Fix for regex patterns. Minor UI changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
tblock79 committed Jun 5, 2024
1 parent fb922ca commit 60d9849
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions webinterface/templates/targets/dicom-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
<div class="control">
<input name="aet_target" class="input" required='true' autocomplete='off' type="text"
placeholder="Calling AET" value="{{targets[edittarget]['aet_target']}}"
pattern="[A-Za-z0-9_-]+">
pattern="[0-9a-zA-Z_\-]+">
</div>
</div>
<div class="field">
<label class="label">AET Source</label>
<div class="control">
<input name="aet_source" class="input" required='true' autocomplete='off' type="text"
placeholder="Outgoing AET" value="{{targets[edittarget]['aet_source']}}"
pattern="[A-Za-z0-9_-]+">
pattern="[0-9a-zA-Z_\-]+">
</div>
</div>
4 changes: 2 additions & 2 deletions webinterface/templates/targets/dicom-tls-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
<div class="control">
<input name="aet_target" class="input" required='true' autocomplete='off' type="text"
placeholder="Calling AET" value="{{targets[edittarget]['aet_target']}}"
pattern="[A-Za-z0-9_-]+">
pattern="[0-9a-zA-Z_\-]+">
</div>
</div>
<div class="field">
<label class="label">AET Source</label>
<div class="control">
<input name="aet_source" class="input" required='true' autocomplete='off' type="text"
placeholder="Outgoing AET" value="{{targets[edittarget]['aet_source']}}"
pattern="[A-Za-z0-9_-]+">
pattern="[0-9a-zA-Z_\-]+">
</div>
</div>
<div class="field">
Expand Down
7 changes: 4 additions & 3 deletions webinterface/templates/targets/rsync-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@
</div>
</div>

<div class="field">
<div class="control">
<div class="field" style="margin-top: 14px;">
<label class="label">Options</label>
<div class="control" style="margin-top: 11px;">
<input id="run_on_complete" type="checkbox" name="run_on_complete"
class="switch is-rounded is-dark" value="True" {% if
targets[edittarget].run_on_complete==True %}checked="checked" {% endif%} />
<label for="run_on_complete">Execute command on complete</label>
<label for="run_on_complete">Execute Shell Command After Transfer</label>

<!-- <input name="on_complete" class="input" required='false' autocomplete='off' type="text"
placeholder="On Complete" value="{% if targets[edittarget].run_on_complete %}{{targets[edittarget].run_on_complete}}{%endif%}" /> -->
Expand Down
8 changes: 4 additions & 4 deletions webinterface/templates/targets/s3-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@
size="15">
</div>
</div>
<div class="field" style="margin-top: 30px;">
<div class="field">
<label class="label">Region</label>
<div class="control">
<input name="region" class="input" required='true' autocomplete='off' type="text"
placeholder="S3 region" value="{{targets[edittarget]['region']}}"
size="15">
</div>
</div>
<div class="field" style="margin-top: 30px;">
<div class="field">
<label class="label">Prefix</label>
<div class="control">
<input name="prefix" class="input" required='true' autocomplete='off' type="text"
placeholder="Prefix" value="{{targets[edittarget]['prefix']}}"
size="15">
</div>
</div>
<div class="field" style="margin-top: 30px;">
<div class="field">
<label class="label">Access Key ID</label>
<div class="control">
<input name="access_key_id" class="input" required='true' autocomplete='off' type="text"
Expand All @@ -34,7 +34,7 @@
size="15">
</div>
</div>
<div class="field" style="margin-top: 30px;">
<div class="field">
<label class="label">Secret Access Key</label>
<div class="control">
<input name="secret_access_key" class="input" required='true' autocomplete="new-password" type="password"
Expand Down

0 comments on commit 60d9849

Please sign in to comment.