mirror of https://github.com/rancher/ui.git
More run command, autocomplete, nodes detected
This commit is contained in:
parent
b2d925c398
commit
b377ca65d1
|
|
@ -10,8 +10,10 @@ export function initialize(/*application */) {
|
||||||
Checkbox.reopen(SafeStyle);
|
Checkbox.reopen(SafeStyle);
|
||||||
|
|
||||||
// Disable iOS auto-capitalization
|
// Disable iOS auto-capitalization
|
||||||
|
//
|
||||||
TextField.reopen({
|
TextField.reopen({
|
||||||
attributeBindings: ['autocapitalize','spellcheck','autocomplete'],
|
attributeBindings: ['autocapitalize','spellcheck','autocomplete'],
|
||||||
|
autocomplete: 'off',
|
||||||
autocapitalize: 'none',
|
autocapitalize: 'none',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{{input type="text" id="login-username" class="form-control login-user" value=username placeholder=(t 'loginUserPass.userPlaceholder')}}
|
{{input type="text" id="login-username" autocomplete="username" class="form-control login-user" value=username placeholder=(t 'loginUserPass.userPlaceholder')}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pt-15 pb-30">
|
<div class="pt-15 pb-30">
|
||||||
<label>{{t 'loginUserPass.passwordLabel'}}</label>
|
<label>{{t 'loginUserPass.passwordLabel'}}</label>
|
||||||
<div>
|
<div>
|
||||||
{{input id="login-password" type="password" class="form-control login-pass" value=password}}
|
{{input id="login-password" autocomplete="password" type="password" class="form-control login-pass" value=password}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ export default Component.extend(Driver, {
|
||||||
roleFlags = ' --' + role.join(' --');
|
roleFlags = ' --' + role.join(' --');
|
||||||
}
|
}
|
||||||
|
|
||||||
let out = `docker run -v /var/run/docker.sock:/var/run/docker.sock --net=host ${image}${roleFlags} --server ${url} --token ${token} --ca-checksum ${checksum}`;
|
let out = `docker run -d --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock --net=host ${image}${roleFlags} --server ${url} --token ${token} --ca-checksum ${checksum}`;
|
||||||
|
|
||||||
const labels = get(this, 'labels')||{};
|
const labels = get(this, 'labels')||{};
|
||||||
Object.keys(labels).forEach((key) => {
|
Object.keys(labels).forEach((key) => {
|
||||||
|
|
|
||||||
|
|
@ -3434,6 +3434,11 @@ machine:
|
||||||
label: Region
|
label: Region
|
||||||
|
|
||||||
driverCustom:
|
driverCustom:
|
||||||
|
detected: |
|
||||||
|
{count, plural,
|
||||||
|
=1 {# new node has registered}
|
||||||
|
other {# new nodes have registered}
|
||||||
|
}
|
||||||
command:
|
command:
|
||||||
instructions: 'Run this command on an existing machine already running a supported version of Docker.'
|
instructions: 'Run this command on an existing machine already running a supported version of Docker.'
|
||||||
ssh:
|
ssh:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue