Fix CSS/Layout on consent OAUTH2 UI

added css to be mobile friendly

Change-Id: If4c7bceeba7de080a58afea5dd9fd355e0e5a044
This commit is contained in:
Sebastian Marcet 2016-04-05 16:46:03 -03:00
parent 3de1865b9f
commit ab8b9870fe
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>
@endforeach
</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")) }}
<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-primary btn-md btn-consent-action" id="approve-authorization" type="button">Accept</button>
{{ 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>

View File

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