fix spacing issues

This commit is contained in:
Godfrey M 2024-09-25 12:07:15 -07:00
parent 18ddffe8f9
commit 12522a3791
2 changed files with 20 additions and 18 deletions

View file

@ -59,34 +59,36 @@
<div class="col-md-3 col-xs-12"> <div class="col-md-3 col-xs-12">
<label class="control-label" for="modal-password">{{ trans('admin/users/table.password') }}:</label> <label class="control-label" for="modal-password">{{ trans('admin/users/table.password') }}:</label>
</div> </div>
<div class="col-md-8 col-xs-12 required"><input class="form-control" type='password' name="password" id='modal-password' class="form-control"> <div class="col-md-8 col-xs-12 required" style="margin-bottom:5px;">
<input type='password' name="password" id='modal-password' class="form-control">
<a href="#" class="left" id="modal-genPassword">Generate</a> <a href="#" class="left" id="modal-genPassword">Generate</a>
<div id="modal-generated-password"></div>
</div> </div>
</div> </div>
</div> </div>
<div class="dynamic-form-row"> <div class="dynamic-form-row">
<div class="form-group"> <div class="form-group">
<div class="col-md-3 col-xs-12"> <div class="col-md-3 col-xs-12 ">
<label class="control-label" for="modal-password_confirmation">{{ trans('admin/users/table.password_confirm') }}:</label> <label class="control-label" for="modal-password_confirmation">{{ trans('admin/users/table.password_confirm') }}:</label>
</div> </div>
<div class="col-md-8 col-xs-12 required"> <div class="col-md-8 col-xs-12 required">
<input class="form-control" type='password' name="password_confirmation" id='modal-password_confirmation' class="form-control"> <input class="form-control" type='password' name="password_confirmation" id='modal-password_confirmation'>
<div id="modal-generated-password"></div>
</div> </div>
</div> </div>
</div> </div>
<!-- Checkbox for activation new user, by default set for activated --> <!-- Checkbox for activation new user, by default set for activated -->
<div class="dynamic-form-row"> <div class="dynamic-form-row">
<div class="col-md-offset-3 col-md-8 col-xs-12"> <div class="form-group">
<label class="form-control"> <div class="col-md-offset-3 col-md-8 col-xs-12">
<input type="checkbox" value="1" name="activated" id="modal-activated" {{ (old('activated', $user->activated)) == '1' ? ' checked="checked"' : '' }} aria-label="activated"> <label class="form-control">
{{ trans('general.login_enabled') }} <input type="checkbox" value="1" name="activated" id="modal-activated" {{ (old('activated', $user->activated)) == '1' ? ' checked="checked"' : '' }} aria-label="activated">
</label> {{ trans('general.login_enabled') }}
</div> </label>
</div>
</div>
</div> </div>
<div class="dynamic-form-row"> <div class="dynamic-form-row">
@include('modals.partials.footer') @include('modals.partials.footer')

View file

@ -1,6 +1,6 @@
<!-- partials/forms/edit/username.blade.php --> <!-- partials/forms/edit/username.blade.php -->
<div class="form-group">
<div class="col-md-3 col-xs-12"><label for="modal-username">{{ trans('admin/users/table.username') }}:</label></div> <div class="col-md-3 col-xs-12"><label for="modal-username">{{ trans('admin/users/table.username') }}:</label></div>
<div class="col-md-8 col-xs-12 required"><input type='text' name="username" id='modal-username' class="form-control"></div> <div class="col-md-8 col-xs-12 required"><input type='text' name="username" id='modal-username' class="form-control"></div>
</div>
<!-- partials/forms/edit/username.blade.php --> <!-- partials/forms/edit/username.blade.php -->