Sha256: 317e284238f04fc07a7adfe9c12136abee9373ab1dca74c953142041b422d3a9

Contents?: true

Size: 1.33 KB

Versions: 24

Compression:

Stored size: 1.33 KB

Contents

<div class="field form-group editor-code">

  <div class="editor-files">
    <span class="files-tabs">
      <ul class="nav nav-tabs">
        <% @files.each_with_index do |file, index| %>
            <li role="presentation" class="<%= 'active' if index == 0 %>" data-target="#editor-file-<%= index %>" tabindex='0' data-toggle='tab'>
              <a href="#"><%= file.name %></a>
            </li>
        <% end %>
      </ul>
    </span>
    <div class="tab-content">
      <% @files.each_with_index do |file, index| %>
          <div role="tabpanel" class="tab-pane mu-input-panel <%= 'fade in active' if index == 0 %>" id="editor-file-<%= index %>">
            <%= form.editor "content[#{file.name}]", 'dynamic',
                            placeholder: t(:editor_placeholder),
                            class: 'form-control editor',
                            value: file.content,
                            data: {lines: 17} %>
          </div>
      <% end %>
    </div>

    <a class="editor-resize multiple-files" title="<%= t(:fullscreen) %> (F11)">
      <span class="fa-stack fa-lg">
        <i class="fa fa-square-o fa-stack-2x"></i>
        <i class="fa fa-expand fa-stack-1x"></i>
      </span>
    </a>

    <div class="mu-overlapped">
      <a class="editor-reset submission-reset"><%= restart_icon %></a>
    </div>

  </div>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
mumuki-laboratory-5.6.3 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.6.2 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.6.1 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.6.0 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.5.0 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.4.0 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.3.0 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.2.1 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.2.0 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.1.1 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.1.0 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.12 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.11 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.10 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.9 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.8 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.7 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.6 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.5 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb
mumuki-laboratory-5.0.4 app/views/layouts/exercise_inputs/editors/_multiple_files.html.erb