diff options
author | Yaron Yogev <yaronyogev@gmail.com> | 2017-10-03 10:14:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-03 10:14:14 +0000 |
commit | 9e9c95952ca2a7efeafd316fff107b95fdd0f0b5 (patch) | |
tree | 6ad620ebc1f9adf6bf9fc671d88ea0adf8e7fe07 /ui/imports/ui/components/env-master-host-credentials-info | |
parent | 929a33a1cf8854e06d13e5ef352a48759c9ba2d5 (diff) | |
parent | 1fff14f0a5e25adaa851537c71c7bd8381c1bbb1 (diff) |
Merge "ui move to docker" into stable/euphrates
Diffstat (limited to 'ui/imports/ui/components/env-master-host-credentials-info')
2 files changed, 0 insertions, 165 deletions
diff --git a/ui/imports/ui/components/env-master-host-credentials-info/env-master-host-credentials-info.html b/ui/imports/ui/components/env-master-host-credentials-info/env-master-host-credentials-info.html deleted file mode 100644 index 95c52a0..0000000 --- a/ui/imports/ui/components/env-master-host-credentials-info/env-master-host-credentials-info.html +++ /dev/null @@ -1,109 +0,0 @@ -<!-- -######################################################################################## -# Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others # -# # -# All rights reserved. This program and the accompanying materials # -# are made available under the terms of the Apache License, Version 2.0 # -# which accompanies this distribution, and is available at # -# http://www.apache.org/licenses/LICENSE-2.0 # -######################################################################################## - --> -<template name="EnvMasterHostCredentialsInfo"> -<div class="form-horizontal"> - - - <div class="form-group"> - <label for="mhUsername" - class="col-sm-2 control-label" - >Host</label> - - <div class="col-sm-3"> - {{> InputModel(createInputArgs - value=model.host - key="host" - type="text" - disabled=disabled - placeholder="Host") - }} - </div> - - <div class="col-sm-4"> - <p>This is master jump host</p> - </div> - </div> - - <div class="form-group"> - <label for="sshKey" - class="col-sm-2 control-label" - >SSH Key</label> - - <div class="col-sm-3"> - {{> InputModel(createInputArgs - value=model.key - key="key" - type="text" - disabled=disabled - placeholder="SSH Key") - }} - </div> - - <div class="col-sm-4"> - <p>This is master ssh key</p> - </div> - </div> - - <div class="form-group"> - <label for="mhUsername" - class="col-sm-2 control-label" - >Master Host Username</label> - - <div class="col-sm-3"> - {{> InputModel(createInputArgs - value=model.user - key="user" - type="text" - disabled=disabled - placeholder="Master Host Username") - }} - </div> - - <div class="col-sm-4"> - <p>This is master user name</p> - </div> - </div> - - <div class="form-group"> - <label for="mhPassword" - class="col-sm-2 control-label" - >Master Host Password</label> - - <div class="col-sm-3"> - {{> InputModel(createInputArgs - value=model.pwd - key="pwd" - type="password" - disabled=disabled - placeholder="Master Host Password") - }} - </div> - - <div class="col-sm-4"> - <p>This is master password</p> - </div> - </div> - - <div class="form-group"> - <div class="col-sm-offset-2"> - <button type="button" - class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-button--colored toast js-test-connection" - >Test connection</button> - </div> - - <div class="col-sm-offset-2 col-sm-10 btn-mgt-5"> - <button type="button" class="mdl-button mdl-js-button btnNext sm-next-button" - >Next</button> - </div> - - </div> -</div> -</template> diff --git a/ui/imports/ui/components/env-master-host-credentials-info/env-master-host-credentials-info.js b/ui/imports/ui/components/env-master-host-credentials-info/env-master-host-credentials-info.js deleted file mode 100644 index 8aaefe4..0000000 --- a/ui/imports/ui/components/env-master-host-credentials-info/env-master-host-credentials-info.js +++ /dev/null @@ -1,56 +0,0 @@ -///////////////////////////////////////////////////////////////////////////////////////// -// Copyright (c) 2017 Koren Lev (Cisco Systems), Yaron Yogev (Cisco Systems) and others / -// / -// All rights reserved. This program and the accompanying materials / -// are made available under the terms of the Apache License, Version 2.0 / -// which accompanies this distribution, and is available at / -// http://www.apache.org/licenses/LICENSE-2.0 / -///////////////////////////////////////////////////////////////////////////////////////// -/* - * Template Component: EnvMasterHostCredentialsInfo - */ - -//import { Meteor } from 'meteor/meteor'; -import { Template } from 'meteor/templating'; -//import { ReactiveDict } from 'meteor/reactive-dict'; - -import { createInputArgs } from '/imports/ui/lib/input-model'; - -import './env-master-host-credentials-info.html'; - -/* - * Lifecycles - */ - -Template.EnvMasterHostCredentialsInfo.onCreated(function() { -}); - -/* -Template.EnvMasterHostCredentialsInfo.rendered = function() { -}; -*/ - -/* - * Events - */ - -Template.EnvMasterHostCredentialsInfo.events({ - 'click .sm-next-button': function () { - let instance = Template.instance(); - instance.data.onNextRequested(); - }, - - 'click .js-test-connection' : function (e, instance) { - instance.data.onTestConnection(); - }, -}); - -/* - * Helpers - */ - -Template.EnvMasterHostCredentialsInfo.helpers({ - createInputArgs: createInputArgs -}); - - |