#93: update styles

This commit is contained in:
Vokhmin Alexey V 2013-04-10 13:15:53 +04:00
parent cb808207b4
commit 511ccbc61a
3 changed files with 31 additions and 26 deletions

View File

@ -2019,3 +2019,10 @@ article .activity .top {
.cm-s-default.md_and_cm p img { .cm-s-default.md_and_cm p img {
max-width: 800px; max-width: 800px;
} }
.tablesorter.project {
.th1 {
width: auto;
}
th { text-align: center; }
}

View File

@ -1514,32 +1514,30 @@ div.fork p {
/* Project main page */ /* Project main page */
table.tablesorter.project .th1 { .tablesorter.project {
.th1 {
width: 130px; width: 130px;
/*padding-left: 17px;*/ /*padding-left: 17px;*/
} }
.th2 {
table.tablesorter.project .th2 {
width: 110px; width: 110px;
/*padding-left: 17px;*/ /*padding-left: 17px;*/
} }
.th3 {
table.tablesorter.project .th3 {
width: 450px; width: 450px;
} }
.th4 {
table.tablesorter.project .th4 {
/*padding-left: 17px;*/ /*padding-left: 17px;*/
} }
.name {
table.tablesorter.project div.name {
float: left; float: left;
margin-top: 0px; margin-top: 0px;
} }
.pic {
table.tablesorter.project div.pic {
float: left; float: left;
padding-right: 5px; padding-right: 5px;
}
} }
a.files-see { a.files-see {

View File

@ -32,7 +32,7 @@
.name= link_to(entry.name, tree_path(@project, @treeish, entry_path), :class => 'files-see') .name= link_to(entry.name, tree_path(@project, @treeish, entry_path), :class => 'files-see')
= render 'commit_info', :commit => commit = render 'commit_info', :commit => commit
- commit = @project.tree_info(@project.repo.tree(@treeish), @treeish, nil).detect{ |e, c| e.name == '.gitmodules' && c }.last - commit = @project.tree_info(@project.repo.tree(@treeish), @treeish, nil).detect{ |e, c| e.name == '.gitmodules' && c }.try(:last)
- if commit - if commit
- Grit::Submodule.config(@project.repo).each do |name, options| - Grit::Submodule.config(@project.repo).each do |name, options|
- folder = options['path'].split('/').last - folder = options['path'].split('/').last