Nicer actions on list items

This commit is contained in:
Björn Dahlgren
2014-07-26 11:04:36 +02:00
parent 788a7a2189
commit 38c93ae806
5 changed files with 11 additions and 5 deletions

View File

@ -1,8 +1,8 @@
<td>
<td style="width: 100%;">
<a href='/api/missions/<%-name%>'><%-name%></a>
</td>
<td>
<button type="button" class="btn btn-danger btn-xs delete">
<span class="glyphicon glyphicon-remove"></span> Delete
<span class="glyphicon glyphicon-trash"></span> Delete
</button>
</td>

View File

@ -2,6 +2,7 @@
<thead>
<tr>
<th>Mod</th>
<th></th>
</tr>
</thead>

View File

@ -1,5 +1,7 @@
<td>
<td style="width: 100%;">
<a href='#mods/<%-name%>'><%-name%></a>
</td>
<td>
<% if (outdated) { %>
<a class="btn btn-primary btn-xs update pull-right ladda-button" data-style="expand-left">
<span class="glyphicon glyphicon-save"></span>

View File

@ -2,6 +2,7 @@
<thead>
<tr>
<th>Server</th>
<th></th>
</tr>
</thead>

View File

@ -1,6 +1,8 @@
<td>
<td style="width: 100%;">
<a href='#servers/<%-id%>'><%-title%></a>
</td>
<td>
<button type="button" class="btn btn-danger btn-xs delete pull-right">
<span class="glyphicon glyphicon-remove"></span> Delete
<span class="glyphicon glyphicon-trash"></span> Delete
</button>
</td>