Fix: replace all btn-default class by btn-light.

This commit is contained in:
Sébastien 2020-06-19 13:09:22 +02:00
parent 1fa749d16b
commit 81934f2d90
13 changed files with 29 additions and 29 deletions

View file

@ -9,7 +9,7 @@
<p><?= $cookie_notice_content ?></p> <p><?= $cookie_notice_content ?></p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?= lang('close') ?></button> <button type="button" class="btn btn-light" data-dismiss="modal"><?= lang('close') ?></button>
</div> </div>
</div> </div>
</div> </div>

View file

@ -9,7 +9,7 @@
<p><?= $privacy_policy_content ?></p> <p><?= $privacy_policy_content ?></p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?= lang('close') ?></button> <button type="button" class="btn btn-light" data-dismiss="modal"><?= lang('close') ?></button>
</div> </div>
</div> </div>
</div> </div>

View file

@ -9,7 +9,7 @@
<p><?= $terms_and_conditions_content ?></p> <p><?= $terms_and_conditions_content ?></p>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?= lang('close') ?></button> <button type="button" class="btn btn-light" data-dismiss="modal"><?= lang('close') ?></button>
</div> </div>
</div> </div>
</div> </div>

View file

@ -440,7 +440,7 @@
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button id="save-extra" class="btn btn-primary"><?= lang('save') ?></button> <button id="save-extra" class="btn btn-primary"><?= lang('save') ?></button>
<button id="cancel-extra" class="btn btn-default" data-dismiss="modal"><?= lang('cancel') ?></button> <button id="cancel-extra" class="btn btn-light" data-dismiss="modal"><?= lang('cancel') ?></button>
</div> </div>
</div> </div>
</div> </div>

View file

@ -194,7 +194,7 @@
<?= lang('phone_number') ?> <?= lang('phone_number') ?>
</label> </label>
<br> <br>
<button type="button" id="require-phone-number" class="btn btn-default" data-toggle="button" aria-pressed="false"> <button type="button" id="require-phone-number" class="btn btn-light" data-toggle="button" aria-pressed="false">
<span class="glyphicon glyphicon-phone-alt"></span> <span class="glyphicon glyphicon-phone-alt"></span>
<?= lang('require_phone_number') ?> <?= lang('require_phone_number') ?>
</button> </button>
@ -205,7 +205,7 @@
<div class="form-group"> <div class="form-group">
<label><?= lang('any_provider') ?></label> <label><?= lang('any_provider') ?></label>
<br> <br>
<button type="button" id="display-any-provider" class="btn btn-default" data-toggle="button" aria-pressed="false"> <button type="button" id="display-any-provider" class="btn btn-light" data-toggle="button" aria-pressed="false">
<span class="glyphicon glyphicon-user"></span> <span class="glyphicon glyphicon-user"></span>
<?= lang('display_any_provider') ?> <?= lang('display_any_provider') ?>
</button> </button>
@ -255,7 +255,7 @@
</table> </table>
<div class="text-right"> <div class="text-right">
<button class="btn btn-default" id="apply-global-working-plan" type="button"> <button class="btn btn-light" id="apply-global-working-plan" type="button">
<span class="glyphicon glyphicon-ok"></span> <span class="glyphicon glyphicon-ok"></span>
<?= lang('apply_to_all_providers') ?> <?= lang('apply_to_all_providers') ?>
</button> </button>

View file

@ -75,7 +75,7 @@
<?= lang('book_appointment_title') ?> <?= lang('book_appointment_title') ?>
</a> </a>
<a href="<?= site_url('backend') ?>" class="btn btn-default btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-light btn-large">
<i class="fas fa-wrench"></i> <i class="fas fa-wrench"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>

View file

@ -71,7 +71,7 @@
<?php endif; ?> <?php endif; ?>
<div> <div>
<a href="<?= site_url('backend') ?>" class="btn btn-default btn-large"> <a href="<?= site_url('backend') ?>" class="btn btn-light btn-large">
<i class="fas fa-wrench"></i> <i class="fas fa-wrench"></i>
<?= lang('backend_section') ?> <?= lang('backend_section') ?>
</a> </a>

View file

@ -139,7 +139,7 @@ window.Backend = window.Backend || {};
actions.forEach(function(action) { actions.forEach(function(action) {
$('<button/>', { $('<button/>', {
'class': 'btn btn-default btn-xs', 'class': 'btn btn-light btn-xs',
'text': action.label, 'text': action.label,
'on': { 'on': {
'click': action.function 'click': action.function

View file

@ -47,7 +47,7 @@ window.BackendCalendar = window.BackendCalendar || {};
$toggleFullscreen $toggleFullscreen
.removeClass('btn-success') .removeClass('btn-success')
.addClass('btn-default'); .addClass('btn-light');
} else { } else {
// Switch to fullscreen mode. // Switch to fullscreen mode.
if (element.requestFullscreen) { if (element.requestFullscreen) {
@ -60,7 +60,7 @@ window.BackendCalendar = window.BackendCalendar || {};
element.webkitRequestFullscreen(); element.webkitRequestFullscreen();
} }
$toggleFullscreen $toggleFullscreen
.removeClass('btn-default') .removeClass('btn-light')
.addClass('btn-success'); .addClass('btn-success');
} }
}); });

View file

@ -338,7 +338,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
'text': EALang.delete 'text': EALang.delete
}), }),
$('<button/>', { $('<button/>', {
'class': 'close-popover btn btn-default', 'class': 'close-popover btn btn-light',
'text': EALang.close 'text': EALang.close
}) })
] ]
@ -402,7 +402,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
'text': EALang.delete 'text': EALang.delete
}), }),
$('<button/>', { $('<button/>', {
'class': 'close-popover btn btn-default', 'class': 'close-popover btn btn-light',
'text': EALang.close 'text': EALang.close
}) })
] ]
@ -499,7 +499,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
'text': EALang.delete 'text': EALang.delete
}), }),
$('<button/>', { $('<button/>', {
'class': 'close-popover btn btn-default', 'class': 'close-popover btn btn-light',
'text': EALang.close 'text': EALang.close
}) })
] ]

