修改问题列表样式

This commit is contained in:
nieguanghui 2013-08-01 17:10:47 +08:00
parent bf1f9b8e19
commit caa04e68e5
5 changed files with 24 additions and 12 deletions

View File

@ -78,6 +78,7 @@
<li id="issue-<%= issue.id %>" class="hascontextmenu <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> <li id="issue-<%= issue.id %>" class="hascontextmenu <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<% column_content = ( query.inline_columns.map {|column| "<li class=\"#{column.css_classes}\">#{column_content(column, issue)}</li>"}) %> <% column_content = ( query.inline_columns.map {|column| "<li class=\"#{column.css_classes}\">#{column_content(column, issue)}</li>"}) %>
<%= image_tag("/images/issues.png", :class => "img-tag-issues") %>
<ul class="issue_list"> <ul class="issue_list">
<%= raw column_content[0] %> <%= raw column_content[0] %>
<%= raw column_content[4] %> <%= raw column_content[4] %>

View File

@ -137,9 +137,7 @@
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : '' %> <%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : '' %>
<% end %> <% end %>
<% end %> <% end %>
</p> <%= user.changesets.count == 0 ? '' : ",#{l(:label_total_commit, :total_commit => user.changesets.count)}" %>
<p>
<%= user.changesets.count == 0 ? '' : "#{l(:label_total_commit, :total_commit => user.changesets.count)}" %> | managed 7 projects | Most experience in c++
</p> </p>
</div> </div>
<% end -%> <% end -%>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
public/images/issues.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -1103,7 +1103,9 @@ a.project {
float: left; float: left;
margin-top: 0px; margin-top: 0px;
width: 908px; width: 908px;
height: 148px; min-height: 120px;
height: auto;
margin-bottom: 5px;
} }
a.root { a.root {
@ -1118,7 +1120,7 @@ a.root {
margin-right: auto; margin-right: auto;
margin-bottom: 10px; margin-bottom: 10px;
width: 908px; width: 908px;
height: 250px; height: auto;
padding-top: 10px; padding-top: 10px;
padding-left: 10px; padding-left: 10px;
padding-bottom: 10px; padding-bottom: 10px;
@ -1191,9 +1193,11 @@ a.img-tag3{
} }
.add-info { .add-info {
margin-top: 160px; float: left;
margin-top: 0px;
height: 20px; height: 20px;
width: 908px; width: 908px;
margin-bottom: 5px;
} }
.main-language { .main-language {
float: left; float: left;
@ -1247,8 +1251,8 @@ a.tag {
div.well { div.well {
color: black; color: black;
min-height: 20px; min-height: 20px;
height: 110px; height: auto;
padding: 19px; padding: 19px 19px 6px 19px;
margin-bottom: 20px; margin-bottom: 20px;
background-color: #f5f5f5; background-color: #f5f5f5;
border: 1px solid #eee; border: 1px solid #eee;
@ -1400,6 +1404,7 @@ div.issue-note .description {
*/ */
div.autoscroll ul.issue_list { div.autoscroll ul.issue_list {
margin-left: 30px;
} }
div.autoscroll ul { div.autoscroll ul {
@ -1415,9 +1420,10 @@ div.autoscroll li.hascontextmenu{
position: relative; position: relative;
display: block; display: block;
margin-bottom: -1px; margin-bottom: -1px;
margin-left: 10px;
padding: 8px 10px 10px 10px;/*by young*/ padding: 8px 10px 10px 10px;/*by young*/
border: 1px solid rgb(229,229,229); border: 1px solid rgb(229,229,229);
width: 650px;/*by young*/ width: 600px;/*by young*/
} }
div.autoscroll li.id { div.autoscroll li.id {
@ -1434,12 +1440,12 @@ div.autoscroll li.id a {
div.autoscroll li.subject { div.autoscroll li.subject {
margin:0px 60px 0px 0px; margin:0px 60px 0px 0px;
font-size: 15px; font-size: small;
line-height: 1.3; line-height: 1.3;
word-wrap: break-word; word-wrap: break-word;
} }
div.autoscroll li.subject a{ div.autoscroll li.subject a{
color: rgb(0, 0, 0); color: rgb(51, 51, 51);
} }
div.autoscroll ul.list-group-item-meta{ div.autoscroll ul.list-group-item-meta{
font-size: 11px; font-size: 11px;
@ -1454,10 +1460,17 @@ div.autoscroll ul.list-group-item-meta li {
} }
div.autoscroll li.tracker, div.autoscroll li.status, div.autoscroll li.priority{ div.autoscroll li.tracker, div.autoscroll li.status, div.autoscroll li.priority{
color: rgb(17, 102, 153); color: rgb(51, 51, 51);
font: 10px/1.4 Helvetica,arial,freesans,clean,sans-serif;
} }
li.issue img.img-tag-issues {
float: left;
height: 24px;
width: 24px;
}
/* /*
*/ */