Fully fixed issue #4.

This commit is contained in:
Rooty 2020-12-07 19:09:27 +01:00
parent c83eda4abf
commit 4019caabc1

View File

@ -1,5 +1,5 @@
<div class="tab-content container px-2 py-2 border">
<form id="fmNodeAdd" role="form" class="container form-inline text-center px-0" method="post" mXattribut="action:urlAction">
<div class="tab-content container-fluid px-2 py-2 border w-75">
<form id="fmNodeAdd" role="form" class="form text-center px-0" method="post" mXattribut="action:urlAction">
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape1"/><mx:text id="double_dots"/><mx:text id="generalInformation"/></h3>
@ -38,182 +38,183 @@
</div>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape2"/><mx:text id="double_dots"/><mx:text id="briquesList"/></h3> (<a href="javascript:void(0);" onclick="setCheckOptions('fmNodeAdd', 'class_id[]'); return false;"><mx:text id="selectall"/></a>)
</div>
<div class="card-body">
<div class="row mb-2">
<mx:bloc id="actionAdminClass">
<div class="input-group col-xs-12 col-sm-8 col-lg-3 p-0 m-0">
<div class="input-group-prepend w-75">
<mx:text id="className"/>
</div>
<div class="input-group-append w-25">
<mx:checker id="classId"/>
</div>
</div>
</mx:bloc id="actionAdminClass">
</div>
</div>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape2"/><mx:text id="double_dots"/><mx:text id="briquesList"/></h3> (<a href="javascript:void(0);" onclick="setCheckOptions('fmNodeAdd', 'class_id[]'); return false;"><mx:text id="selectall"/></a>)
</div>
<div class="card-body">
<div class="row mb-2">
<mx:bloc id="actionAdminClass">
<div class="input-group col-xs-12 col-sm-8 col-lg-3 p-0 m-0">
<div class="input-group-prepend w-75">
<mx:text id="className"/>
</div>
<div class="input-group-append w-25">
<mx:checker id="classId"/>
</div>
</div>
</mx:bloc id="actionAdminClass">
</div>
</div>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape3"/><mx:text id="double_dots"/><mx:text id="user_admin"/></h3>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-genderless"></i></span>
</div>
<mx:select id="user_title"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-user"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-user"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope-o"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-user-secret"></i></span>
</div>
<mx:formField id="user_login" id="user_login"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-lock"></i></span>
</div>
<mx:formField id="user_password" id="user_password"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-lock"></i></span>
</div>
<mx:formField id="user_password2" id="user_password2"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-birthday-cake"></i></span>
</div>
<mx:formField id="user_birthdate" id="birthdate" data-provide="datepicker" data-date-format="dd/mm/yyyy" data-date-language="fr"/>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-location-arrow"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-flag"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
</div>
<mx:formField id="user_state" id="state"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-mobile"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-fax"></i></span>
</div>
<mx:formField id="user_fax" id="fax"/>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-mastodon"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-xmpp"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-facebook"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-globe"></i></span>
</div>
<mx:formField id="user_website" id="user_website"/>
</div>
</div>
</div>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape3"/><mx:text id="double_dots"/><mx:text id="user_admin"/></h3>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-genderless"></i></span>
</div>
<mx:select id="user_title"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-user"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-user"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope-o"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-user-secret"></i></span>
</div>
<mx:formField id="user_login" id="user_login"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-lock"></i></span>
</div>
<mx:formField id="user_password" id="user_password"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-lock"></i></span>
</div>
<mx:formField id="user_password2" id="user_password2"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-birthday-cake"></i></span>
</div>
<mx:formField id="user_birthdate" id="birthdate" data-provide="datepicker" data-date-format="dd/mm/yyyy" data-date-language="fr"/>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-location-arrow"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-flag"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-envelope"></i></span>
</div>
<mx:formField id="user_state" id="state"/>
</div>
<div class="input-group col-xs-12 col-sm-3 col-lg-3 justify-content-center">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-mobile"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-fax"></i></span>
</div>
<mx:formField id="user_fax" id="fax"/>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-mastodon"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-xmpp"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-facebook"></i></span>
</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">
<span class="input-group-text"><i class="fa fa-lg fa-globe"></i></span>
</div>
<mx:formField id="user_website" id="user_website"/>
</div>
</div>
</div>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape4"/><mx:text id="double_dots"/><mx:text id="TxtTemplateChoiceNode"/></h3>
</div>
<div class="card-body center-block">
<div class="row">
<p class="input-group col-xs-12 col-sm-8 col-lg-4">
<span class="input-group-addon"><span class="glyphicon glyphicon-user required"></span><mx:text id="TxtTemplateAvailNode"/></span><mx:select id="TEMPLATE_ADMIN" id="template" onchange="javascript:imgTemplate();"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-4">
<span class="input-group-addon center"><span class="glyphicon"></span><img name="pictoTemplate" id="pictoTemplate" src="data/template/default/preview.png" mXattribut="alt:previewtemplate" class="preview" /></span>
</p>
</div>
</div>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape4"/><mx:text id="double_dots"/><mx:text id="TxtTemplateChoiceNode"/></h3>
</div>
<div class="card-body center-block">
<div class="row">
<p class="input-group col-xs-12 col-sm-8 col-lg-4">
<span class="input-group-addon"><span class="glyphicon glyphicon-user required"></span><mx:text id="TxtTemplateAvailNode"/></span><mx:select id="TEMPLATE_ADMIN" id="template" onchange="javascript:imgTemplate();"/>
</p>
<p class="input-group col-xs-12 col-sm-8 col-lg-4">
<span class="input-group-addon center"><span class="glyphicon"></span><img name="pictoTemplate" id="pictoTemplate" src="data/template/default/preview.png" mXattribut="alt:previewtemplate" class="preview" /></span>
</p>
</div>
</div>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape5"/><mx:text id="double_dots"/><mx:text id="TxtCommValidateCreate"/></h3>
</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" onclick="this.form.reset();" title="<mx:text id="ResetChange"/>" value="<mx:text id="BtnReset"/>"/>
<input type="button" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" name="BtnReturn" onclick="history.back();" value="<mx:text id="BtnReturn"/>"/>
<input type="submit" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" id="valid" name="BtnValid" onclick="javascript:Valid_register('fmNodeAdd','class_id[]')" MxAttribut="value:BtnValid"/>
</div>
<div class="card w-100">
<div class="card-header">
<h3><mx:text id="etape5"/><mx:text id="double_dots"/><mx:text id="TxtCommValidateCreate"/></h3>
</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" onclick="this.form.reset();" title="<mx:text id="ResetChange"/>" value="<mx:text id="BtnReset"/>"/>
<input type="button" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" name="BtnReturn" onclick="history.back();" value="<mx:text id="BtnReturn"/>"/>
<input type="submit" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" id="valid" name="BtnValid" onclick="javascript:Valid_register('fmNodeAdd','class_id[]')" MxAttribut="value:BtnValid"/>
</div>
</div>
</form>
</div>