bugs fixed for plugins. .. and also css fixed
This commit is contained in:
1 parent
7d288b4160
commit
e3d9966f76
49 files changed
+128
-128
No files matched your search
Vendored
+1
-1
@@ -31,7 +31,7 @@ orbitDesktop.prototype.initializePersonalLab = function(target,url,cache){ // th
|
||||
}
|
||||
}
|
||||
this.initializePersonalLab.labDelete = function(data,dom){
|
||||
var parent = dom.parent().parent();
|
||||
var parent = dom.parent().parent().parent();
|
||||
if(data.success){
|
||||
parent.hide("slide",function(){parent.remove();});
|
||||
o.notify(data.msg,"success");
|
||||
|
||||
Vendored
+12
-12
@@ -1,31 +1,31 @@
|
||||
/* Books */
|
||||
[page-name="books_list"] .list_t_item .inner {
|
||||
[page-name="lab_list"] .list_t_item .inner {
|
||||
padding-left: 30px; }
|
||||
[page-name="books_list"] .list_item_action {
|
||||
[page-name="lab_list"] .list_item_action {
|
||||
font-size: 12px;
|
||||
float: left;
|
||||
margin-left: -30px; }
|
||||
[page-name="books_list"] .list_item_action a {
|
||||
[page-name="lab_list"] .list_item_action a {
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
margin: 1px 1px 6px 1px; }
|
||||
[page-name="books_list"] .list_item_action .icon-star-empty {
|
||||
[page-name="lab_list"] .list_item_action .icon-star-empty {
|
||||
color: #999;
|
||||
font-size: 20px; }
|
||||
[page-name="books_list"] .list_item_action .icon-star {
|
||||
[page-name="lab_list"] .list_item_action .icon-star {
|
||||
color: #faa732;
|
||||
font-size: 20px; }
|
||||
[page-name="books_list"] .list_item_action .icon-check-empty {
|
||||
[page-name="lab_list"] .list_item_action .icon-check-empty {
|
||||
color: #999;
|
||||
font-size: 20px; }
|
||||
[page-name="books_list"] .list_item_action .icon-check {
|
||||
[page-name="lab_list"] .list_item_action .icon-check {
|
||||
color: #333;
|
||||
font-size: 20px; }
|
||||
[page-name="books_list"] .file_view .list_t_des {
|
||||
[page-name="lab_list"] .file_view .list_t_des {
|
||||
overflow: hidden; }
|
||||
[page-name="books_list"] .file_view .file {
|
||||
[page-name="lab_list"] .file_view .file {
|
||||
float: left;
|
||||
width: 120px;
|
||||
height: 50px;
|
||||
@@ -42,15 +42,15 @@
|
||||
/* ie */
|
||||
box-sizing: border-box;
|
||||
/* css3 */ }
|
||||
[page-name="books_list"] .file_view .file:hover {
|
||||
[page-name="lab_list"] .file_view .file:hover {
|
||||
background-color: #f7f7f7; }
|
||||
[page-name="books_list"] .file_view .file img {
|
||||
[page-name="lab_list"] .file_view .file img {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
position: absolute;
|
||||
left: 6px;
|
||||
top: 6px; }
|
||||
[page-name="books_list"] .file_view .file .filetitle {
|
||||
[page-name="lab_list"] .file_view .file .filetitle {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 38px;
|
||||
|
||||
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
||||
@import "desktop-helper";
|
||||
|
||||
/* Books */
|
||||
[page-name="books_list"] {
|
||||
[page-name="lab_list"] {
|
||||
.list_t_item .inner { padding-left: 30px; }
|
||||
.list_item_action {
|
||||
font-size: 12px;
|
||||
|
||||
+1
-1
@@ -50,7 +50,7 @@ class Panel::PersonalLab::Desktop::PersonalLabsController < ApplicationControlle
|
||||
|
||||
def update
|
||||
params[:lab][:create_user_id] = current_user.id
|
||||
@lab = Lab.new(params[:lab])
|
||||
@lab = Lab.find(params[:id])
|
||||
if @lab.update_attributes(params[:lab])
|
||||
render json: {success: true, msg: t('create_success')}.to_json
|
||||
else
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
<%= form_for @lab, html: { multipart: true, "form-type"=>"ajax_form", "callback-method"=>"formCallback"}, url: panel_personal_lab_desktop_personal_labs_path(@lab) do |f| %>
|
||||
<%= form_for @lab, html: { multipart: true, "form-type"=>"ajax_form", "callback-method"=>"formCallback"}, url: panel_personal_lab_desktop_personal_lab_path(@lab) do |f| %>
|
||||
<%= render partial: 'form', locals: {:f => f} %>
|
||||
<%end%>
|
||||
+1
-1
@@ -76,7 +76,7 @@
|
||||
<div class="sdm_t hh1"><span class="icon-question-sign"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overview" page-name="journal_p_list" content-layout="datalist" base-width="300" per-column="<%= @per_column.to_s %>" pagination-var="view=<%= @view_by %>&page" >
|
||||
<div class="overview" page-name="lab_list" content-layout="datalist" base-width="300" per-column="<%= @per_column.to_s %>" pagination-var="view=<%= @view_by %>&page" >
|
||||
<% @labs.each do |w| %>
|
||||
<%= publication_record w, @view_by%>
|
||||
<% end %>
|
||||
|
||||
Reference in new issue
Block a user