|
1 |
| -<div class="container-fluid"> |
| 1 | +<div class="container-login"> |
2 | 2 | <div class="row">
|
3 | 3 | <div class="col-sm-12 loginheader">
|
4 |
| - <h2 |
5 |
| - class="tex-center" |
| 4 | + <h3 |
| 5 | + class="tex-center login-header-text" |
6 | 6 | ng-if="!isAdmin && !isOtl && !isCensusQuery && method !== 'openid-connect'"
|
7 | 7 | ng-i18next="[i18next]({name: orgName})avRegistration.loginHeader">
|
8 |
| - </h2> |
9 |
| - <h2 |
10 |
| - class="tex-center" |
| 8 | + </h3> |
| 9 | + <h3 |
| 10 | + class="tex-center login-header-text" |
11 | 11 | ng-if="isAdmin && !isOtl"
|
12 | 12 | ng-i18next="[i18next]avRegistration.adminLoginHeader">
|
13 |
| - </h2> |
14 |
| - <h2 |
15 |
| - class="tex-center" |
| 13 | + </h3> |
| 14 | + <h3 |
| 15 | + class="tex-center login-header-text" |
16 | 16 | ng-if="!isCensusQuery && method === 'openid-connect'"
|
17 | 17 | ng-i18next="[i18next]avRegistration.loginButton">
|
18 |
| - </h2> |
19 |
| - <h2 |
20 |
| - class="tex-center" |
| 18 | + </h3> |
| 19 | + <h3 |
| 20 | + class="tex-center login-header-text" |
21 | 21 | ng-if="!!isCensusQuery"
|
22 | 22 | ng-i18next="avRegistration.censusQueryHeader">
|
23 |
| - </h2> |
24 |
| - <h2 |
25 |
| - class="tex-center" |
| 23 | + </h3> |
| 24 | + <h3 |
| 25 | + class="tex-center login-header-text" |
26 | 26 | ng-if="isOtl"
|
27 | 27 | ng-i18next="avRegistration.otlHeader">
|
28 |
| - </h2> |
| 28 | + </h3> |
29 | 29 | <div
|
30 | 30 | class="text-success"
|
31 | 31 | ng-if="!!successfulRegistration"
|
|
34 | 34 | </div>
|
35 | 35 | </div>
|
36 | 36 |
|
37 |
| - <div class="col-sm-6" ng-if="method !== 'openid-connect'"> |
| 37 | + <div class="col-sm-12" ng-if="method !== 'openid-connect'"> |
38 | 38 | <form name="form" id="loginForm" role="form" class="form-horizontal">
|
39 | 39 | <div
|
40 | 40 | ng-repeat="field in login_fields"
|
|
43 | 43 | ng-if="(field.steps === undefined || field.steps.indexOf(currentFormStep) !== -1) && otlStatus !== 'success'">
|
44 | 44 | </div>
|
45 | 45 |
|
46 |
| - <div class="col-sm-offset-4 col-sm-8 button-group"> |
| 46 | + <div class="button-group"> |
47 | 47 | <div class="input-error" ng-if="!isCensusQuery">
|
48 | 48 | <div class="error text-danger" role="alert" ng-if="error">{{ error }}</div>
|
49 | 49 | </div>
|
50 | 50 | <div class="input-warn">
|
51 |
| - <span |
52 |
| - class="text-warning" |
53 |
| - ng-if="!form.$valid || sendingData" |
54 |
| - role="alert" |
55 |
| - ng-i18next> |
56 |
| - avRegistration.fillValidFormText |
57 |
| - </span> |
| 51 | + <div class="warn-box" ng-if="!form.$valid || sendingData" > |
| 52 | + <span class="glyphicon glyphicon-warning-sign"></span> |
| 53 | + <div |
| 54 | + role="alert" |
| 55 | + ng-i18next> |
| 56 | + avRegistration.fillValidFormText |
| 57 | + </div> |
| 58 | + </div> |
58 | 59 | </div>
|
59 | 60 | <button
|
60 | 61 | type="submit"
|
61 |
| - class="btn btn-block btn-success-action" |
| 62 | + class="btn btn-block btn-lg btn-success-action" |
62 | 63 | ng-if="!isCensusQuery && !isOtl"
|
63 | 64 | ng-i18next="avRegistration.loginButton"
|
64 | 65 | ng-click="loginUser(form.$valid)"
|
|
67 | 68 | </button>
|
68 | 69 | <button
|
69 | 70 | type="submit"
|
70 |
| - class="btn btn-block btn-success-action" |
| 71 | + class="btn btn-block btn-lg btn-success-action" |
71 | 72 | ng-if="isCensusQuery"
|
72 | 73 | ng-i18next="avRegistration.checkCensusButton"
|
73 | 74 | ng-click="checkCensus(form.$valid)"
|
|
76 | 77 | </button>
|
77 | 78 | <button
|
78 | 79 | type="submit"
|
79 |
| - class="btn btn-block btn-success-action" |
| 80 | + class="btn btn-block btn-lg btn-success-action" |
80 | 81 | ng-if="isOtl && otlStatus !== 'success'"
|
81 | 82 | ng-i18next="avRegistration.otlButton"
|
82 | 83 | ng-click="otlAuth(form.$valid)"
|
|
144 | 145 | </div>
|
145 | 146 |
|
146 | 147 | <div
|
147 |
| - class="col-sm-5 col-sm-offset-1 hidden-xs" |
| 148 | + class="col-sm-5 col-sm-offset-1 hidden-xs not-registered-yet" |
148 | 149 | ng-if="registrationAllowed && !isCensusQuery && method !== 'openid-connect' && !isOtl">
|
149 | 150 | <h3
|
150 | 151 | class="help-h3"
|
|
175 | 176 | <a
|
176 | 177 | ng-click="openidConnectAuth(provider)"
|
177 | 178 | alt="{{provider.description}}"
|
178 |
| - class="btn btn-primary btn-login"> |
| 179 | + class="btn btn-lg btn-primary btn-login"> |
179 | 180 | <img
|
180 | 181 | ng-if="!!provider.icon"
|
181 | 182 | alt="{{provider.description}}"
|
|
0 commit comments