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