Sha256: 798636235a39035ab96ba8a01001dc96fec2a7f7770b1bb21eaadf551f0add8b
Contents?: true
Size: 1.85 KB
Versions: 20
Compression:
Stored size: 1.85 KB
Contents
<%= hidden_field_tag :console_endpoint, exercise_tries_path(@exercise) %> <%= hidden_field_tag :historical_queries, @assignment&.queries_with_results.to_json %> <% if @exercise.extra_visible? %> <ul class="nav nav-tabs" role="tablist"> <%= console_tab %> <% if @exercise.extra_visible? %> <%= extra_code_tab %> <% end %> </ul> <% end %> <div class="tab-content"> <div role="tabpanel" class="tab-pane mu-input-panel fade in active <%= pending_messages_filter(@assignment) %>" id="console"> <% if @assignment&.pending_messages? %> <span class="pending-messages-text"> <%= t :pending_messages_explanation %> <a href="javascript:{}" onclick="mumuki.Chat.submitMessagesForm('<%= messages_url(@exercise) %>', '<%= read_messages_path(@exercise) %>')" class="<%= hidden_pending(@assignment) %>" data-waiting="<%= t(:sending_solution) %>"> <%= t :get_messages %> </a> </span> <% end %> <div class="console"> </div> <div class="mu-overlapped"> <a class="console-reset submission-reset"><%= restart_icon %></a> </div> </div> <div role="tabpanel" class="tab-pane mu-input-panel fade" id="visible-extra"> <%= @exercise.extra_preview_html(current_user) %> </div> <div role="tabpanel" class="tab-pane mu-input-panel fade" id="messages"> <%= render partial: 'layouts/messages', locals: {messages: @assignment.messages} if @assignment %> </div> </div> <% content_for :submission_results do %> <% if current_user? %> <div class="row"> <div class="col-md-12 submission-results"> <% if @assignment&.passed? %> <%= render partial: 'exercise_solutions/results', locals: {assignment: @assignment, guide_finished_by_solution: false} %> <% end %> </div> </div> <% end %> <% end %>
Version data entries
20 entries across 20 versions & 1 rubygems