more sr friendly

This commit is contained in:
2018-07-28 12:01:12 +02:00
parent 72011feea9
commit 59e6649a1d
23 changed files with 432 additions and 250 deletions
+17 -16
View File
@@ -40,7 +40,7 @@
<div class="row form-group">
<div class="col-md-7 offset-md-3">
<button type="submit" class="btn btn-primary">
<i class="fa-save pr-2"></i>Apply Changes
@icon(fa-save fa-pr)Apply Changes
</button>
</div>
</div>
@@ -78,7 +78,8 @@
<table>
<tr>
<td rowspan=4>
<i class="fa-{{ $icons[$identity->provider] }} fa-huge py-3 px-4"></i>
<i class="fa-{{ $icons[$identity->provider] }} fa-huge py-3 px-4" aria-hidden=true></i>
<span class="sr-only">{{ucfirst($identity->provider)}}</span>
</td>
<th>Nickname</th>
<td class="pl-2">{{ $identity->nick_name }}</td>
@@ -111,28 +112,28 @@
<div class="col-md-3 col-form-label text-md-right">
Add identity
</div>
<div class="col-md-7">
<ul class="col-md-7 sr-list">
@set('services.oauth_providers.github.client_id')
<a type="submit" href="{{route('oauth-github-authorize')}}" class="btn btn-dark">
<i class="fa-github pr-1"></i>
{{ __('GitHub') }}
</a>
<li>
<a type="submit" href="{{route('oauth-github-authorize')}}" class="btn btn-dark">
@icon(fa-github fa-pr){{ __('GitHub') }}
</a>
@endset
@set('services.oauth_providers.google.client_id')
<a type="submit" href="{{route('oauth-google-authorize')}}" class="btn btn-dark">
<i class="fa-google pr-1"></i>
{{ __('Google') }}
</a>
<li>
<a type="submit" href="{{route('oauth-google-authorize')}}" class="btn btn-dark">
@icon(fa-google fa-pr){{ __('Google') }}
</a>
@endset
@set('services.oauth_providers.facebook.client_id')
<a type="submit" href="{{route('oauth-facebook-authorize')}}" class="btn btn-dark">
<i class="fa-facebook-square pr-1"></i>
{{ __('Facebook') }}
</a>
<li>
<a type="submit" href="{{route('oauth-facebook-authorize')}}" class="btn btn-dark">
@icon(fa-facebook-square fa-pr){{ __('Facebook') }}
</a>
@endset
</div>
</ul>
</div>
</div>
</form>