app/views/extface/devices/show.html.erb in extface-0.1.4 vs app/views/extface/devices/show.html.erb in extface-0.1.5
- old
+ new
@@ -63,12 +63,22 @@
<dt><%= t('.client_pull_url') %></dt>
<dd><pre><%= extface.pull_url(@device.uuid) %></pre></dd>
</dl>
<hr />
+
<% if @device.print? %>
<%= button_to 'Print Test Page', test_page_device_path(@device), remote: true, name: :test_page, value: true, class: 'btn btn-warning' %>
<% end %>
+
+<br />Simulate push data from device
+
+ <div class="input-group">
+ <input type="text" id='data' class="form-control">
+ <span class="input-group-btn">
+ <%= link_to 'Push', extface.push_url(@device.uuid), id: :push, class: 'btn btn-warning'%>
+ </span>
+ </div><!-- /input-group -->
<h1>Jobs</h1>
<table class='table'>
<thead>
<tr class='active'>