1.ke回复框能自动增加高度;2.组织页面右上角链接修改
This commit is contained in:
parent
fa08935f68
commit
5df44ba44f
|
@ -43,16 +43,11 @@
|
||||||
<%#= link_to '首页', organization_path(@organization, :show_homepage => 1),:class=>"linkGrey8 f14" %>
|
<%#= link_to '首页', organization_path(@organization, :show_homepage => 1),:class=>"linkGrey8 f14" %>
|
||||||
</li>
|
</li>
|
||||||
<% if User.current.logged? %>
|
<% if User.current.logged? %>
|
||||||
<li class="navOrgMenu fr" id="orgSwitch" style="cursor:pointer;">
|
<li class="navOrgMenu fr" id="orgUser" style="cursor:pointer;">
|
||||||
<span class="orgMenuArrow" id="orgArrow">
|
<%= link_to image_tag(url_to_avatar(User.current),:width => '23',:height => '23'), user_path(User.current),:alt => '用户头像', :target => '_blank',:style=>'border-radius:3px; vertical-align:top; margin-top:3px; display:inline-block; margin-right:3px;' %>
|
||||||
<ul class="org_login_list" style="display:none;">
|
<%= link_to User.current, user_path(User.current),:id => "orgUserName",:class => 'fontGrey2 f14 mr5',:target => '_blank' %>
|
||||||
<li> <%= link_to "个人主页",user_path(User.current), :class => "menuGrey", :target => "_blank" %></li>
|
<%= link_to "退出",logout_organization_path(@organization), :class =>"menuGrey", :method => 'post', :rel => "nofollow" %>
|
||||||
<li><%= link_to "退出",logout_organization_path(@organization), :class =>"menuGrey", :method => 'post', :rel => "nofollow" %></li>
|
|
||||||
<!--<li><%#= link_to "退出",signout_path, :class =>"linkGrey8", :method => 'post', :rel => "nofollow" %></li>-->
|
|
||||||
</ul>
|
|
||||||
</span>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="navOrgMenu fr" id="orgUser" style="cursor:pointer;"><a href="javascript:void(0);" class="fontGrey2 f14" id="orgUserName"><%= User.current %></a></li>
|
|
||||||
<!--<li class="navOrgMenu fr"><%#=link_to User.current, user_path(User.current), :class => "linkGrey8 f14" %></li>-->
|
<!--<li class="navOrgMenu fr"><%#=link_to User.current, user_path(User.current), :class => "linkGrey8 f14" %></li>-->
|
||||||
<% else %>
|
<% else %>
|
||||||
<li class="navOrgMenu fr"><a href="<%= signin_path(:login=>true) %>" class="linkGrey8 f14">登录</a></li>
|
<li class="navOrgMenu fr"><a href="<%= signin_path(:login=>true) %>" class="linkGrey8 f14">登录</a></li>
|
||||||
|
|
|
@ -19,7 +19,7 @@ function sd_create_editor(params){
|
||||||
var edit = this.edit;
|
var edit = this.edit;
|
||||||
var body = edit.doc.body;
|
var body = edit.doc.body;
|
||||||
edit.iframe.height(paramsHeight);
|
edit.iframe.height(paramsHeight);
|
||||||
//this.resize(null, Math.max((params.kindutil.IE ? body.scrollHeight : (params.kindutil.GECKO ? body.offsetHeight+26:body.offsetHeight)) , paramsHeight));
|
this.resize(null, Math.max((params.kindutil.IE ? body.scrollHeight : (params.kindutil.GECKO ? body.offsetHeight+26:body.offsetHeight)) , paramsHeight));
|
||||||
},
|
},
|
||||||
afterBlur:function(){
|
afterBlur:function(){
|
||||||
//params.toolbar_container.hide();
|
//params.toolbar_container.hide();
|
||||||
|
|
|
@ -69,7 +69,7 @@ a.linkGrey8:hover {color:#585858;}
|
||||||
.orgMenuArrow2 {background:url(../images/nav_icon.png) -10px -132px no-repeat; position:relative; display:inline-block; width:20px; height:30px;}
|
.orgMenuArrow2 {background:url(../images/nav_icon.png) -10px -132px no-repeat; position:relative; display:inline-block; width:20px; height:30px;}
|
||||||
.org_login_list{ border:1px solid #eaeaea; background:#fff; padding-left:10px; padding-bottom:10px; padding-top:8px; width:60px; left:-53px;
|
.org_login_list{ border:1px solid #eaeaea; background:#fff; padding-left:10px; padding-bottom:10px; padding-top:8px; width:60px; left:-53px;
|
||||||
position:absolute; z-index:9999; line-height:2; box-shadow: 0px 2px 8px rgba(146, 153, 169, 0.5); margin-top: 30px;}
|
position:absolute; z-index:9999; line-height:2; box-shadow: 0px 2px 8px rgba(146, 153, 169, 0.5); margin-top: 30px;}
|
||||||
#orgUserName {max-width:50px; overflow:hidden; white-space: nowrap; text-overflow: ellipsis; display:inline-block;}
|
#orgUserName {display:inline-block;}
|
||||||
.org_login_list a {color:#269ac9;}
|
.org_login_list a {color:#269ac9;}
|
||||||
|
|
||||||
.orgListStatus {width:55px; float:left;}
|
.orgListStatus {width:55px; float:left;}
|
||||||
|
|
Loading…
Reference in New Issue