mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
chg: [sync UI] disable pull
This commit is contained in:
parent
b7ff905e59
commit
eb6f60f033
4 changed files with 7 additions and 7 deletions
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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%}>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue