Fixed HTML on openid consent form

upgraded html to bootstrap 3.x

Change-Id: I4cfded3caf4ae09af00cbf4c72310e9721acd435
This commit is contained in:
Sebastian Marcet 2017-03-15 18:53:46 -03:00
parent a018b8aa6f
commit 41b54f08d9
1 changed files with 23 additions and 17 deletions

View File

@ -13,7 +13,6 @@ Welcome, <a href="{!! URL::action("UserController@getProfile") !!}">{!!Auth::use
<div class="container">
<h4>OpenstackId - Openid verification</h4>
{!! Form::open(array('url' => URL::action("UserController@postConsent"),'id'=>'authorization_form', 'method' => 'post', "autocomplete" => "off")) !!}
<fieldset>
<legend>
Sign in to <b>{!! $realm !!}</b> using your OpenStackId
</legend>
@ -22,27 +21,34 @@ Welcome, <a href="{!! URL::action("UserController@getProfile") !!}">{!!Auth::use
@foreach ($views as $partial)
@include($partial->getName(),$partial->getData())
@endforeach
<div>
<label class="radio">
<div class="form-group">
<div class="radio">
<label>
{!! Form::radio('trust[]', 'AllowOnce','true',array('id'=>'allow_once','class'=>'input-block-level')) !!}
Allow Once
</label>
<label class="radio">
{!! Form::radio('trust[]', 'AllowForever','',array('id'=>'allow_forever','class'=>'input-block-level')) !!}
Allow Forever
</label>
<label class="radio">
{!! Form::radio('trust[]', 'DenyOnce','',array('id'=>'deny_once','class'=>'input-block-level')) !!}
Deny Once
</label>
<label class="radio">
{!! Form::radio('trust[]', 'DenyForever','',array('id'=>'deny_forever','class'=>'input-block-level')) !!}
Deny Forever
</label>
</label>
</div>
<div class="radio">
<label>
{!! Form::radio('trust[]', 'AllowForever','',array('id'=>'allow_forever','class'=>'input-block-level')) !!}
Allow Forever
</label>
</div>
<div class="radio">
<label>
{!! Form::radio('trust[]', 'DenyOnce','',array('id'=>'deny_once','class'=>'input-block-level')) !!}
Deny Once
</label>
</div>
<div class="radio">
<label>
{!! Form::radio('trust[]', 'DenyForever','',array('id'=>'deny_forever','class'=>'input-block-level')) !!}
Deny Forever
</label>
</div>
</div>
{!! Form::submit('Ok',array("id" => "send_authorization", 'class' => 'btn btn-default btn-lg active btn-consent-action')) !!}
{!! Form::button('Cancel',array('id' => 'cancel_authorization', 'class' => 'btn active btn-lg btn-danger cancel_authorization btn-consent-action')) !!}
</fieldset>
{!! Form::close() !!}
</div>
@append