Sha256: fcb02b58252288c9770f454f6a4cc8439b6ea2ecaead5b854879ebfc26db1b9b

Contents?: true

Size: 875 Bytes

Versions: 23

Compression:

Stored size: 875 Bytes

Contents

<h1>Device: <%=params[:device_id]%></h1>
<%=show_errors%>
<a href="<%=url("user?user_id=#{CGI.escape(params[:user_id])}")%>" class='nav_button'>Back</a>
<a href='<%=url("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="<%=url("docs?source_id=#{@sources[i]}&device_id=#{CGI.escape(params[:device_id])}&user_id=#{CGI.escape(params[:user_id])}")%>">
		<%=i==0?'':','%>"<%=@sources[i]%>"
	</a>
<%end%>
]

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rhosync-2.0.8 lib/rhosync/console/app/views/client.erb
rhosync-2.0.7 lib/rhosync/console/app/views/client.erb
rhosync-2.0.6 lib/rhosync/console/app/views/client.erb
rhosync-2.0.5 lib/rhosync/console/app/views/client.erb
rhosync-2.0.4 lib/rhosync/console/app/views/client.erb
rhosync-2.0.3 lib/rhosync/console/app/views/client.erb
rhosync-2.0.2 lib/rhosync/console/app/views/client.erb
rhosync-2.0.1 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.rc2 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.rc1 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta13 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta12 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta11 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta10 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta9 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta8 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta7 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta6 lib/rhosync/console/app/views/client.erb
rhosync-2.0.0.beta4 lib/rhosync/console/app/views/client.erb