1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +12:00

Replaced OAuth icons with images

This commit is contained in:
eldadfux 2019-09-06 14:14:50 +03:00
parent ca5243682b
commit 6679ec4f57
4 changed files with 2 additions and 4 deletions

View file

@ -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); ?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB