<%= render :partial => 'issues/attributes' %>
diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb
index a12d6d335..3ae8cd368 100644
--- a/app/views/issues/new.html.erb
+++ b/app/views/issues/new.html.erb
@@ -1,4 +1,4 @@
-
+
问题跟踪
<%= call_hook(:view_issues_new_top, {:issue => @issue}) %>
@@ -9,46 +9,39 @@
<%= hidden_field_tag 'copy_from', params[:copy_from] if params[:copy_from] %>
<%= render :partial => 'issues/form', :locals => {:f => f} %>
-
- <% if @copy_from && @copy_from.attachments.any? %>
-
-
-
-
- <% end %>
- <% if @copy_from && !@copy_from.leaf? %>
-
-
- <%= check_box_tag 'copy_subtasks', '1', @copy_subtasks %>
-
- <% end %>
-
-
-
<%= render :partial => 'attachments/form', :locals => {:container => @issue} %>
-
+
+
<% if @issue.safe_attribute? 'watcher_user_ids' -%>
-
-
-
- <%= watchers_checkboxes(@issue, @available_watchers) %>
-
-
- <%= link_to l(:label_search_for_watchers),
+
+
+
+
+ <%= link_to "",
{:controller => 'watchers', :action => 'new', :project_id => @issue.project},
:remote => true,
- :method => 'get' %>
-
-
- <% end %>
-
-
+ :method => 'get',
+ :class=>"pic_sch mt5 ml5" %>
+
+
+ <%= javascript_tag "observeSearchfield('user_search', 'users_for_watcher', '#{ escape_javascript watchers_autocomplete_for_user_path(:user=> @available_watchers, :format => 'js',:flag => 'ture') }')" %>
+
+
+ <%= watchers_checkboxes(@issue, @available_watchers) %>
+
+
+
+
+
+
+
+
+
+ <% end %>
+
<%= l(:button_create)%>
- <%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form','preview',{:class => "ButtonColor m3p10"}%>
-
+ <%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form','preview',{:class => "blue_btn fl ml10"}%>
+
<%= javascript_tag "$('#issue_subject').focus();" %>
<% end %>
diff --git a/public/stylesheets/jstoolbar.css b/public/stylesheets/jstoolbar.css
index a4af73278..6fb07f974 100644
--- a/public/stylesheets/jstoolbar.css
+++ b/public/stylesheets/jstoolbar.css
@@ -1,8 +1,10 @@
.jstEditor {
+
padding-left: 0px;
}
.jstEditor textarea, .jstEditor iframe {
- margin: 0 !important;
+ margin: 0 ;
+ margin-left: 80px;
}
.jstHandle {
diff --git a/public/stylesheets/project.css b/public/stylesheets/project.css
index 556717e9e..4633c95f7 100644
--- a/public/stylesheets/project.css
+++ b/public/stylesheets/project.css
@@ -166,16 +166,7 @@ a:hover.upload_btn_grey{background:#8a8a8a;}
a.link_file{ background:url(../images/pic_file.png) 0 2px no-repeat; padding-left:20px; color:#64bdd9; }
a:hover.link_file{ background:url(../images/pic_file.png) 0 -25px no-repeat; color:#3ca5c6;}
.r_txt_tit{width:510px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;color:#15bccf; float:left; color:#09658c; font-size:14px;}
-/* 新建问题 */
-.newpro_box{ color:#6d6d6d;}
-.newpro_box02{ color:#6d6d6d; margin-left:30px; margin-bottom:10px; }
-.newpro_box ul li{ }
-.newpro_box input{ height:26px; float:left; margin-bottom:10px;}
-.newpro_box textarea{ height:150px; float:left; margin-bottom:10px;}
-.newpro_box select{ height:26px; float:left; margin-bottom:10px;}
-.label{ width:80px; text-align:right; font-size:14px; display:block; float:left;}
-.label02{ width:110px; text-align:right; font-size:14px; display:block; float:left;}
-.collapsible{ border-left:none;border-right:none;border-bottom:none; border-top:1px solid #e4e4e4; padding-left:30px; padding-top:10px; }
+
/* 弹框 新样式还没设计出来,暂时用的课程那边的样式 */
.alert .close{width:26px;height:26px;overflow:hidden;position:absolute;top:-10px;right:-502px;background:url(images/close.png) no-repeat;cursor:pointer;}
@@ -338,6 +329,11 @@ a:hover.st_add{ color:#ff8e15;}
padding-bottom: 3px;
}
+/* 新建问题 */
+.label{ width:80px; text-align:right; font-size:14px; display:block; float:left;}
+.label02{ width:110px; text-align:right; font-size:14px; display:block; float:left;}
+.collapsible{ border-left:none;border-right:none;border-bottom:none; border-top:1px solid #e4e4e4; padding-top:10px; }
+
/*add by sw*/
blockquote {
border-left: 1px solid #e0e0e0;