diff --git a/app/views/attachments/_from_libraries.html.erb b/app/views/attachments/_from_libraries.html.erb index a6fe347d..eb9126a0 100644 --- a/app/views/attachments/_from_libraries.html.erb +++ b/app/views/attachments/_from_libraries.html.erb @@ -1,6 +1,6 @@ -
+
  • - 上传附件 + 上传附件

    从我的电脑选择要上传的文档:按住CTRL可以上传多份文档

    上传出现错误,请检查您的网络环境,并刷新页面重新上传。
    diff --git a/app/views/libraries/_form.html.erb b/app/views/libraries/_form.html.erb index b3ed4721..e864f743 100644 --- a/app/views/libraries/_form.html.erb +++ b/app/views/libraries/_form.html.erb @@ -15,9 +15,9 @@
  • -
    +
    描述 -
    +
    <%= f.text_area :content %>
    @@ -25,7 +25,7 @@
    -
    +
    <%= render partial: 'attachments/from_libraries', locals: { container: @library } %>

    请上传附件

    diff --git a/app/views/libraries/index.html.erb b/app/views/libraries/index.html.erb index cc34dc81..8e52e85b 100644 --- a/app/views/libraries/index.html.erb +++ b/app/views/libraries/index.html.erb @@ -5,8 +5,8 @@ 教学案例 <%= link_to '新建', new_library_path, class: 'fr color-blue font-16 mt3' %>

    -
    -
      +
      +
      • <%= link_to '全部', libraries_path(search: params[:search]), remote: true %>
      • @@ -14,7 +14,7 @@ <%= link_to '我的', libraries_path(search: params[:search], type: 'mine'), remote: true %>
      -
      +
      <%= hidden_field_tag(:type, params[:type]) %> diff --git a/app/views/libraries/show.html.erb b/app/views/libraries/show.html.erb index f857a8ec..6889e49d 100644 --- a/app/views/libraries/show.html.erb +++ b/app/views/libraries/show.html.erb @@ -50,7 +50,7 @@ <%= link_to '编辑', edit_library_path(id: @library.id), class: 'white-btn edu-blueline-btn fr' %> <% end %>

      -
      +
      <%= link_to image_tag(url_to_avatar(@library.user), width: 50, height: 50, class: 'radius mr15 mt3'), user_path(@library.user) %>
    • <%= @library.user.show_real_name %>
    • diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 4aee8af6..443064c4 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -862,7 +862,7 @@ table.tBodyScroll thead th{ color: #fff!important; font-size: 12px!important; height: 20px; - line-height: 19px; + line-height: 19px!important; margin-top: 18px; margin-left: 15px; } @@ -3468,10 +3468,10 @@ line-height: 16px;display: inline-block;color: rgba(65, 140, 205, 1) !important; background: #fff;padding:30px;margin-bottom: 15px;display: flex; } .upload_Title{ - position: relative;margin-right: 30px;float: left;line-height: 35px;font-size: 16px; + position: relative;margin-right: 30px;float: left;line-height: 35px;font-size: 16px;width: 32px; } .upload_Title:before{ - position: absolute;left: -10px;top:2px;content: '*';color: #FE4F4C; + position: absolute;left: -10px;top:2px;content: '*';color: #FE4F4C;width: 32px; } .librariesField{ width: 100%;background: #F2F9FF;justify-content: center;align-items: center;display: -webkit-flex;text-align: center;