Sha256: ba318d5446ac0137ead7cd13f21c97d8c8f5de4ae5f07ff10037fd896a917a9d

Contents?: true

Size: 1008 Bytes

Versions: 14

Compression:

Stored size: 1008 Bytes

Contents

<%users = params[:user_id].split(',')%>
<%if users.size == 1%>
	<h1>Ping <%=users[0]%></h1>
<%else%>
	<h1>Ping Users</h1>
<%end%>
<%=show_errors%>
<form method="POST" action="<%=url_path('user/ping')%>">
  <table>
<%if users.size == 1%>
	<input type="hidden" name="user_id" value="<%=params[:user_id]%>">
<%else%>
	<tr>
		<td>Users:</td>
		<td><input type="text" name="user_id" value="<%=params[:user_id]%>" size=64/></td>
	</tr>
<%end%>
	<tr>
		<td>Message:</td>
		<td><input type="text" name="message" value="push message" size=64/></td>
	</tr>
	<tr>
		<td>Sources:</td>
		<td><input type="text" name="sources" value="<%=@sources.join(',')%>" size=64/></td>
	</tr>
	<tr>
		<td>Badge:</td>
		<td><input type="text" name="badge" value="1" /></td>
	</tr>
	<tr>
		<td>Sound:</td>
		<td><input type="text" name="sound" value="welcome.mp3" /></td>
	</tr>
	<tr>
		<td>Vibrate:</td>
		<td><input type="text" name="vibrate" value="2" />(seconds)</td>
	</tr>
  </table>
  <input type="submit" value="Ping!"/>
</form>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rhoconnect-3.1.2 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.1.1 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.1.0 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.1.0.beta2 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.1.0.beta1 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.6 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.5 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.4 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.3 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.2 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.1 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.0 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.0.rc1 lib/rhoconnect/console/app/views/ping.erb
rhoconnect-3.0.0.beta3 lib/rhoconnect/console/app/views/ping.erb