Corrections in Bootstrap's grid classes.

This commit is contained in:
alext 2017-10-03 12:27:02 +02:00
parent b07126084c
commit 3ec8c25452
6 changed files with 17 additions and 17 deletions

View file

@ -90,7 +90,7 @@
<strong><?= lang('select_service') ?></strong> <strong><?= lang('select_service') ?></strong>
</label> </label>
<select id="select-service" class="col-md-4 form-control"> <select id="select-service" class="col-xs-12 col-sm-4 form-control">
<?php <?php
// Group services by category, only if there is at least one service with a parent category. // Group services by category, only if there is at least one service with a parent category.
$has_category = FALSE; $has_category = FALSE;
@ -150,7 +150,7 @@
<strong><?= lang('select_provider') ?></strong> <strong><?= lang('select_provider') ?></strong>
</label> </label>
<select id="select-provider" class="col-md-4 form-control"></select> <select id="select-provider" class="col-xs-12 col-sm-4 form-control"></select>
</div> </div>
<div id="service-description" style="display:none;"></div> <div id="service-description" style="display:none;"></div>
@ -272,7 +272,7 @@
</div> </div>
<?php if ($this->settings_model->get_setting('require_captcha') === '1'): ?> <?php if ($this->settings_model->get_setting('require_captcha') === '1'): ?>
<div class="frame-content row"> <div class="frame-content row">
<div class="col-sm-12 col-md-6"> <div class="col-xs-12 col-sm-6">
<h4 class="captcha-title"> <h4 class="captcha-title">
CAPTCHA CAPTCHA
<small class="glyphicon glyphicon-refresh"></small> <small class="glyphicon glyphicon-refresh"></small>

View file

@ -37,7 +37,7 @@
<div id="calendar-page" class="container-fluid"> <div id="calendar-page" class="container-fluid">
<div id="calendar-toolbar"> <div id="calendar-toolbar">
<div id="calendar-filter" class="form-inline col-xs-12 col-md-5"> <div id="calendar-filter" class="form-inline col-xs-12 col-sm-5">
<div class="form-group"> <div class="form-group">
<label for="select-filter-item"><?= lang('display_calendar') ?></label> <label for="select-filter-item"><?= lang('display_calendar') ?></label>
<select id="select-filter-item" class="form-control" title="<?= lang('select_filter_item_hint') ?>"> <select id="select-filter-item" class="form-control" title="<?= lang('select_filter_item_hint') ?>">

View file

@ -69,7 +69,7 @@
</legend> </legend>
<div class="wrapper row"> <div class="wrapper row">
<div class="col-md-6"> <div class="col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="company-name"><?= lang('company_name') ?> *</label> <label for="company-name"><?= lang('company_name') ?> *</label>
<input id="company-name" data-field="company_name" class="required form-control"> <input id="company-name" data-field="company_name" class="required form-control">
@ -94,7 +94,7 @@
</span> </span>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="google-analytics-code"> <label for="google-analytics-code">
Google Analytics ID</label> Google Analytics ID</label>
@ -165,7 +165,7 @@
</legend> </legend>
<div class="row"> <div class="row">
<div class="col-md-7 working-plan-wrapper"> <div class="col-xs-12 col-sm-7 working-plan-wrapper">
<h4><?= lang('working_plan') ?></h4> <h4><?= lang('working_plan') ?></h4>
<span class="help-block"> <span class="help-block">
<?= lang('edit_working_plan_hint') ?> <?= lang('edit_working_plan_hint') ?>
@ -278,7 +278,7 @@
<input id="book-advance-timeout" data-field="book_advance_timeout" class="form-control"> <input id="book-advance-timeout" data-field="book_advance_timeout" class="form-control">
</div> </div>
</div> </div>
<div class="col-md-5 breaks-wrapper"> <div class="col-xs-12 col-sm-5 breaks-wrapper">
<h4><?= lang('breaks') ?></h4> <h4><?= lang('breaks') ?></h4>
<span class="help-block"> <span class="help-block">

View file

@ -100,7 +100,7 @@
<input type="hidden" id="admin-id" class="record-id"> <input type="hidden" id="admin-id" class="record-id">
<div class="row"> <div class="row">
<div class="admin-details col-md-6"> <div class="admin-details col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="first-name"><?= lang('first_name') ?> *</label> <label for="first-name"><?= lang('first_name') ?> *</label>
<input id="admin-first-name" class="form-control required" maxlength="256"> <input id="admin-first-name" class="form-control required" maxlength="256">
@ -151,7 +151,7 @@
<textarea id="admin-notes" class="form-control" rows="3"></textarea> <textarea id="admin-notes" class="form-control" rows="3"></textarea>
</div> </div>
</div> </div>
<div class="admin-settings col-md-6"> <div class="admin-settings col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="admin-username"><?= lang('username') ?> *</label> <label for="admin-username"><?= lang('username') ?> *</label>
<input id="admin-username" class="form-control required" maxlength="256"> <input id="admin-username" class="form-control required" maxlength="256">
@ -253,7 +253,7 @@
<input type="hidden" id="provider-id" class="record-id"> <input type="hidden" id="provider-id" class="record-id">
<div class="row"> <div class="row">
<div class="provider-details col-md-6"> <div class="provider-details col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="provider-first-name"><?= lang('first_name') ?> *</label> <label for="provider-first-name"><?= lang('first_name') ?> *</label>
<input id="provider-first-name" class="form-control required" maxlength="256"> <input id="provider-first-name" class="form-control required" maxlength="256">
@ -304,7 +304,7 @@
<textarea id="provider-notes" class="form-control" rows="3"></textarea> <textarea id="provider-notes" class="form-control" rows="3"></textarea>
</div> </div>
</div> </div>
<div class="provider-settings col-md-6"> <div class="provider-settings col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="provider-username"><?= lang('username') ?> *</label> <label for="provider-username"><?= lang('username') ?> *</label>
<input id="provider-username" class="form-control required" maxlength="256"> <input id="provider-username" class="form-control required" maxlength="256">
@ -538,7 +538,7 @@
<input type="hidden" id="secretary-id" class="record-id"> <input type="hidden" id="secretary-id" class="record-id">
<div class="row"> <div class="row">
<div class="secretary-details col-md-6"> <div class="secretary-details col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="secretary-first-name"><?= lang('first_name') ?> *</label> <label for="secretary-first-name"><?= lang('first_name') ?> *</label>
<input id="secretary-first-name" class="form-control required" maxlength="256"> <input id="secretary-first-name" class="form-control required" maxlength="256">
@ -589,7 +589,7 @@
<textarea id="secretary-notes" class="form-control" rows="3"></textarea> <textarea id="secretary-notes" class="form-control" rows="3"></textarea>
</div> </div>
</div> </div>
<div class="secretary-settings col-md-6"> <div class="secretary-settings col-xs-12 col-sm-6">
<div class="form-group"> <div class="form-group">
<label for="secretary-username"><?= lang('username') ?> *</label> <label for="secretary-username"><?= lang('username') ?> *</label>
<input id="secretary-username" class="form-control required" maxlength="256"> <input id="secretary-username" class="form-control required" maxlength="256">

View file

@ -80,7 +80,7 @@
<div class="alert hidden"></div> <div class="alert hidden"></div>
<div class="row"> <div class="row">
<div class="admin-settings col-md-5"> <div class="admin-settings col-xs-12 col-sm-5">
<h3>Administrator</h3> <h3>Administrator</h3>
<div class="form-group"> <div class="form-group">
@ -119,7 +119,7 @@
</div> </div>
</div> </div>
<div class="company-settings col-md-5"> <div class="company-settings col-xs-12 col-sm-5">
<h3>Company</h3> <h3>Company</h3>
<div class="form-group"> <div class="form-group">

View file

@ -148,7 +148,7 @@ window.BackendUsers = window.BackendUsers || {};
$('#secretary-providers').data('jsp').destroy(); $('#secretary-providers').data('jsp').destroy();
var html = '<div class="col-md-12">'; var html = '<div class="col-xs-12">';
$.each(GlobalVariables.providers, function(index, provider) { $.each(GlobalVariables.providers, function(index, provider) {
html += html +=
'<div class="checkbox">' + '<div class="checkbox">' +