Mark required the fields of the settings page

This commit is contained in:
Alex Tselegidis 2021-10-04 09:27:50 +02:00
parent 6fa2451a08
commit 53acb6146c

View file

@ -80,7 +80,10 @@
<div class="wrapper row">
<div class="col-12 col-sm-6">
<div class="form-group">
<label for="company-name"><?= lang('company_name') ?> *</label>
<label for="company-name">
<?= lang('company_name') ?>
<span class="text-danger">*</span>
</label>
<input id="company-name" data-field="company_name" class="required form-control">
<span class="form-text text-muted">
<?= lang('company_name_hint') ?>
@ -88,7 +91,10 @@
</div>
<div class="form-group">
<label for="company-email"><?= lang('company_email') ?> *</label>
<label for="company-email">
<?= lang('company_email') ?>
<span class="text-danger">*</span>
</label>
<input id="company-email" data-field="company_email" class="required form-control">
<span class="form-text text-muted">
<?= lang('company_email_hint') ?>
@ -96,7 +102,10 @@
</div>
<div class="form-group">
<label for="company-link"><?= lang('company_link') ?> *</label>
<label for="company-link">
<?= lang('company_link') ?>
<span class="text-danger">*</span>
</label>
<input id="company-link" data-field="company_link" class="required form-control">
<span class="form-text text-muted">
<?= lang('company_link_hint') ?>
@ -402,77 +411,112 @@
<input type="hidden" id="user-id">
<div class="form-group">
<label for="first-name"><?= lang('first_name') ?> *</label>
<label for="first-name">
<?= lang('first_name') ?>
<span class="text-danger">*</span>
</label>
<input id="first-name" class="form-control required">
</div>
<div class="form-group">
<label for="last-name"><?= lang('last_name') ?> *</label>
<label for="last-name">
<?= lang('last_name') ?>
<span class="text-danger">*</span>
</label>
<input id="last-name" class="form-control required">
</div>
<div class="form-group">
<label for="email"><?= lang('email') ?> *</label>
<label for="email">
<?= lang('email') ?>
<span class="text-danger">*</span>
</label>
<input id="email" class="form-control required">
</div>
<div class="form-group">
<label for="phone-number"><?= lang('phone_number') ?> *</label>
<label for="phone-number">
<?= lang('phone_number') ?>
<span class="text-danger">*</span>
</label>
<input id="phone-number" class="form-control required">
</div>
<div class="form-group">
<label for="mobile-number"><?= lang('mobile_number') ?></label>
<label for="mobile-number">
<?= lang('mobile_number') ?>
</label>
<input id="mobile-number" class="form-control">
</div>
<div class="form-group">
<label for="address"><?= lang('address') ?></label>
<label for="address">
<?= lang('address') ?>
</label>
<input id="address" class="form-control">
</div>
<div class="form-group">
<label for="city"><?= lang('city') ?></label>
<label for="city">
<?= lang('city') ?>
</label>
<input id="city" class="form-control">
</div>
<div class="form-group">
<label for="state"><?= lang('state') ?></label>
<label for="state">
<?= lang('state') ?>
</label>
<input id="state" class="form-control">
</div>
<div class="form-group">
<label for="zip-code"><?= lang('zip_code') ?></label>
<label for="zip-code">
<?= lang('zip_code') ?>
</label>
<input id="zip-code" class="form-control">
</div>
<div class="form-group">
<label for="notes"><?= lang('notes') ?></label>
<label for="notes">
<?= lang('notes') ?>
</label>
<textarea id="notes" class="form-control" rows="3"></textarea>
</div>
</fieldset>
<fieldset class="col-12 col-sm-6 miscellaneous-wrapper">
<legend class="border-bottom mb-4"><?= lang('system_login') ?></legend>
<legend class="border-bottom mb-4">
<?= lang('system_login') ?>
</legend>
<div class="form-group">
<label for="username"><?= lang('username') ?> *</label>
<label for="username">
<?= lang('username') ?>
<span class="text-danger">*</span>
</label>
<input id="username" class="form-control required">
</div>
<div class="form-group">
<label for="password"><?= lang('password') ?></label>
<label for="password">
<?= lang('password') ?>
</label>
<input type="password" id="password" class="form-control" autocomplete="new-password">
</div>
<div class="form-group">
<label for="retype-password"><?= lang('retype_password') ?></label>
<label for="retype-password">
<?= lang('retype_password') ?>
</label>
<input type="password" id="retype-password" class="form-control"
autocomplete="new-password">
</div>
<div class="form-group">
<label for="calendar-view"><?= lang('calendar') ?> *</label>
<label for="calendar-view"><?= lang('calendar') ?>
<span class="text-danger">*</span>
</label>
<select id="calendar-view" class="form-control required">
<option value="default">Default</option>
<option value="table">Table</option>
@ -480,7 +524,9 @@
</div>
<div class="form-group">
<label for="timezone"><?= lang('timezone') ?></label>
<label for="timezone">
<?= lang('timezone') ?>
</label>
<?= render_timezone_dropdown('id="timezone" class="form-control"') ?>
</div>