Sha256: 76a24fc1ea24555bde0adf9a0b9ca32311e3792235e0c7a1362acee0d72fbfa4

Contents?: true

Size: 1002 Bytes

Versions: 36

Compression:

Stored size: 1002 Bytes

Contents

<h1>Device: <%=params[:device_id]%></h1>
<%=show_errors%>
<a href="javascript:void(0);" onclick="loadXMLDoc('<%=url_path("user?user_id=#{CGI.escape(params[:user_id])}")%>','main_box');" class='nav_button'>Back</a>
<a href='<%=url_path("device/delete?user_id=#{CGI.escape(params[:user_id])}&device_id=#{CGI.escape(params[:device_id])}")%>' class='nav_button'>
	Delete device
</a>

<h2>Device attributes</h2>
<div class='panel'>
	<table>
	<%@attributes.each do |attrib|%>
		<%if attrib['name'] != 'rho__id' and attrib['value'] and attrib['value'].size > 0%>
			<tr>
				<td><%=attrib['name']%>:</td>
				<td><%=attrib['value']%></td>
			</tr>
		<%end%>
	<%end%>
	</table>
</div>

<h2>Device documents for source:</h2>

[
<%@sources.each_index do |i|%>
	<a href='javascript:void(0);' onclick="loadXMLDoc('<%=url_path("docs?source_id=#{@sources[i]}&device_id=#{CGI.escape(params[:device_id])}&user_id=#{CGI.escape(params[:user_id])}")%>','main_box');">
		<%=i==0?'':','%>"<%=@sources[i]%>"
	</a>
<%end%>
]

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
rhosync-2.1.18.beta2 lib/rhosync/console/app/views/client.erb
rhosync-2.1.18.beta1 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17.beta7 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17.beta6 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17.beta5 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17.beta4 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17.beta3 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17.beta2 lib/rhosync/console/app/views/client.erb
rhosync-2.1.17.beta1 lib/rhosync/console/app/views/client.erb
rhoconnect-3.1.2 lib/rhoconnect/console/app/views/client.erb
rhosync-2.1.16 lib/rhosync/console/app/views/client.erb
rhoconnect-3.1.1 lib/rhoconnect/console/app/views/client.erb
rhosync-2.1.15 lib/rhosync/console/app/views/client.erb
rhoconnect-3.1.0 lib/rhoconnect/console/app/views/client.erb
rhoconnect-3.1.0.beta2 lib/rhoconnect/console/app/views/client.erb
rhosync-2.1.14 lib/rhosync/console/app/views/client.erb
rhoconnect-3.1.0.beta1 lib/rhoconnect/console/app/views/client.erb
rhoconnect-3.0.6 lib/rhoconnect/console/app/views/client.erb
rhosync-2.1.13 lib/rhosync/console/app/views/client.erb