View file

@ -314,7 +314,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
.appendTo('#calendar'); .appendTo('#calendar');
$('<button/>', { $('<button/>', {
'class': 'btn btn-xs btn-default previous', 'class': 'btn btn-xs btn-light previous',
'html': [ 'html': [
$('<span/>', { $('<span/>', {
'class': 'glyphicon glyphicon-chevron-left' 'class': 'glyphicon glyphicon-chevron-left'
@ -331,7 +331,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
.appendTo($calendarHeader); .appendTo($calendarHeader);
$('<button/>', { $('<button/>', {
'class': 'btn btn-xs btn-default next', 'class': 'btn btn-xs btn-light next',
'html': [ 'html': [
$('<span/>', { $('<span/>', {
'class': 'glyphicon glyphicon-chevron-right' 'class': 'glyphicon glyphicon-chevron-right'
@ -1065,7 +1065,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
'text': EALang.delete 'text': EALang.delete
}), }),
$('<button/>', { $('<button/>', {
'class': 'close-popover btn btn-default', 'class': 'close-popover btn btn-light',
'text': EALang.close 'text': EALang.close
}) })
] ]
@ -1129,7 +1129,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
'text': EALang.delete 'text': EALang.delete
}), }),
$('<button/>', { $('<button/>', {
'class': 'close-popover btn btn-default', 'class': 'close-popover btn btn-light',
'text': EALang.close 'text': EALang.close
}) })
] ]
@ -1226,7 +1226,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
'text': EALang.delete 'text': EALang.delete
}), }),
$('<button/>', { $('<button/>', {
'class': 'close-popover btn btn-default', 'class': 'close-popover btn btn-light',
'text': EALang.close 'text': EALang.close
}) })
] ]

View file

@ -80,7 +80,7 @@ window.GeneralFunctions = window.GeneralFunctions || {};
}); });
$('#message_box').dialog('open'); $('#message_box').dialog('open');
$('.ui-dialog .ui-dialog-buttonset button').addClass('btn btn-default'); $('.ui-dialog .ui-dialog-buttonset button').addClass('btn btn-light');
$('#message_box .ui-dialog-titlebar-close').hide(); $('#message_box .ui-dialog-titlebar-close').hide();
}; };

View file

@ -221,7 +221,7 @@
'html': [ 'html': [
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm edit-extra', 'class': 'btn btn-light btn-sm edit-extra',
'title': EALang.edit, 'title': EALang.edit,
'html': [ 'html': [
$('<span/>', { $('<span/>', {
@ -231,7 +231,7 @@
}), }),
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm delete-extra', 'class': 'btn btn-light btn-sm delete-extra',
'title': EALang.delete, 'title': EALang.delete,
'html': [ 'html': [
$('<span/>', { $('<span/>', {
@ -241,7 +241,7 @@
}), }),
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm save-extra d-none', 'class': 'btn btn-light btn-sm save-extra d-none',
'title': EALang.save, 'title': EALang.save,
'html': [ 'html': [
$('<span/>', { $('<span/>', {
@ -251,7 +251,7 @@
}), }),
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm cancel-extra d-none', 'class': 'btn btn-light btn-sm cancel-extra d-none',
'title': EALang.cancel, 'title': EALang.cancel,
'html': [ 'html': [
$('<span/>', { $('<span/>', {
@ -580,7 +580,7 @@
'html': [ 'html': [
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm edit-extra', 'class': 'btn btn-light btn-sm edit-extra',
'title': EALang.edit, 'title': EALang.edit,
'html': [ 'html': [
$('<span/>', { $('<span/>', {
@ -590,7 +590,7 @@
}), }),
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm delete-extra', 'class': 'btn btn-light btn-sm delete-extra',
'title': EALang.delete, 'title': EALang.delete,
'html': [ 'html': [
$('<span/>', { $('<span/>', {
@ -600,7 +600,7 @@
}), }),
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm save-extra d-none', 'class': 'btn btn-light btn-sm save-extra d-none',
'title': EALang.save, 'title': EALang.save,
'html': [ 'html': [
$('<span/>', { $('<span/>', {
@ -610,7 +610,7 @@
}), }),
$('<button/>', { $('<button/>', {
'type': 'button', 'type': 'button',
'class': 'btn btn-default btn-sm cancel-extra d-none', 'class': 'btn btn-light btn-sm cancel-extra d-none',
'title': EALang.cancel, 'title': EALang.cancel,
'html': [ 'html': [
$('<span/>', { $('<span/>', {