样式对齐问题
This commit is contained in:
parent
5d880db18e
commit
e05e6ba53d
|
@ -36,7 +36,7 @@
|
||||||
$('#doc_title_hint').hide();
|
$('#doc_title_hint').hide();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<div class="resources" nhname="new_topic_form">
|
<div class="resources" style="margin-top:<%= User.current.logged? ? '0px':'10px' %>;" nhname="new_topic_form">
|
||||||
<%= form_tag organization_org_document_comments_path(:organization_id => @organization.id), :id => 'new_org_document_form' do |f| %>
|
<%= form_tag organization_org_document_comments_path(:organization_id => @organization.id), :id => 'new_org_document_form' do |f| %>
|
||||||
<div>
|
<div>
|
||||||
<input class="postDetailInput fl" maxlength="250" name="org_document_comment[title]" id="document_title" style="resize:none;" onfocus = "$('#org_document_editor').show();" placeholder="请输入文章标题" />
|
<input class="postDetailInput fl" maxlength="250" name="org_document_comment[title]" id="document_title" style="resize:none;" onfocus = "$('#org_document_editor').show();" placeholder="请输入文章标题" />
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
showNormalImage('message_description_<%= @document.id %>');
|
showNormalImage('message_description_<%= @document.id %>');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div class="resources" id="organization_document_<%= @document.id %>">
|
<div class="resources" style="margin-top:<%= User.current.logged? ? '0px':'10px' %>;" id="organization_document_<%= @document.id %>">
|
||||||
<div class="homepagePostBrief">
|
<div class="homepagePostBrief">
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<%= link_to image_tag(url_to_avatar(User.find(@document.creator_id)), :width => 45, :heigth => 45), user_url_in_org(@document.creator_id) %>
|
<%= link_to image_tag(url_to_avatar(User.find(@document.creator_id)), :width => 45, :heigth => 45), user_url_in_org(@document.creator_id) %>
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
$('#doc_title_hint').hide();
|
$('#doc_title_hint').hide();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<div class="resources" nhname="new_topic_form">
|
<div class="resources" style="margin-top:<%= User.current.logged? ? '0px':'10px' %>;" nhname="new_topic_form">
|
||||||
<%= form_tag org_subfield_sub_domain_sub_document_comments_path(:org_subfield_id => @org_subfield.id, :sub_domain_id => @subdomain.id), :id => 'new_sub_document_form' do |f| %>
|
<%= form_tag org_subfield_sub_domain_sub_document_comments_path(:org_subfield_id => @org_subfield.id, :sub_domain_id => @subdomain.id), :id => 'new_sub_document_form' do |f| %>
|
||||||
<div>
|
<div>
|
||||||
<input class="postDetailInput fl" maxlength="250" name="sub_document_comment[title]" id="document_title" style="resize:none;" onfocus = "$('#sub_document_editor').show();" placeholder="请输入文章标题" />
|
<input class="postDetailInput fl" maxlength="250" name="sub_document_comment[title]" id="document_title" style="resize:none;" onfocus = "$('#sub_document_editor').show();" placeholder="请输入文章标题" />
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
showNormalImage('message_description_<%= @document.id %>');
|
showNormalImage('message_description_<%= @document.id %>');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div class="resources" id="organization_document_<%= @document.id %>">
|
<div class="resources" style="margin-top:<%= User.current.logged? ? '0px':'10px' %>;" id="organization_document_<%= @document.id %>">
|
||||||
<div class="homepagePostBrief">
|
<div class="homepagePostBrief">
|
||||||
<div class="homepagePostPortrait">
|
<div class="homepagePostPortrait">
|
||||||
<%= link_to image_tag(url_to_avatar(User.find(@document.creator_id)), :width => 45, :heigth => 45), user_url_in_org(@document.creator_id) %>
|
<%= link_to image_tag(url_to_avatar(User.find(@document.creator_id)), :width => 45, :heigth => 45), user_url_in_org(@document.creator_id) %>
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<%# end %>
|
<%# end %>
|
||||||
<% if User.current.logged?%>
|
<%# if User.current.logged?%>
|
||||||
<div class="talkWrapMsg" nhname="about_talk_reply">
|
<div class="talkWrapMsg" nhname="about_talk_reply">
|
||||||
<em class="talkWrapArrow"></em>
|
<em class="talkWrapArrow"></em>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
|
@ -151,7 +151,7 @@
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<%# end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue