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>
</div>
<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>

View file

@ -9,7 +9,7 @@
<p><?= $privacy_policy_content ?></p>
</div>
<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>

View file

@ -9,7 +9,7 @@
<p><?= $terms_and_conditions_content ?></p>
</div>
<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>

View file

@ -440,7 +440,7 @@
</div>
<div class="modal-footer">
<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>

View file

@ -194,7 +194,7 @@
<?= lang('phone_number') ?>
</label>
<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>
<?= lang('require_phone_number') ?>
</button>
@ -205,7 +205,7 @@
<div class="form-group">
<label><?= lang('any_provider') ?></label>
<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>
<?= lang('display_any_provider') ?>
</button>
@ -255,7 +255,7 @@
</table>
<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>
<?= lang('apply_to_all_providers') ?>
</button>

View file

@ -75,7 +75,7 @@
<?= lang('book_appointment_title') ?>
</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>
<?= lang('backend_section') ?>
</a>

View file

@ -71,7 +71,7 @@
<?php endif; ?>
<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>
<?= lang('backend_section') ?>
</a>

View file

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

View file

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

View file

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

View file

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

View file

@ -80,7 +80,7 @@ window.GeneralFunctions = window.GeneralFunctions || {};
});
$('#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();
};

View file

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