Sha256: bd26febc7947866447dbd860c3c44d025d75c6366031476aed37da7dee495650
Contents?: true
Size: 1.12 KB
Versions: 5
Compression:
Stored size: 1.12 KB
Contents
<h1>User: <%=params[:user_id]%></h1> <%=show_errors%> <div class="panel"> <a href='<%=url("user/delete?user_id=#{CGI.escape(params[:user_id])}")%>' class='nav_button'>Delete user</a> </div> <div class="panel"> <a href='<%=url("user/ping?user_id=#{CGI.escape(params[:user_id])}")%>' class='nav_button'>Ping User</a> </div> <h2>User partition sources</h2> [ <%@sources.each_index do |i|%> <a href='javascript:void(0);' onclick="loadXMLDoc('<%=url("docs?source_id=#{@sources[i]}&user_id=#{CGI.escape(params[:user_id])}")%>','main_box');"><%=i==0?'':','%>"<%=@sources[i]%>"</a> <%end%> ] <h2>Registered Devices</h2> <a href="javascript:void(0);" onclick="loadXMLDoc('<%=url("device/create?user_id=#{CGI.escape(params[:user_id])}")%>','');loadXMLDoc('<%=url("user?user_id=#{CGI.escape(params[:user_id])}")%>','main_box');" class='nav_button'>Create Device</a> <div class="panel"> [ <%@devices.each_index do |i|%> <a href="javascript:void(0);" onclick="loadXMLDoc('<%=url("device?user_id=#{CGI.escape(params[:user_id])}&device_id=#{CGI.escape(@devices[i])}")%>','main_box');"> <%=i==0?'':','%>"<%=@devices[i]%>" </a> <%end%> ] </div>
Version data entries
5 entries across 5 versions & 1 rubygems