1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

callout when registering for org create

This commit is contained in:
Kyle Spearrin 2017-05-03 10:23:01 -04:00
parent 1d95a78e75
commit 86de4b721f
3 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,7 @@ angular
$analytics, $state) { $analytics, $state) {
var params = $location.search(); var params = $location.search();
var stateParams = $state.params; var stateParams = $state.params;
$scope.createOrg = stateParams.org;
if (!stateParams.returnState && stateParams.org) { if (!stateParams.returnState && stateParams.org) {
$scope.returnState = { $scope.returnState = {

View File

@ -13,6 +13,10 @@
</div> </div>
<form name="registerForm" ng-submit="registerForm.$valid && register(registerForm)" ng-show="!success" <form name="registerForm" ng-submit="registerForm.$valid && register(registerForm)" ng-show="!success"
api-form="registerPromise"> api-form="registerPromise">
<div class="callout callout-default" ng-show="createOrg">
<h4>Create Organization, Step 1</h4>
<p>Before creating your organization, you first need to create a free personal account.</p>
</div>
<div class="callout callout-danger validation-errors" ng-show="registerForm.$errors"> <div class="callout callout-danger validation-errors" ng-show="registerForm.$errors">
<h4>Errors have occured</h4> <h4>Errors have occured</h4>
<ul> <ul>

View File

@ -278,7 +278,8 @@ form .btn .loading-icon {
} }
} }
.modal .callout.callout-default, .box .callout.callout-default { .modal .callout.callout-default, .box .callout.callout-default, .register-box-body .callout.callout-default,
.login-box-body .callout.callout-default {
&:extend(.bg-gray-light); &:extend(.bg-gray-light);
.btn-default:not(:hover) { .btn-default:not(:hover) {