Merge "Fix CSS/Layout on consent OAUTH2 UI"

This commit is contained in:
Jenkins 2016-04-05 19:56:27 +00:00 committed by Gerrit Code Review
commit ad3eb0207e
2 changed files with 6 additions and 4 deletions

View File

@ -28,14 +28,12 @@
<li> {{$scope->short_description}}&nbsp;<span class="glyphicon glyphicon-info-sign pointable info" aria-hidden="true" data-content="{{ $scope->description }}" title="Scope Info"></span></li> <li> {{$scope->short_description}}&nbsp;<span class="glyphicon glyphicon-info-sign pointable info" aria-hidden="true" data-content="{{ $scope->description }}" title="Scope Info"></span></li>
@endforeach @endforeach
</ul> </ul>
<p class="privacy-policy">
** <b>{{$app_name}}</b> Application and <b>OpenStack</b> will use this information in accordance with their respective <a target='_blank' href="{{$tos_uri}}">terms of service</a> and <a target='_blank' href="{{$policy_uri}}">privacy policies</a>.
</p>
{{ Form::open(array('url' => URL::action("UserController@postConsent") ,'id'=>'authorization_form', 'method' => 'post', "autocomplete" => "off")) }} {{ Form::open(array('url' => URL::action("UserController@postConsent") ,'id'=>'authorization_form', 'method' => 'post', "autocomplete" => "off")) }}
<input type="hidden" name='trust' id='trust' value=""/> <input type="hidden" name='trust' id='trust' value=""/>
<button class="btn btn-default btn-md btn-consent-action" id="cancel-authorization" type="button">Cancel</button> <button class="btn btn-default btn-md btn-consent-action" id="cancel-authorization" type="button">Cancel</button>
<button class="btn btn-primary btn-md btn-consent-action" id="approve-authorization" type="button">Accept</button> <button class="btn btn-primary btn-md btn-consent-action" id="approve-authorization" type="button">Accept</button>
{{ Form::close() }} {{ Form::close() }}
<p class="privacy-policy">** <b>{{$app_name}}</b> Application and <b>OpenStack</b> will use this information in accordance with their respective <a target='_blank' href="{{$tos_uri}}">terms of service</a> and <a target='_blank' href="{{$policy_uri}}">privacy policies</a>.</p>
</div> </div>
</div> </div>
</div> </div>

View File

@ -4,7 +4,7 @@ body {
.header .header
{ {
padding-top: 3em; padding-top: 1em;
} }
#logo a { #logo a {
@ -203,4 +203,8 @@ textarea {
.error-message .error-message
{ {
color:#c40022; color:#c40022;
}
.privacy-policy{
padding-top: 5px;
} }