created sync for server
This commit is contained in:
@@ -60,6 +60,30 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<%
|
||||
pull_commands = @record.configuration_files.map do |file|
|
||||
pull_command(file)
|
||||
end.join("\n")
|
||||
|
||||
push_commands = @record.configuration_files.map do |file|
|
||||
push_command(file)
|
||||
end.join("\n")
|
||||
|
||||
%>
|
||||
<h3>Sync Server: </h3>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
CHUB -> Your Server<br />
|
||||
<%= text_area_tag 'command_pull', pull_commands, readonly: true, class: 'form-control-sm click-to-select-all', size: "80x10" %>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
Your Server -> CHUB<br />
|
||||
<%= text_area_tag 'command_push', push_commands, readonly: true, class: 'form-control-sm click-to-select-all', size: "80x10" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user