修改了项目里面各个子页面的样式

This commit is contained in:
huangjingquan 2013-11-08 20:09:21 +08:00
parent 56cbca3ce8
commit e8153c86ad
6 changed files with 13 additions and 11 deletions

View File

@ -63,7 +63,6 @@
</table></td>
</tr>
</table>
<% end %>
<div class="pagination">

View File

@ -1,12 +1,11 @@
<h3><!-- %=l(:label_attachment_plural)%></h3 -->
<!-- <h3> --><!-- %=l(:label_attachment_plural)%></h3 -->
<div class="contextual" style="float:left;padding-top: 5px;">
<div class="content-title-top">
<% if @project.project_type == 1 %>
<% if User.current.member_of?(@project) %>
<!-- %= link_to(l(:label_file_upload), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) % -->
<%= link_to(l(:label_file_upload), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) %>
<% end %>
</div>
<% else %>
<%= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>
<!-- %= link_to(l(:label_attachment_new), new_project_file_path(@project), :class => 'icon icon-add') if User.current.member_of?(@project) % -->

View File

@ -1,7 +1,7 @@
<!--add by huang-->
<h3 style="padding-top:0px;"><!--%= l(:field_issue) %-->
<!-- <h3 style="padding-top:0px;"> --><!--%= l(:field_issue) %-->
<!-- div style="padding-bottom: 10px;padding-right:440px;float:right;font-size:11px;" -->
<div style="padding-bottom: 10px;font-size:11px;">
<div class="content-title-top">
<%= link_to l(:label_issue_new), { :controller => 'issues', :action => 'new', :copy_from => nil }, :param => :project_id, :caption => :label_issue_new,
:html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) }, :class => 'icon icon-add' %>
</div>

View File

@ -1,5 +1,5 @@
<!-- added by huang -->
<div style="padding-bottom: 10px">
<div class="content-title-top">
<% if @project.project_type == 1%>
<%= link_to(l(:label_news_notice),
new_project_news_path(@project),
@ -10,7 +10,6 @@
new_project_news_path(@project),
:class => 'icon icon-add',
:onclick => 'showAndScrollTo("add-news", "news_title"); return false;') if @project && User.current.allowed_to?(:manage_news, @project) %>
<% end %>
</div>

View File

@ -1,9 +1,9 @@
<!--modified by young-->
<div class="contextual" style="padding-right:440px;margin-top:0px;">
<div class="content-title-top">
<%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %>
</div>
<h3 style="padding-top:0px;padding-bottom: 0px;"><!-- %=l(:label_roadmap)% --></h3>
<!-- <h3 style="padding-top:0px;padding-bottom: 0px;"><%= l(:label_roadmap) %></h3> -->
<!--check boxes-->
<fieldset id="filters" class="collapsible collapsed" style="background-color: #FFF">
<legend><%= l(:label_version_display_settings)%></legend>

View File

@ -11,6 +11,11 @@ h4 {border-bottom: 1px dotted #bbb;}
/*new by huang*/
/**/
.content-title-top{
padding-bottom: 15px;
padding-left: 5px;
}
.content-text-list{
border-bottom: 1px dashed rgb(204, 204, 204);
width: 580px;