mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(UI) update ui of swarm/node/item EE-3518 (#7392)
* EE-3502 update page docker/host/browse and docker/volume/browse * EE-3518 update ui of swarm/node/item
This commit is contained in:
parent
57e53d1a21
commit
8262487401
3 changed files with 20 additions and 20 deletions
|
@ -1,7 +1,7 @@
|
|||
<div ng-if="!$ctrl.labels.length"> There are no labels for this node. </div>
|
||||
|
||||
<div class="col-sm-12 form-inline" style="padding: 0px" ng-if="$ctrl.labels.length">
|
||||
<div ng-repeat="label in $ctrl.labels" style="margin-top: 2px">
|
||||
<div class="col-sm-12 form-inline !p-0" ng-if="$ctrl.labels.length">
|
||||
<div ng-repeat="label in $ctrl.labels" class="mt-1">
|
||||
<div class="input-group col-sm-5 input-group-sm">
|
||||
<span class="input-group-addon">name</span>
|
||||
<input type="text" class="form-control" ng-model="label.key" placeholder="e.g. com.example.foo" ng-change="$ctrl.updateLabel(label)" />
|
||||
|
@ -11,7 +11,7 @@
|
|||
<input type="text" class="form-control" ng-model="label.value" placeholder="e.g. bar" ng-change="$ctrl.updateLabel(label)" />
|
||||
</div>
|
||||
<button class="btn btn-light" type="button" ng-click="$ctrl.removeLabel($index)">
|
||||
<pr-icon icon="'trash'" feather="true" class-name="'icon-secondary icon-md'"></pr-icon>
|
||||
<pr-icon icon="'trash-2'" feather="true" class-name="'icon-secondary icon-md'"></pr-icon>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<tr>
|
||||
<td>
|
||||
<div class="nopadding">
|
||||
<a class="btn btn-default btn-sm pull-right" ng-click="$ctrl.addLabel(node)"> <pr-icon icon="'plus'" mode="'alt'" feather="true"></pr-icon> label </a>
|
||||
<a class="btn btn-secondary btn-sm pull-right" ng-click="$ctrl.addLabel(node)"> <pr-icon icon="'plus'" mode="'alt'" feather="true"></pr-icon> label </a>
|
||||
</div>
|
||||
Node Labels
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue