Sha256: ebcb3e7cbf9f8f0161c927cc0c77b3219b5833d8b21f7f3ea5ff55acb69fd2fe

Contents?: true

Size: 1.69 KB

Versions: 2

Compression:

Stored size: 1.69 KB

Contents

<% content_for :javascripts do %>
<%= javascript_include_tag 'jquery.min.js', 'fileuploader.js', 'spin.js', 'jquery.jscrollpane.min.js', 'jquery.mousewheel.js', 'setup/step3.js' %>
<% end %>

<% content_for :stylesheets do %>
  <%= stylesheet_link_tag 'setup/index.css', 'setup/step3.css', 'jscrollpane.css' %>
<% end %>

<%= render 'step_indicator', :step => 3 %>
<%= form_tag setup_path(:step_id => 4) do %>
  <div class="small_content_box">
    <h1><%= t('.title') %></h1>
    <p><%= t('.description') %></p>

    <div id="select_table" class="shadowed">
      <a href="#" class="selector">Select table</a> <span id="new_table"><%= raw t('.or', :link => link_to(t('.create_a_new_one'), '#')) %></span>
      <ul id="tables_combo" class="selector_values scroll_pane">
        <% @tables.each do |table| %>
        <li><a href="#"><%= table.name %></a></li>
        <% end %>
      </ul>
      <%= select_tag 'features_table', options_for_select(@tables.map{|t| [t.name, t.name]}), {:include_blank => true} %>
      <div id="table_data"></div>
    </div>

    <div id="create_table" class="shadowed">
      <div id="file-uploader">
        select
        <noscript>
          <%= form_tag create_table_path do %>
            <%= label_tag 'data_file' %>
            <%= file_field_tag 'data_file' %>
            <%= submit_tag 'Submit' %>
          <% end %>
        </noscript>
      </div>
      <span class="select_file message">Select a data file (CSV,XLS) from your computer</span>
      <span class="processing message">Processing your file...</span>
    </div>
    <div id="spinner"></div>
    <%= submit_tag t('.use_this_table'), :id => 'use_this_table', :class => 'main_action right', :disabled => true %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cartoset-0.0.2 app/views/setup/step3.html.erb
cartoset-0.0.1 app/views/setup/step3.html.erb