<selectclass="form-control"ng-model="$ctrl.model"ng-options="agent.NodeName as agent.NodeName for agent in $ctrl.agents"></select>
<selectclass="form-control"ng-model="$ctrl.model"ng-options="agent.NodeName as agent.NodeName for agent in $ctrl.agents"data-cy="target-node-c"></select>
<inputtype="text"class="form-control"ng-model="$ctrl.data.serverAddress"name="cifs_address"placeholder="e.g. my.cifs-server.com OR xxx.xxx.xxx.xxx"required/>
<input
type="text"
class="form-control"
ng-model="$ctrl.data.serverAddress"
name="cifs_address"
placeholder="e.g. my.cifs-server.com OR xxx.xxx.xxx.xxx"
<inputtype="text"class="form-control"ng-model="$ctrl.data.serverAddress"name="nfs_address"placeholder="e.g. my.nfs-server.com OR xxx.xxx.xxx.xxx"required/>
<input
type="text"
class="form-control"
ng-model="$ctrl.data.serverAddress"
name="nfs_address"
placeholder="e.g. my.nfs-server.com OR xxx.xxx.xxx.xxx"
<selectclass="form-control"ng-options="driver for driver in availableNetworkDrivers"ng-model="config.Driver"ng-if="availableNetworkDrivers.length > 0">
<select
class="form-control"
ng-options="driver for driver in availableNetworkDrivers"
ng-model="config.Driver"
ng-if="availableNetworkDrivers.length > 0"
data-cy="network-driver-select"
>
<optiondisabledhiddenvalue="">Select a driver</option>
<divng-repeat="config in formValues.Configs"style="margin-top: 2px">
<divclass="input-group col-sm-4 input-group-sm">
<spanclass="input-group-addon">config</span>
<selectclass="form-control"ng-change="checkIfConfigDuplicated()"ng-model="config.model"ng-options="config.Name for config in availableConfigs | orderBy: 'Name'">
<select
class="form-control"
ng-change="checkIfConfigDuplicated()"
ng-model="config.model"
ng-options="config.Name for config in availableConfigs | orderBy: 'Name'"
data-cy="docker-stack-configs-select"
>
<optionvalue=""selected="selected">Select a config</option>
<divng-repeat="secret in formValues.Secrets track by $index"style="margin-top: 4px">
<divclass="input-group col-sm-4 input-group-sm">
<spanclass="input-group-addon">secret</span>
<selectclass="form-control"ng-model="secret.model"ng-change="checkIfSecretDuplicated()"ng-options="secret.Name for secret in availableSecrets | orderBy: 'Name'">
<select
class="form-control"
ng-model="secret.model"
ng-change="checkIfSecretDuplicated()"
ng-options="secret.Name for secret in availableSecrets | orderBy: 'Name'"
data-cy="docker-stack-secrets-select"
>
<optionvalue=""selected="selected">Select a secret</option>
<pclass="small text-muted"> Amount of time between updates expressed by a number followed by unit (ns|us|ms|s|m|h). Default value is 0s, 0 seconds. </p>
@ -77,7 +85,15 @@
<portainer-tooltipmessage="'Supported format examples: 1h, 5m, 10s, 1000ms, 15us, 60ns.'"></portainer-tooltip>
<pclass="small text-muted"> Delay between restart attempts expressed by a number followed by unit (ns|us|ms|s|m|h). Default value is 5s, 5 seconds. </p>
@ -88,7 +104,14 @@
<divclass="form-group">
<labelfor="restart-max-attempts"class="col-sm-3 col-lg-2 control-label text-left">Restart max attempts</label>
<selectclass="form-control"ng-options="driver for driver in availableVolumeDrivers"ng-model="formValues.Driver"ng-if="availableVolumeDrivers.length > 0">
<select
class="form-control"
ng-options="driver for driver in availableVolumeDrivers"
ng-model="formValues.Driver"
ng-if="availableVolumeDrivers.length > 0"
data-cy="volume-driver-select"
>
<optiondisabledhiddenvalue="">Select a driver</option>
<portainer-tooltipmessage="'URL or IP address of a Docker registry. Any protocol and trailing slash will be stripped if present.'"></portainer-tooltip>
</label>
<divclass="col-sm-9 col-lg-10">
<inputtype="text"class="form-control"id="registry_url"name="registry_url"ng-model="$ctrl.model.URL"placeholder="10.0.0.10:5000 or myregistry.domain.tld"required/>
<input
type="text"
class="form-control"
id="registry_url"
name="registry_url"
ng-model="$ctrl.model.URL"
placeholder="10.0.0.10:5000 or myregistry.domain.tld"
<selectclass="form-control"ng-model="$ctrl.settings.DefaultTeamID"ng-options="team.Id as team.Name for team in $ctrl.teams">
<selectclass="form-control"ng-model="$ctrl.settings.DefaultTeamID"ng-options="team.Id as team.Name for team in $ctrl.teams"data-cy="default-team-select">
<labelfor="ldap_url"class="col-sm-3 col-lg-2 control-label flex flex-wrap text-left"> LDAP Server </label>
<divclass="col-sm-9 col-lg-10">
<divclass="mb-3 flex"ng-repeat="url in $ctrl.settings.URLs track by $index">
<inputtype="text"class="form-control"id="ldap_url"ng-model="$ctrl.settings.URLs[$index]"placeholder="e.g. 10.0.0.10:389 or myldap.domain.tld:389"required/>
<input
type="text"
class="form-control"
id="ldap_url"
ng-model="$ctrl.settings.URLs[$index]"
placeholder="e.g. 10.0.0.10:389 or myldap.domain.tld:389"
<inputtype="text"name="container_hostname"class="form-control"ng-model="state.selectedTemplate.Hostname"placeholder="leave empty to use docker default"/>