超管页面调整

dev_daiao
cxt 5 years ago
parent 669a0b2fe1
commit 47dcff71f5

@ -1,5 +1,5 @@
.diff{overflow:auto;}
.diff ul{background:#fff;overflow:auto;font-size:13px;list-style:none;margin:0;padding:0;display:table;width:100%;}
.diff ul{background:#fff;overflow:auto;font-size:13px;list-style:none;margin:0;padding:0 1rem;display:table;width:100%;}
.diff del, .diff ins{display:block;text-decoration:none;}
.diff li{padding:0; display:table-row;margin: 0;height:1em;}
.diff li.ins{background:#dfd; color:#080}

@ -1,13 +1,12 @@
<% if records.present? %>
<% records.each do |record| %>
<div class="record-item">
<div class="record-item-head font-16">
<div class="card mb-5">
<div class="card-header font-16">
<span><%= record.user.real_name %></span>
<span class="ml-3"><%= format_time record.created_at %></span>
</div>
<div class="dropdown-divider"></div>
<div class="record-item-info font-14">
<div class="mt-2 mb-3 ml-3 font-14">
<span>实训名称:<%= record.container&.shixun&.name %></span>
<% if record.container_type == "Challenge" %>
<span class="ml-3">/</span>
@ -15,7 +14,7 @@
<% end %>
</div>
<div class="diff mt-2 font-12">
<div class="diff font-12">
<ul>
<% record.diff_record_content&.content&.split("\n").each do |line| %>
<% if line =~ /^[\+]/ %>
@ -29,7 +28,6 @@
</ul>
</div>
</div>
<div class="dropdown-divider"></div>
<% end %>
<% else %>
<%= render 'admins/shared/no_data_for_table' %>

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save