论坛留言里发帖的分界
This commit is contained in:
parent
3dd3578bcb
commit
32510028aa
|
@ -1,5 +1,5 @@
|
||||||
<!-- added by fq -->
|
<!-- added by fq -->
|
||||||
<div id="add-memo" style="display:none;">
|
<div id="add-memo" class='lz' style="display: none; padding: 20px;">
|
||||||
<h3><%=l(:label_memo_new)%></h3>
|
<h3><%=l(:label_memo_new)%></h3>
|
||||||
<% if User.current.logged? %>
|
<% if User.current.logged? %>
|
||||||
<%= labelled_form_for(@memo, :url => forum_memos_path(@forum), :html => {:multipart => true} ) do |f| %>
|
<%= labelled_form_for(@memo, :url => forum_memos_path(@forum), :html => {:multipart => true} ) do |f| %>
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="actions" style="max-width:680px">
|
<div class="actions" style="max-width:680px">
|
||||||
<p><%= f.text_field :subject, :required => true, :size => 95 %></p>
|
<p><%= f.text_field :subject, :required => true%></p>
|
||||||
<p style="max-width:680px"><%= f.text_area :content, :required => true, :id => 'editor02' %></p>
|
<p style="max-width:680px"><%= f.text_area :content, :required => true, :id => 'editor02' %></p>
|
||||||
<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor02');</script>
|
<script type="text/javascript">var ckeditor=CKEDITOR.replace('editor02');</script>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
|
@ -22,7 +22,7 @@ function showAndScrollTo(id, focus) {
|
||||||
if (focus !== null) {
|
if (focus !== null) {
|
||||||
$('#'+focus).focus();
|
$('#'+focus).focus();
|
||||||
}
|
}
|
||||||
$('html, body').animate({scrollTop: $('#'+id).offset().top}, 100);
|
$('html, body').animate({scrollTop: $('#'+id).offset().top}, 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleRowGroup(el) {
|
function toggleRowGroup(el) {
|
||||||
|
|
|
@ -201,6 +201,14 @@ input[class='nyan-clean-gray']:active, .nyan-clean-gray:active {
|
||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
-box-sizing: border-box;
|
-box-sizing: border-box;
|
||||||
}*/
|
}*/
|
||||||
|
div.actions input[type="text"]{
|
||||||
|
padding: 3px;
|
||||||
|
width: 100%;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
-box-sizing: border-box;
|
||||||
|
|
||||||
|
}
|
||||||
.lz {
|
.lz {
|
||||||
position:relative;
|
position:relative;
|
||||||
min-height: 200px;
|
min-height: 200px;
|
||||||
|
|
Loading…
Reference in New Issue