Simplify file list table

This commit is contained in:
Naoki Takezoe
2016-03-16 02:12:23 +09:00
parent 5750286b5d
commit da62f6f8fb
2 changed files with 6 additions and 4 deletions

View File

@@ -88,7 +88,8 @@
} }
} }
</div> </div>
<table class="table table-file-list"> <table class="table table-hover">
@*
<tr> <tr>
<th colspan="4" style="font-weight: normal; border: none;"> <th colspan="4" style="font-weight: normal; border: none;">
<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>
@@ -98,8 +99,9 @@
} }
</th> </th>
</tr> </tr>
*@
<tr> <tr>
<td colspan="4" class="latest-commit"> <th colspan="4" class="latest-commit">
<div> <div>
<div class="pull-right align-right monospace" style="line-height: 18px;"> <div class="pull-right align-right monospace" style="line-height: 18px;">
<a href="@url(repository)/commit/@latestCommit.id" class="commit-id"><span class="muted">latest commit</span> @latestCommit.id.substring(0, 10)</a> <a href="@url(repository)/commit/@latestCommit.id" class="commit-id"><span class="muted">latest commit</span> @latestCommit.id.substring(0, 10)</a>
@@ -119,7 +121,7 @@
} }
</div> </div>
</div> </div>
</td> </th>
</tr> </tr>
@if(pathList.size > 0){ @if(pathList.size > 0){
<tr> <tr>

View File

@@ -255,7 +255,7 @@ span.count-right {
} }
table.table th { table.table th {
background-color: #d9edf7; background-color: #f5f5f5;
} }
div.block-header { div.block-header {