Tweak some styles in Wiki

This commit is contained in:
Naoki Takezoe
2016-04-03 15:55:30 +09:00
parent c851b7582f
commit 31118ac285
2 changed files with 5 additions and 5 deletions

View File

@@ -12,7 +12,7 @@
}
<a class="btn btn-small btn-success" href="@url(repository)/wiki/_new">New Page</a>
</div>
<h1><span class="muted">Editing</span> @if(pageName.isEmpty){New Page} else {@pageName}</h1>
<h1 class="wiki-title"><span class="muted">Editing</span> @if(pageName.isEmpty){New Page} else {@pageName}</h1>
<div style="overflow: hidden;">
<form action="@url(repository)/wiki/@if(page.isEmpty){_new} else {_edit}" method="POST" validate="true">
<span id="error-pageName" class="error"></span>

View File

@@ -24,7 +24,7 @@
<span class="muted">History for</span> @pageName.get
}
</h1>
<table class="table table-bordered fill-width pull-left">
<table class="table table-bordered">
<thead>
<tr>
<th colspan="3">
@@ -38,9 +38,9 @@
<tbody>
@commits.map { commit =>
<tr>
<td width="0%"><input type="checkbox" name="commitId" value="@commit.id"></td>
<td>@avatar(commit, 20)&nbsp;@user(commit.authorName, commit.authorEmailAddress)</td>
<td width="80%">
<td style="width: 32px; text-align: center ;"><input type="checkbox" name="commitId" value="@commit.id"></td>
<td style="width: 200px;">@avatar(commit, 20)&nbsp;@user(commit.authorName, commit.authorEmailAddress)</td>
<td>
<span class="muted">@helper.html.datetimeago(commit.authorTime):</span>&nbsp;@commit.shortMessage
</td>
</tr>