Fixed template lcube6 for tool configuration of installmanager object

This commit is contained in:
Rooty 2020-12-13 23:18:18 +01:00
parent 228e1ad959
commit 30e4d4fc79
2 changed files with 125 additions and 119 deletions

View File

@ -18,69 +18,69 @@
</ul> </ul>
<div class="tab-content container-fluid px-2 py-2 w-100 border"> <div class="tab-content container-fluid px-2 py-2 w-100 border">
<form id="configObject" name="configObject" role="form" class="form text-center px-0" method="post" mXattribut="action:urlAction"> <form id="configObject" name="configObject" role="form" class="form text-center px-0" method="post" mXattribut="action:urlAction">
<input type="hidden" name="urlReturn" mXattribut="value:urlActionReturn"/> <input type="hidden" name="urlReturn" mXattribut="value:urlActionReturn"/>
<input type="hidden" name="contentType" mXattribut="value:contentType"/> <input type="hidden" name="contentType" mXattribut="value:contentType"/>
<input type="hidden" name="objectId" mXattribut="value:objectId"/> <input type="hidden" name="objectId" mXattribut="value:objectId"/>
<div class="card w-100 mb-0"> <div class="card w-100 mb-0">
<div class="card-header"> <div class="card-header">
<h3><mx:text id="configurationObject"/> (<mx:text id="TxtContentType"/>)</h3> <h3><mx:text id="configurationObject"/> (<mx:text id="TxtContentType"/>)</h3>
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="row mb-2"> <div class="row mb-2">
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0"> <div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<div class="input-group-prepend"> <div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-file-picture-o"></i></span> <span class="input-group-text"><i class="fa fa-lg fa-file-picture-o"></i></span>
</div>
<mx:select id="icone"/>
<div class="input-group-append">
<span class="input-group-text"><mx:image id="pictoObject"/></span>
</div>
</div> </div>
<mx:select id="icone"/> <div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<div class="input-group-append"> <mx:bloc id="blocName">
<span class="input-group-text"><mx:image id="pictoObject"/></span> <div class="input-group-prepend">
<span class="input-group-text"><i class="fa"><mx:image id="pictoLanguage"/></i></span>
</div>
<mx:formField id="nameInput"/>
</mx:bloc id="blocName">
</div> </div>
</div> </div>
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0"> <div class="row mb-2">
<mx:bloc id="blocName"> <div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<div class="input-group-prepend"> <mx:formField id="resumeValue"/>
<span class="input-group-text"><i class="fa"><mx:image id="pictoLanguage"/></i></span> </div>
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<mx:formField id="keyWordValue"/>
</div>
</div>
<div class="row mb-2">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 p-0 m-0">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa"><mx:text id="TxtNode"/></i></span>
</div>
<mx:select id="NODE" id="node"/>
</div> </div>
<mx:formField id="nameInput"/>
</mx:bloc id="blocName">
</div> </div>
</div> </div>
<div class="row mb-2"> <div class="card-header">
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0"> <h3><mx:text id="TxtConfiguration"/></h3>
<mx:formField id="resumeValue"/>
</div>
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<mx:formField id="keyWordValue"/>
</div>
</div> </div>
<div class="row mb-2"> <div class="card-body">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 p-0 m-0"> <div class="row mb-2">
<div class="input-group-prepend"> <div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<span class="input-group-text"><i class="fa"><mx:text id="TxtNode"/></i></span> <div class="input-group-prepend">
<span class="input-group-text"><i class="fa"><mx:text id="TxtGroupAdmin"/></i></span>
</div>
<mx:select id="GROUP_ADMIN"/>
</div> </div>
<mx:select id="NODE" id="node"/>
</div> </div>
</div> </div>
</div> <div class="card-footer border-0 bg-white text-center">
<div class="card-header"> <input type="reset" name="BtnReset" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" title="<mx:text id="BtnReset"/>" value="<mx:text id="BtnReset"/>" onclick="this.form.reset();"/>
<h3><mx:text id="TxtConfiguration"/></h3> <input type="button" name="BtnReturn" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" value="<mx:text id="BtnReturn"/>" onclick="history.back();"/>
</div> <input type="submit" name="BtnValid" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" mXattribut="value:BtnValid"/>
<div class="card-body">
<div class="row mb-2">
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa"><mx:text id="TxtGroupAdmin"/></i></span>
</div>
<mx:select id="GROUP_ADMIN"/>
</div>
</div> </div>
</div> </div>
<div class="card-footer border-0 bg-white text-center">
<input type="reset" name="BtnReset" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" title="<mx:text id="BtnReset"/>" value="<mx:text id="BtnReset"/>" onclick="this.form.reset();"/>
<input type="button" name="BtnReturn" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" value="<mx:text id="BtnReturn"/>" onclick="history.back();"/>
<input type="submit" name="BtnValid" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" mXattribut="value:BtnValid"/>
</div>
</div>
</form> </form>
</div> </div>
</div> </div>

View File

@ -1,83 +1,89 @@
<ul class="nav container nav-tabs border-bottom-0"> <ul class="nav container-fluid nav-tabs w-75 border-bottom-0">
<mx:bloc id="TabeB"> <mx:bloc id="TabeB">
<li mXattribut="class:TabeView"> <li mXattribut="class:TabeView">
<a mXattribut="href:UrlTabeView" mXattribut="class:ClassTabeView"> <a mXattribut="href:UrlTabeView" mXattribut="class:ClassTabeView">
<i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i> <i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i>
<mx:text id="TabeNameView"/>2 <mx:text id="TabeNameView"/>
</a> </a>
</li> </li>
</mx:bloc id="TabeB"> </mx:bloc id="TabeB">
</ul> </ul>
<div class="tab-content container-fluid px-2 py-2 w-75 border">
<form id="configObject" method="post" mXattribut="action:urlAction"> <ul class="nav container-fluid nav-tabs border-bottom-0">
<input type="hidden" name="urlReturn" mXattribut="value:urlActionReturn"/>
<input type="hidden" name="contentType" mXattribut="value:contentType"/>
<input type="hidden" name="objectId" mXattribut="value:objectId"/>
<div class="box">
<div class="header"><h2><mx:text id="TabeBTabeNameView"/></h2><p><mx:text id="configurationObject"/> (<mx:text id="TxtContentType"/>)</p></div>
<div class="tabe">
<ul>
<mx:bloc id="TabeSecond"> <mx:bloc id="TabeSecond">
<li mXattribut="class:TabeView"> <li mXattribut="class:TabeView">
<a mXattribut="href:UrlTabeView" mXattribut="class:ClassTabeView"><i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i><mx:text id="TabeNameView"/></a> <a mXattribut="href:UrlTabeView" mXattribut="class:ClassTabeView"><i class="mr-1 fa fa-lg fa-<mx:text id="pictoTabe"/>"></i><mx:text id="TabeNameView"/></a>
</li> </li>
</mx:bloc id="TabeSecond"> </mx:bloc id="TabeSecond">
</ul> </ul>
</div> <div class="tab-content container-fluid px-2 py-2 w-100 border">
<div class="box"> <form id="configObject" name="configObject" role="form" class="form text-center px-0" method="post" mXattribut="action:urlAction">
<div class="header"><h2><mx:text id="TabeSecondTabeNameView"/></h2><p><mx:text id="TxtGeneral"/></p></div> <input type="hidden" name="urlReturn" mXattribut="value:urlActionReturn"/>
<fieldset class="fieldset"> <input type="hidden" name="contentType" mXattribut="value:contentType"/>
<legend><mx:text id="TxtFormLegend"/></legend> <input type="hidden" name="objectId" mXattribut="value:objectId"/>
<div> <div class="card w-100 mb-0">
<div class="field"><label for="iconeN" class="require"><mx:text id="TxtImage"/></label><img name="pictoObject" id="pictoObject" src="data/template/default/media/picto/object/defaultobject.gif" alt="Picto"/><mx:select id="icone" class="selectsmall"/></div> <div class="card-header">
<div class="field"><label for="nameInput" class="require"><mx:text id="nameObject"/></label> <h3><mx:text id="configurationObject"/> (<mx:text id="TxtContentType"/>)</h3>
<mx:bloc id="blocName"> </div>
<mx:image id="pictoLanguage"/><input type="text" mXattribut="value:namelanguagevalue" mXattribut="name:nameInput" id="nameInput"/> <div class="card-body">
</mx:bloc id="blocName"> <div class="row mb-2">
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-file-picture-o"></i></span>
</div>
<mx:select id="icone"/>
<div class="input-group-append">
<span class="input-group-text"><mx:image id="pictoObject"/></span>
</div>
</div>
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<mx:bloc id="blocName">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa"><mx:image id="pictoLanguage"/></i></span>
</div>
<mx:formField id="nameInput"/>
</mx:bloc id="blocName">
</div>
</div>
<div class="row mb-2">
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<mx:formField id="resumeValue"/>
</div>
<div class="input-group col-xs-12 col-sm-8 col-lg-6 p-0 m-0">
<mx:formField id="keyWordValue"/>
</div>
</div>
<div class="row mb-2">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 p-0 m-0">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa"><mx:text id="TxtNode"/></i></span>
</div>
<mx:select id="NODE" id="node"/>
</div>
</div>
</div>
<div class="card-header">
<h3><mx:text id="TxtConfiguration"/></h3>
</div>
<div class="card-body">
<div class="row mb-2">
<div class="input-group col-xs-12 col-sm-8 col-lg-4 p-0 m-0">
<mx:formField id="ftp"/>
</div>
<div class="input-group col-xs-12 col-sm-8 col-lg-4 p-0 m-0">
<mx:formField id="login"/>
</div>
<div class="input-group col-xs-12 col-sm-8 col-lg-4 p-0 m-0">
<mx:formField id="passwd"/>
</div>
</div>
</div>
<div class="card-footer border-0 bg-white text-center">
<input type="reset" name="BtnReset" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" title="<mx:text id="BtnReset"/>" value="<mx:text id="BtnReset"/>" onclick="this.form.reset();"/>
<input type="button" name="BtnReturn" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" value="<mx:text id="BtnReturn"/>" onclick="history.back();"/>
<input type="submit" name="BtnValid" class="btn btn-outline-secondary btn-lg btn-sm" aria-pressed="true" mXattribut="value:BtnValid"/>
</div>
</div> </div>
<div class="field"><label for="resume"><mx:text id="resumeLanguage"/> :</label><textarea cols="5" rows="5" name="resume" id="resume"><mx:text id="resumeValue"/></textarea></div> </form>
<div class="field"><label for="keyword"><mx:text id="keyword"/> :</label><textarea cols="5" rows="5" name="keyWord" id="keyword"><mx:text id="keyWordValue"/></textarea></div>
<div class="field"><label for="node" class="require"><mx:text id="TxtNode"/></label><mx:select id="NODE" id="node"/></div>
</div>
</fieldset>
<fieldset class="fieldset">
<legend><mx:text id="TxtConfiguration"/></legend>
<div>
<div><label class="labelverybig"><mx:text id="TxtFtp"/></label><mx:formField id="ftp"/><br />&nbsp;</div>
<div><label class="labelverybig"><mx:text id="TxtLogin"/></label><mx:formField id="login"/><br />&nbsp;</div>
<div><label class="labelverybig"><mx:text id="TxtPassword"/></label><mx:formField id="passwd"/><br />&nbsp;</div>
</div>
<div class="action">
<input type="submit" name="BtnValid" mXattribut="value:BtnValid" class="save"/>
</div>
</fieldset>
<div class="info"><mx:text id="TxtField"/></div>
</div> </div>
</div> </div>
</form>
<script type="text/javascript">
<!--
function imgPicto()
{
// cas ns6
if (document.getElementById)
{
if (document.getElementById("configObject"))
{
document.getElementById("pictoObject").src="data/template/default/media/picto/object/"+document.getElementById("configObject").iconeN.options[(document.getElementById("configObject").iconeN.selectedIndex)].value;
}
}
// cas ie 5.5
else if (document.all)
{
if (document.all["configObject"])
{
document.all["pictoObject"].src="data/template/default/media/picto/object/"+document.all["configObject"].iconeN.options[(document.all["configObject"].iconeN.selectedIndex)].value;
}
}
}
imgPicto();
//-->
</script>