Component modals wip

This commit is contained in:
Mo Bitar
2017-12-23 17:43:52 -06:00
parent 08c13ce478
commit 5df39b1c2f
10 changed files with 110 additions and 31 deletions

View File

@@ -43,7 +43,7 @@
%form.mt-5{"ng-if" => "formData.mfa"}
%p {{formData.mfa.message}}
%input.form-control.mt-10{:autofocus => 'autofocus', :name => 'mfa', :required => true, 'ng-model' => 'formData.userMfaCode'}
%input.form-control.mt-10{:autofocus => "true", :name => 'mfa', :required => true, 'ng-model' => 'formData.userMfaCode'}
%button.ui-button.block.mt-10{"ng-click" => "submitMfaForm()"} {{"Sign In"}}
.mt-15{"ng-if" => "formData.showRegister"}

View File

@@ -0,0 +1,5 @@
.background{"ng-click" => "dismiss()"}
.content
.modal-iframe-container{"ng-attr-id" => "component-{{component.uuid}}"}
%iframe.modal-iframe{"ng-src" => "{{url() | trusted}}", "frameBorder" => "0", "sandbox" => "allow-scripts allow-top-navigation-by-user-activation allow-popups allow-popups-to-escape-sandbox allow-modals", "data-component-id" => "{{component.uuid}}"}