Skip to content

Commit

Permalink
chg: [sync UI] disable pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Dec 1, 2021
1 parent b7ff905 commit eb6f60f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/core/Sync_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def compute(self, ail_stream):
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
Expand Down
4 changes: 2 additions & 2 deletions var/www/templates/ail_2_ail/add_ail_server.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ <h5 class="mt-2 text-secondary">
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>
Expand Down
4 changes: 2 additions & 2 deletions var/www/templates/ail_2_ail/edit_ail_server.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ <h5 class="mt-2 text-secondary">
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%}>
Expand Down
4 changes: 2 additions & 2 deletions var/www/templates/ail_2_ail/view_ail_server.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ <h5 class="card-title">{{server_metadata['uuid']}}</h5>
{{server_metadata['description']}}
</td>
</tr>
<tr>
<!-- <tr>
<td class="text-right"><b>Pull</b></td>
<td>
{% if server_metadata['pull'] %}
Expand All @@ -99,7 +99,7 @@ <h5 class="card-title">{{server_metadata['uuid']}}</h5>
</span>
{% endif %}
</td>
</tr>
</tr> -->
<tr>
<td class="text-right"><b>Push</b></td>
<td>
Expand Down

0 comments on commit eb6f60f

Please sign in to comment.