chg: [sync UI] disable pull

pull/586/head v4.0
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' item_id = ail_stream['meta']['ail:id'] + 'test'
message = f'{item_id} {b64_gzip_content}' message = f'{item_id} {b64_gzip_content}'
print(message) print(item_id)
self.send_message_to_queue(message, 'Mixer') self.send_message_to_queue(message, 'Mixer')
# increase nb of item by ail sync # increase nb of item by ail sync

View File

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

View File

@ -66,12 +66,12 @@
SYNC Modes: SYNC Modes:
</h5> </h5>
<div class="row"> <div class="row">
<div class="col-12 col-xl-6"> <!-- <div class="col-12 col-xl-6">
<div class="custom-control custom-checkbox"> <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%}> <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> <label class="custom-control-label" for="ail_pull"><h5>PULL</h5></label>
</div> </div>
</div> </div> -->
<div class="col-12 col-xl-6"> <div class="col-12 col-xl-6">
<div class="custom-control custom-checkbox"> <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%}> <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']}} {{server_metadata['description']}}
</td> </td>
</tr> </tr>
<tr> <!-- <tr>
<td class="text-right"><b>Pull</b></td> <td class="text-right"><b>Pull</b></td>
<td> <td>
{% if server_metadata['pull'] %} {% if server_metadata['pull'] %}
@ -99,7 +99,7 @@
</span> </span>
{% endif %} {% endif %}
</td> </td>
</tr> </tr> -->
<tr> <tr>
<td class="text-right"><b>Push</b></td> <td class="text-right"><b>Push</b></td>
<td> <td>