new_dialer.html.erb - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
HTML git clone git://jay.scot/warvox
DIR Log
DIR Files
DIR Refs
DIR README
---
new_dialer.html.erb (1318B)
---
1 <h1 class='title'>Wardial Configuration</h1>
2
3 <%= semantic_form_for(@job, :url => dialer_job_path, :html => { :multipart => true, :method => :put }) do |f| %>
4
5 <% if @project %>
6 <%= f.input :project_id, :as => :hidden, :input_html => { :value => @project.id } %>
7 <% else %>
8 <%= f.input :project, :as => :select %>
9 <% end %>
10
11 <%= f.input :range, :as => :text,
12 :label => 'Target telephone range(s)',
13 :hint => 'Examples: 1-123-456-7890 / 1-123-456-XXXX / 1-123-300-1000:1-123-400-2000',
14 :input_html => { :rows => 3, :cols => 80, :autofocus => true }
15 %>
16 <%= f.input :range_file, :as => :file, :label => 'Or upload a file containing the target ranges' %>
17 <%= f.input :seconds, :as => :number, :label => 'Seconds of audio to capture', :input_html => { :value => 53 } %>
18 <%= f.input :lines, :as => :number, :label => 'Maximum number of outgoing lines', :input_html => { :value => 10 } %>
19 <%= f.input :cid_mask, :as => :string, :label => 'The source Caller ID range (1-555-555-55XX or SELF)', :input_html => { :value => '1-555-555-XXXX' } %>
20
21 <%= f.action :submit, :label => 'Dial', :button_html => { :class => 'btn btn-large fbtn' } %>
22
23 <a class="btn btn-link" href="<%= jobs_path %>" rel="tooltip" title="Return to jobs"><i class="fa fa-return"></i>Cancel</a>
24 <% end %>
25
26 <%= set_focus('job_range') %>