Skip to content

Commit

Permalink
smaller buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
berk committed Aug 31, 2016
1 parent 9306411 commit 587cb01
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions app/views/will_filter/exporter/index.html.erb
@@ -1,6 +1,6 @@
<div class="wf_exporter_header">
<div class="end" style="margin-top: -3px;">
<%=link_to("&times;".html_safe, "#", :onclick => "wfExporter.hide(); return false;", :title=>"Close", :class => "close")%>
<%= link_to("&times;".html_safe, "#", :onclick => "wfExporter.hide(); return false;", :title => "Close", :class => "close") %>
</div>
Export Data
</div>
Expand All @@ -9,35 +9,35 @@

<table style="width:100%" cellpadding="0px" cellspacing="0px;">
<thead>
<tr>
<td><input type="checkbox" id="wf_fld_all" onClick="wfExporter.selectAllFields(this);" style="width:20px;"></td>
<td>Name</td>
<td>Type</td>
</tr>
<tr>
<td><input type="checkbox" id="wf_fld_all" onClick="wfExporter.selectAllFields(this);" style="width:20px;"></td>
<td>Name</td>
<td>Type</td>
</tr>
</thead>
<tbody>
<% @wf_filter.model_class.columns.each_with_index do |col, index| %>
<% @wf_filter.model_class.columns.each_with_index do |col, index| %>
<tr>
<td>
<input type="checkbox" id="wf_fld_chk_<%=index%>" onClick="wfExporter.selectField(this);" style="width:20px;"><input type="hidden" id="wf_fld_name_<%=index%>" value="<%=col.name%>">
</td>
<td><%=col.name %></td>
<td><%=col.type %></td>
<td>
<input type="checkbox" id="wf_fld_chk_<%= index %>" onClick="wfExporter.selectField(this);" style="width:20px;"><input type="hidden" id="wf_fld_name_<%= index %>" value="<%= col.name %>">
</td>
<td><%= col.name %></td>
<td><%= col.type %></td>
</tr>
<% end %>
<% end %>
</tbody>
</table>


<div class="center" style="border-top: 1px solid #ccc; padding-top: 5px; margin-top: 5px;">
Format: <%= select_tag("wf_export_format_selector", options_for_select(@wf_filter.export_formats, @wf_filter.format)) %>
Format: <%= select_tag("wf_export_format_selector", options_for_select(@wf_filter.export_formats, @wf_filter.format)) %>
</div>
<div class="center">
<button type="button" class="btn btn-default" onclick="wfExporter.exportFilter()">
<button type="button" class="btn btn-default btn-xs" onclick="wfExporter.exportFilter()">
Export
</button>
<button type="button" class="btn btn-default" onclick="wfExporter.hide()">
<button type="button" class="btn btn-default btn-xs" onclick="wfExporter.hide()">
Cancel
</button>
</div>
</div>
</div>

0 comments on commit 587cb01

Please sign in to comment.