2015-04-30 21:41:52 +00:00
|
|
|
<h1>{{ user.login }}</h1>
|
|
|
|
|
|
|
|
<a href="/">Back</a>
|
|
|
|
|
2015-05-18 22:47:13 +00:00
|
|
|
|
|
|
|
<input type="text" ng-model="newAgent.address" />
|
|
|
|
<button ng-click="onAdd(newAgent)">Add</button>
|
|
|
|
|
|
|
|
<table border="1">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Address</th>
|
|
|
|
<th>Token</th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="agent in agents | orderBy:'-address'">
|
|
|
|
<td>{{ agent.address }}</td>
|
|
|
|
<td>{{ agent.token }}</td>
|
|
|
|
<td><button ng-click="onDelete(agent)">Delete</button>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-04-30 21:41:52 +00:00
|
|
|
|
|
|
|
<pre>
|
2015-05-06 02:46:26 +00:00
|
|
|
docker run -d drone/drone-agent --addr={{ addr }} --token={{ token }}
|
2015-05-18 22:47:13 +00:00
|
|
|
</pre>
|