chg: [sync UI] disable pull

This commit is contained in:
Terrtia 2021-12-01 15:37:28 +01:00
parent b7ff905e59
commit eb6f60f033
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
4 changed files with 7 additions and 7 deletions

View file

@ -82,7 +82,7 @@ class Sync_importer(AbstractModule):
item_id = ail_stream['meta']['ail:id'] + 'test'
message = f'{item_id} {b64_gzip_content}'
print(message)
print(item_id)
self.send_message_to_queue(message, 'Mixer')
# increase nb of item by ail sync

View file

@ -63,12 +63,12 @@
SYNC Modes:
</h5>
<div class="row">
<div class="col-12 col-xl-6">
<!-- <div class="col-12 col-xl-6">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" value="True" id="pull" name="ail_pull" checked>
<label class="custom-control-label" for="ail_pull"><h5>PULL</h5></label>
</div>
</div>
</div> -->
<div class="col-12 col-xl-6">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" value="True" id="ail_push" name="ail_push" checked>

View file

@ -66,12 +66,12 @@
SYNC Modes:
</h5>
<div class="row">
<div class="col-12 col-xl-6">
<!-- <div class="col-12 col-xl-6">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" value="True" id="pull" name="ail_pull" {%if server_metadata['pull']%}checked{%endif%}>
<label class="custom-control-label" for="ail_pull"><h5>PULL</h5></label>
</div>
</div>
</div> -->
<div class="col-12 col-xl-6">
<div class="custom-control custom-checkbox">
<input class="custom-control-input" type="checkbox" value="True" id="ail_push" name="ail_push" {%if server_metadata['push']%}checked{%endif%}>

View file

@ -86,7 +86,7 @@
{{server_metadata['description']}}
</td>
</tr>
<tr>
<!-- <tr>
<td class="text-right"><b>Pull</b></td>
<td>
{% if server_metadata['pull'] %}
@ -99,7 +99,7 @@
</span>
{% endif %}
</td>
</tr>
</tr> -->
<tr>
<td class="text-right"><b>Push</b></td>
<td>