Small template fix

This commit is contained in:
Naoki Takezoe
2017-06-29 19:00:14 +09:00
parent 5346db93e1
commit 0b44c794f9
2 changed files with 12 additions and 10 deletions

View File

@@ -20,13 +20,15 @@
<input type="hidden" name="path" id="path" value="@pathList.mkString("/")"/> <input type="hidden" name="path" id="path" value="@pathList.mkString("/")"/>
<input type="hidden" name="commit" id="commit" value="@commit"/> <input type="hidden" name="commit" id="commit" value="@commit"/>
</div> </div>
<table class="table table-bordered"> <table class="table table-bordered diff-outside">
<tr>
<th style="font-weight: normal;" class="box-header"> <th style="font-weight: normal;" class="box-header">
@fileName <span class="monospace">@fileName</span>
<div class="pull-right align-right"> <div class="pull-right align-right">
<a href="@helpers.url(repository)/blob/@branch/@{(pathList ::: List(fileName)).mkString("/")}" class="btn btn-small">View</a> <a href="@helpers.url(repository)/blob/@branch/@{(pathList ::: List(fileName)).mkString("/")}" class="btn btn-default btn-sm">View</a>
</div> </div>
</th> </th>
</tr>
<tr> <tr>
<td> <td>
<div id="diffText"></div> <div id="diffText"></div>