add a loading indicator to history and pull requests

This commit is contained in:
Sven Fuchs 2012-09-14 18:52:28 +02:00
parent 0d298bdc55
commit bb59aa0b9d
2 changed files with 48 additions and 44 deletions

View File

@ -1,4 +1,5 @@
<table id="builds" class="list"> {{#if builds.isLoaded}}
<table id="builds" class="list">
<thead> <thead>
<tr> <tr>
<th>{{t builds.name}}</th> <th>{{t builds.name}}</th>
@ -36,10 +37,13 @@
{{/view}} {{/view}}
{{/each}} {{/each}}
</tbody> </tbody>
</table> </table>
<p> <p>
<button {{action showMore on="click" target="this" isVisibleBinding="hasMore"}}> <button {{action showMore on="click" target="this" isVisibleBinding="hasMore"}}>
{{t builds.show_more}} {{t builds.show_more}}
</button> </button>
</p> </p>
{{else}}
<div class="loading"><span>Loading</span></div>
{{/if}}

File diff suppressed because one or more lines are too long