mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
feat(k8s/application): update placement style
This commit is contained in:
parent
9f0ff5181b
commit
877e2baf59
1 changed files with 7 additions and 8 deletions
|
@ -932,22 +932,21 @@
|
||||||
<div class="col-sm-12 form-section-title">
|
<div class="col-sm-12 form-section-title">
|
||||||
Placement preferences and constraints
|
Placement preferences and constraints
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- #region PLACEMENTS -->
|
<!-- #region PLACEMENTS -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-sm-12 small text-muted">
|
<div class="col-sm-12">
|
||||||
<i class="fa fa-info-circle blue-icon" aria-hidden="true" style="margin-right: 2px;"></i>
|
|
||||||
Deploy this application on nodes that respect all of the following placement rules.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form-group">
|
|
||||||
<div class="col-sm-12" style="margin-top: 5px;">
|
|
||||||
<label class="control-label text-left">Placement rules</label>
|
<label class="control-label text-left">Placement rules</label>
|
||||||
<span class="label label-default interactive" style="margin-left: 10px;" ng-click="ctrl.addPlacement()">
|
<span class="label label-default interactive" style="margin-left: 10px;" ng-click="ctrl.addPlacement()">
|
||||||
<i class="fa fa-plus-circle" aria-hidden="true"></i> add rule
|
<i class="fa fa-plus-circle" aria-hidden="true"></i> add rule
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="col-sm-12 small text-muted" ng-if="ctrl.formValues.Placements.length > 0" style="margin-top: 10px;">
|
||||||
|
<i class="fa fa-info-circle blue-icon" aria-hidden="true" style="margin-right: 2px;"></i>
|
||||||
|
Deploy this application on nodes that respect <b>ALL</b> of the following placement rules.
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-12 form-inline" style="margin-top: 10px;">
|
<div class="col-sm-12 form-inline" style="margin-top: 10px;">
|
||||||
<div ng-repeat="placement in ctrl.formValues.Placements" style="margin-top: 2px;">
|
<div ng-repeat="placement in ctrl.formValues.Placements" style="margin-top: 2px;">
|
||||||
<div class="col-sm-5 input-group" ng-class="{ striked: placement.NeedsDeletion }">
|
<div class="col-sm-5 input-group" ng-class="{ striked: placement.NeedsDeletion }">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue