From c02657b432a8eab3febceca34ef7ac111e6db826 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Sat, 28 Dec 2019 18:17:11 +0800 Subject: [PATCH] test --- app/views/admins/laboratories/index.html.erb | 20 +------------------- app/views/admins/laboratories/index.js.erb | 2 +- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/app/views/admins/laboratories/index.html.erb b/app/views/admins/laboratories/index.html.erb index 397f50cbe..a463ab7a6 100644 --- a/app/views/admins/laboratories/index.html.erb +++ b/app/views/admins/laboratories/index.html.erb @@ -1,19 +1 @@ -<% define_admin_breadcrumbs do %> - <% add_admin_breadcrumb('云上实验室') %> -<% end %> - -
- <%= form_tag(admins_laboratories_path(unsafe_params), method: :get, class: 'form-inline search-form flex-1', remote: true) do %> - <%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-6 col-md-4 ml-3', placeholder: '学校名称/二级域名前缀检索') %> - <%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %> - <% end %> - - <%= javascript_void_link '新建', class: 'btn btn-primary', data: { toggle: 'modal', target: '.admin-create-laboratory-modal' } %> -
- -
- <%= render(partial: 'admins/laboratories/shared/list', locals: { laboratories: @laboratories }) %> -
- -<%= render 'admins/laboratories/shared/create_laboratory_modal' %> -<%= render 'admins/laboratories/shared/add_laboratory_user_modal' %> \ No newline at end of file +666git \ No newline at end of file diff --git a/app/views/admins/laboratories/index.js.erb b/app/views/admins/laboratories/index.js.erb index dc17c6a6d..8853508e8 100644 --- a/app/views/admins/laboratories/index.js.erb +++ b/app/views/admins/laboratories/index.js.erb @@ -1 +1 @@ -$('.laboratory-list-container').html("<%= j(render partial: 'admins/laboratories/shared/list', locals: { laboratories: @laboratories }) %>"); \ No newline at end of file +555 \ No newline at end of file