This commit is contained in:
Vicente Falco 2017-01-13 15:34:38 +01:00
commit f5e6f8b2bd
3 changed files with 0 additions and 30 deletions

View File

@ -1,11 +0,0 @@
<dialog class="mdl-dialog">
<div class="mdl-dialog__content">
<p>
Allow this site to collect usage data to improve your experience?
</p>
</div>
<div class="mdl-dialog__actions mdl-dialog__actions--full-width">
<button type="button" class="mdl-button" ng-click="dialogController.accept()">Agree</button>
<button type="button" class="mdl-button close" ng-click="dialogController.cancel()">Disagree</button>
</div>
</dialog>

View File

@ -1,18 +0,0 @@
import template from './confirm.html';
import {module} from '../../module';
export const NAME = 'vnConfirm';
export const COMPONENT = {
template: template,
controllerAs: 'dialogController',
controller: function(){
this.accept = function(){
return true;
}
this.cancel = function(){
return false;
}
}
};
module.component(NAME, COMPONENT);

View File

@ -26,4 +26,3 @@ export {NAME as CLIENT_ADDRESSES_DATA_EDIT_INDEX,
COMPONENT as CLIENT_ADDRESSES_DATA_EDIT_INDEX_COMPONENT} from './addresses-data-edit/index';
export {NAME as CLIENT_CONFIRM_INDEX,
COMPONENT as CLIENT_CONFIRM_INDEX_COMPONENT} from './confirm/index';