Skip to content
代码片段 群组 项目
提交 7fd29a78 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
浏览文件

Commits page styled better now

上级 ece9f50f
No related branches found
No related tags found
无相关合并请求
...@@ -227,3 +227,19 @@ img.lil_av { ...@@ -227,3 +227,19 @@ img.lil_av {
margin-bottom:20px; margin-bottom:20px;
} }
.ui-box {
margin-bottom: 40px;
@include round-borders-all(4px);
border-color:#ddd;
h5 {
padding: 5px 10px;
background:#f5f5f5;
border-bottom: 1px solid #ccc;
}
li {
padding:10px;
}
}
- @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits| - @commits.group_by { |c| c.committed_date.to_date }.each do |day, commits|
%div{ :class => "commits-date ui-box ui-box-small ui-box-big" } %div.ui-box
.day-commits-table %h5= day.stamp("28 Aug, 2010")
%h5.underlined= day.stamp("28 Aug, 2010") %ul.unstyled= render commits
%br
%ul.unstyled= render commits
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册