Fixed template files of adminuser coordination object (bootstrap upgrade)

This commit is contained in:
Rooty 2024-02-25 12:12:16 +01:00
parent 64d91740b6
commit b5686c994e
2 changed files with 86 additions and 87 deletions

View File

@ -104,6 +104,7 @@
</div>
<div class="col"></div>
</div>
<div class="row mt-5 mb-1 w-100">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabAdminUser">
<thead class="thead-default">
<tr>
@ -129,6 +130,7 @@
</mx:bloc id="ligne">
</tbody>
</table>
</div>
</div>
</form>
</div>

View File

@ -1,157 +1,154 @@
<div class="tab-content container-fluid px-0 py-2 border w-75">
<div class="card w-100 border-0">
<form id="frmUserForm" name="frmUserForm" role="form" class="form-input" method="post" mXattribut="action:urlAction">
<input type="hidden" name="user_id" mXattribut="value:user_id" class="hidden"/>
<input type="hidden" name="urlReturn" mXattribut="value:urlReturn" class="hidden"/>
<div class="card-header form-inline">
<div class="input-group col-xs-12 col-sm-3 col-lg-11 justify-content-center">
<span class="text-center"><h3><mx:text id="formUser1"/></h3></span>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-1">
<input data-toggle="toggle" data-style="float-right" data-onstyle="success font-weight-bold" data-on="<mx:text id="user_account_sEnabled"/>" data-offstyle="danger font-weight-bold" data-off="<mx:text id="user_account_sDisabled"/>" data-size="mini" type="checkbox"<mx:text id="accountState"/> name="user_account_active">
</div>
<div class="tab-content container-fluid px-0 py-2 w-75">
<form id="frmUserForm" name="frmUserForm" role="form" class="form-inline" method="post" mXattribut="action:urlAction">
<input type="hidden" name="user_id" mXattribut="value:user_id" class="hidden"/>
<input type="hidden" name="urlReturn" mXattribut="value:urlReturn" class="hidden"/>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="formUser1"/></h3>
<input data-toggle="toggle" data-style="float-end" data-onstyle="success font-weight-bold" data-on="<mx:text id="user_account_sEnabled"/>" data-offstyle="danger font-weight-bold" data-off="<mx:text id="user_account_sDisabled"/>" data-size="mini" type="checkbox"<mx:text id="accountState"/> name="user_account_active">
</div>
<div class="card-body center-block">
<div class="card-body">
<div class="row mb-1 w-100">
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-venus-mars"></i></span>
<mx:select id="user_title" id="title"/>
</div>
<mx:select id="user_title" id="title"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-user"></i></span>
<mx:formField id="user_first_name" id="firstname"/>
</div>
<mx:formField id="user_first_name" id="firstname"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-user"></i></span>
<mx:formField id="user_last_name" id="lastname"/>
</div>
<mx:formField id="user_last_name" id="lastname"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-envelope-o"></i></span>
<mx:formField id="user_mail" id="mail"/>
</div>
<mx:formField id="user_mail" id="mail"/>
</div>
</div>
<div class="row mb-1 w-100">
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-user-secret"></i></span>
<mx:formField id="user_login" id="login"/>
</div>
<mx:formField id="user_login" id="login"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-lock"></i></span>
<mx:formField id="user_password" id="password"/>
</div>
<mx:formField id="user_password" id="password"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-lock"></i></span>
<mx:formField id="re_user_password" id="password2"/>
</div>
<mx:formField id="re_user_password" id="password2"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-birthday-cake"></i></span>
<mx:formField id="user_birthdate" id="birthdate" data-provide="datepicker" data-date-format="dd/mm/yyyy" data-date-language="fr"/>
</div>
<mx:formField id="user_birthdate" id="birthdate" data-provide="datepicker" data-date-format="dd/mm/yyyy" data-date-language="fr"/>
</div>
</div>
</div>
<div class="card-header text-center">
<!-- </div> -->
<!--<div class="card-header text-center">
<h3><mx:text id="formUser2"/></h3>
</div>
<div class="card-body center-block">
</div>-->
<!-- <div class="card-body center-block"> -->
<div class="row mb-1 w-100">
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
<mx:formField id="user_postal_address" id="postaladdress"/>
</div>
<mx:formField id="user_postal_address" id="postaladdress"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
<mx:formField id="user_postal_code" id="postalcode"/>
</div>
<mx:formField id="user_postal_code" id="postalcode"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-location-arrow"></i></span>
<mx:formField id="user_city" id="city"/>
</div>
<mx:formField id="user_city" id="city"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-flag"></i></span>
<mx:formField id="user_country" id="country"/>
</div>
<mx:formField id="user_country" id="country"/>
</div>
</div>
<div class="row mb-1 w-100">
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-mobile"></i></span>
<mx:formField id="user_tel" id="tel"/>
</div>
<mx:formField id="user_tel" id="tel"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-fax"></i></span>
<mx:formField id="user_fax" id="fax"/>
</div>
<mx:formField id="user_fax" id="fax"/>
</div>
</div>
</div>
<div class="card-header text-center">
<!-- </div> -->
<!--<div class="card-header text-center">
<h3><mx:text id="formUserIM"/></h3>
</div>
<div class="card-body center-block">
</div>-->
<!-- <div class="card-body center-block"> -->
<div class="row mb-1 w-100">
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-mastodon"></i></span>
<mx:formField id="user_mastodon" id="user_mastodon"/>
</div>
<mx:formField id="user_mastodon" id="user_mastodon"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-xmpp"></i></span>
<mx:formField id="user_jabber" id="user_jabber"/>
</div>
<mx:formField id="user_jabber" id="user_jabber"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-facebook"></i></span>
<mx:formField id="user_facebook" id="user_facebook"/>
</div>
<mx:formField id="user_facebook" id="user_facebook"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<div class="col">
<div class="input-group">
<span class="input-group-text"><i class="fa fa-lg fa-globe"></i></span>
<mx:formField id="user_website" id="user_website"/>
</div>
<mx:formField id="user_website" id="user_website"/>
</div>
</div>
</div>
<!-- </div> -->
<div class="card-footer border-0 bg-white text-center">
<input type="reset" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" name="BtnReset" title="<mx:text id="ResetChange"/>" value="<mx:text id="BtnReset"/>" onclick="this.form.reset();"/>
<input type="button" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" name="BtnReturn" value="<mx:text id="BtnReturn"/>" onclick="history.back();"/>
<input type="submit" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" name="BtnValid" MxAttribut="value:BtnValid"/>
</div>
</form>
<div class="card-header text-center">
<h3><mx:text id="TxtUserGroupAffect"/></h3>
</div>
<div class="card-body center-block m-0 p-0">
</form>
<div class="card-header text-center">
<h3><mx:text id="TxtUserGroupAffect"/></h3>
</div>
<div class="card-body center-block">
<table class="table table-sm table-responsive-sm table-bordered table-striped table-hover" id="tabListGroups">
<thead class="thead-default">
<tr>
@ -168,13 +165,12 @@
</table>
</div>
<form id="fmaddGroup" name="fmaddGroup" role="form" class="form" method="post" mXattribut="action:urlAddAction">
<input type="hidden" name="user_id" mXattribut="value:user_id"/>
<div class="card-footer border-0 bg-white">
<form id="fmaddGroup" name="fmaddGroup" role="form" class="form-inline" method="post" mXattribut="action:urlAddAction">
<input type="hidden" name="user_id" mXattribut="value:user_id"/>
<div class="card-body form">
<div class="row mb-1 w-100">
<div class="input-group justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-group"></i></span>
</div>
<mx:select id="GROUP" id="groupid"/>
<div class="input-group-append">
<span class="input-group-input">
@ -183,5 +179,6 @@
</div>
</div>
</div>
</form>
</div>
</form>
</div>