mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
Added module for container logs.
This commit is contained in:
parent
ca9355f617
commit
b70b3f3100
8 changed files with 110 additions and 1 deletions
|
@ -99,6 +99,10 @@
|
|||
<td>State:</td>
|
||||
<td><span class="label {{ container.State|getstatelabel }}">{{ container.State|getstatetext }}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Logs:</td>
|
||||
<td><a href="#/containers/{{ container.Id }}/logs">stdout/stderr</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ function($scope, $routeParams, $location, Container, Messages, ViewSpinner) {
|
|||
$scope.changes = [];
|
||||
|
||||
var update = function() {
|
||||
ViewSpinner.spin();
|
||||
Container.get({id: $routeParams.id}, function(d) {
|
||||
$scope.container = d;
|
||||
ViewSpinner.stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue