<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2013 %>
" helpUrl="<%=help_link(HELP_URL_CONFIG['scheduling_objects']['remote_servers']['home'])%>" region="center" forceFit="false" lazyRender="true" layout="fit" dojoType="helpsys.ext.LiveGrid" baseParameters="{ tag: '<%= params[:tag] %>' }" authenticity_token="<%= form_authenticity_token %>" dataColumns="[{name: 'id'}, {name: 'name'}, {name: 'description'}, {name: 'server_name'}, {name: 'server_type'}, {name: 'status'}, {name: 'installed_utc'}]" deletePath="<%= remote_server_path(-1) %>" editPath="<%= edit_remote_server_path(-1) %>" editInPopup="false" itemType='<%= t('common.remote_server') %>' gridColumns="[ {dataIndex: 'name', header: '<%= t('common.name') %>', id: 'remote_serversGridName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'description', header: '<%= t('common.description') %>', id: 'remote_serversGridDescription', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'server_name', header: '<%= t('.server_name') %>', id: 'remote_serversGridServerName', locked: false, sortable: true, width: 150, filter: true, filterType: 'string'}, {dataIndex: 'server_type', header: '<%= t('.type') %>', id: 'remote_serversGridServerType', locked: false, sortable: true, width: 100, filter: false}, {dataIndex: 'status', header: '<%= t('.status') %>', id: 'remote_serversGridStatus', locked: false, sortable: false, width: 120, filter: true, filterType: 'list', filterList: <%= RemoteServer.FILTER_STATUSES %> }, {dataIndex: 'installed_utc', header: '<%= t('.installed') %>', id: 'remote_serversGridInstalledUtc', locked: false, sortable: true, width: 150, filter: true, filterType: 'dateTime'} ]" includeDelete="true" includeEdit="true" includeShow="true" includeTagFilter="true" tagMatchAnyDefault="<%= match_any_default %>" menuCfg="{items: [{ iconCls: 'icon_edit', text: '<%= t('.edit_remote_server') %>', actsOn: 'one', actionUrl: '<%= edit_remote_server_path(-1) %>', keepMask: true },{ iconCls: 'icon_copy', text: '<%= t('.copy_remote_server') %>', actsOn: 'one', actionUrl: '<%= copy_remote_server_path(-1) %>' },{ iconCls: 'icon_delete', text: '<%= t('.delete_remote_server') %>', actsOn: 'one', method: 'DELETE', actionUrl: '<%= remote_server_path(-1) %>', ajaxRequest: true, confirmText: '<%=t ".delete_confirmation" %>' },'-',{ iconCls: '', text: '<%= t('.remote_events_used_as_automate_prerequisites') %>', actsOn: 'one', actionUrl: '<%= remote_server_remote_events_path(-1) %>' },{ iconCls: 'icon_history', text: '<%= t('.remote_event_history') %>', actsOn: 'one', actionUrl: '<%= remote_event_histories_path(:remote_server_id => -1) %>' },'-',{ iconCls: '', text: '<%= t('.automate_events_used_as_remote_prerequisites') %>', actsOn: 'one', actionUrl: '<%= remote_server_remote_dependencies_path(-1) %>' },{ iconCls: 'icon_history', text: '<%= t('.remote_notification_history') %>', actsOn: 'one', actionUrl: '<%= remote_notification_histories_path(:remote_server_id => -1) %>' },'-',{ iconCls: 'icon_audit', text: '<%=t "common.show_audit_changes" %>', actsOn: 'one', actionUrl: '<%= audits_path(:auditable_id => -1, :auditable_type => 'RemoteServer') %>' },'-',{ iconCls: 'icon_key', text: '<%= t('.install_remote_server') %>', actsOn: 'one', method: 'POST', actionUrl: '<%= install_remote_server_path(-1) %>', ajaxRequest: true, confirmText: '<%=t ".install_confirmation" %>' },'-',{ iconCls: 'icon-active', text: '<%= t('.approve_server') %>', actsOn: 'one', method: 'POST', actionUrl: '<%= approve_remote_server_path(-1) %>', ajaxRequest: true }]}" sortField="{field: 'installed_utc', direction: 'ASC'}" tbar="{items: [{ iconCls: 'icon_create', text: '<%= t('.create_schedule_remote_server') %>', actsOn: 'none', actionUrl: '<%= new_remote_server_path(:server_type => RemoteServer::ROBOT_SCHEDULE_SERVER_TYPE) %>' },{ iconCls: 'icon_create', text: '<%= t('.create_automate_remote_server') %>', actsOn: 'none', actionUrl: '<%= new_remote_server_path(:server_type => RemoteServer::AUTOMATE_SCHEDULE_SERVER_TYPE) %>' }]}" url="<%= remote_servers_path(:format => 'json') %>" style="height:100%;">