Fix file list style in repository viewer

This commit is contained in:
takezoe
2014-05-11 02:55:43 +09:00
parent 6ecabe4588
commit 4f4bc0321b
2 changed files with 59 additions and 61 deletions

View File

@@ -27,8 +27,7 @@
<a href="@url(repository)/new/@encodeRefName(branch)/@pathList.mkString("/")"><img src="@assets/common/images/newfile.png"/></a> <a href="@url(repository)/new/@encodeRefName(branch)/@pathList.mkString("/")"><img src="@assets/common/images/newfile.png"/></a>
} }
</div> </div>
<div class="box"> <table class="table table-file-list">
<table class="table table-file-list" style="border: 1px solid silver;">
<tr> <tr>
<th colspan="4" style="font-weight: normal;"> <th colspan="4" style="font-weight: normal;">
<a href="@url(repository)/commit/@latestCommit.id" class="commit-message">@link(latestCommit.summary, repository)</a> <a href="@url(repository)/commit/@latestCommit.id" class="commit-message">@link(latestCommit.summary, repository)</a>
@@ -90,8 +89,6 @@
</tr> </tr>
} }
</table> </table>
</div>
@readme.map { case(filePath, content) => @readme.map { case(filePath, content) =>
<div id="readme" class="box"> <div id="readme" class="box">
<div class="box-header">@filePath.reverse.head</div> <div class="box-header">@filePath.reverse.head</div>

View File

@@ -504,6 +504,7 @@ a.header-link:hover {
table.table-file-list { table.table-file-list {
margin-bottom: 0px; margin-bottom: 0px;
border: 1px solid #ddd;
} }
table.table-file-list th, table.table-file-list td { table.table-file-list th, table.table-file-list td {