Replaced OAuth icons with images
This commit is contained in:
parent
ca5243682b
commit
6679ec4f57
4 changed files with 2 additions and 4 deletions
|
@ -310,7 +310,7 @@ $providers = $this->getParam('providers', []);
|
|||
|
||||
<div class="box margin-bottom margin-top-large">
|
||||
<ul class="list">
|
||||
<?php foreach ($providers as $provider => $data) : ?>
|
||||
<?php foreach ($providers as $provider => $data): if(isset($data['enabled']) && !$data['enabled']) { continue; } ?>
|
||||
<li class="clear <?php echo (isset($data['enabled']) && !$data['enabled']) ? 'dev-feature' : ''; ?>">
|
||||
<div data-ui-modal class="modal close" data-button-text="Settings" data-button-class="pull-end">
|
||||
<button type="button" class="close pull-end" data-ui-modal-close=""><i class="icon-cancel"></i></button>
|
||||
|
@ -353,9 +353,7 @@ $providers = $this->getParam('providers', []);
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<div class="pull-start provider margin-end <?php echo $provider; ?>">
|
||||
<i class="<?php echo $data['icon']; ?>"></i>
|
||||
</div>
|
||||
<img src="/images/oauth/<?php echo strtolower($provider); ?>.png" alt="<?php echo ucfirst($provider); ?> Logo" class="pull-start provider margin-end" />
|
||||
|
||||
<span>
|
||||
<?php echo ucfirst($provider); ?>
|
||||
|
|
BIN
public/images/oauth/facebook.png
Normal file
BIN
public/images/oauth/facebook.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
public/images/oauth/github.png
Normal file
BIN
public/images/oauth/github.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
public/images/oauth/linkedin.png
Normal file
BIN
public/images/oauth/linkedin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
Loading…
Reference in a new issue