diff options
Diffstat (limited to 'ui/imports/ui/components/env-amqp-credentials-info')
-rw-r--r-- | ui/imports/ui/components/env-amqp-credentials-info/env-amqp-credentials-info.html | 108 | ||||
-rw-r--r-- | ui/imports/ui/components/env-amqp-credentials-info/env-amqp-credentials-info.js | 56 |
2 files changed, 0 insertions, 164 deletions
diff --git a/ui/imports/ui/components/env-amqp-credentials-info/env-amqp-credentials-info.html b/ui/imports/ui/components/env-amqp-credentials-info/env-amqp-credentials-info.html deleted file mode 100644 index e925f9e..0000000 --- a/ui/imports/ui/components/env-amqp-credentials-info/env-amqp-credentials-info.html +++ /dev/null @@ -1,108 +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="EnvAmqpCredentialsInfo"> -<div class="form-horizontal"> - <!-- Host --> - <div class="form-group"> - - <label for="dbHost" 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 AMQP host</p> - </div> - </div> - - <div class="form-group"> - <label for="dbPort" - class="col-sm-2 control-label" - >port</label> - - <div class="col-sm-3"> - {{> InputModel(createInputArgs - value=model.port - key="port" - type="text" - disabled=disabled - placeholder="Port") - }} - </div> - - <div class="col-sm-4"> - <p>This is AMQP port</p> - </div> - </div> - - <div class="form-group"> - <label for="dbUsername" - class="col-sm-2 control-label" - >Username</label> - - <div class="col-sm-3"> - {{> InputModel(createInputArgs - value=model.user - key="user" - type="text" - disabled=disabled - placeholder="Username") - }} - </div> - - <div class="col-sm-4"> - <p>This is AMQP user name</p> - </div> - </div> - - <div class="form-group"> - <label for="dbPassword" - class="col-sm-2 control-label" - >Password</label> - - <div class="col-sm-3"> - {{> InputModel(createInputArgs - value=model.pwd - key="pwd" - type="password" - disabled=disabled - placeholder="Password") - }} - </div> - - <div class="col-sm-4"> - <p>This is AMQP 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-amqp-credentials-info/env-amqp-credentials-info.js b/ui/imports/ui/components/env-amqp-credentials-info/env-amqp-credentials-info.js deleted file mode 100644 index 498a403..0000000 --- a/ui/imports/ui/components/env-amqp-credentials-info/env-amqp-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: EnvAmqpCredentialsInfo - */ - -//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-amqp-credentials-info.html'; - -/* - * Lifecycles - */ - -Template.EnvAmqpCredentialsInfo.onCreated(function() { -}); - -/* -Template.EnvAmqpCredentialsInfo.rendered = function() { -}; -*/ - -/* - * Events - */ - -Template.EnvAmqpCredentialsInfo.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.EnvAmqpCredentialsInfo.helpers({ - createInputArgs: createInputArgs -}); - - |