Qware template enhancements

This commit is contained in:
Rooty 2021-04-19 12:13:18 +02:00
parent 35795d22ec
commit 308be6251e
5 changed files with 59 additions and 8 deletions

View File

@ -6,14 +6,49 @@
}
#data div.tab-content.container-fluid form select{
min-width: 190px;
max-width: 190px;
min-width: 180px;
max-width: 180px;
}
#data div.tab-content.container-fluid form select.large{
min-width: 200px;
max-width: 200px;
}
#data div.tab-content.container-fluid form input{
min-width: 180px;
max-width: 180px;
}
#data div.tab-content.container-fluid form input.large{
min-width: 200px;
max-width: 200px;
}
#data div.tab-content.container-fluid form div.form-check{
/* height: 38px; */
/* margin-top: auto; */
/* margin-bottom: auto; */
border: 1px solid #dee2e6;
border-top-right-radius: .25rem;
border-bottom-right-radius: .25rem;
}
#data div.tab-content.container-fluid form input.form-check-input{
min-width: 50px;
max-width: 50px;
margin-top: auto;
margin-bottom: auto;
}
.input-group-text {
min-width: 53px;
}
.input-group-text.large {
min-width: 70px;
}
form#authSession.form div.input-group-prepend input.form{
box-sizing: border-box;
border-radius: 0;

View File

@ -14,10 +14,25 @@
<form id="frmNode" name="frmNode" role="form" class="container form-inline" method="post" mXattribut="action:urlActionNode">
<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-body border-0">
<div class="card-body w-100 border-0">
<div class="row justify-content-center">
<span class="input-group-text"><mx:text id="OptListNodeCreate"/><mx:checker id="coche0" id="coche0" class="check"/></span>
<span class="input-group-text"><mx:text id="OptListNodeRight"/><mx:checker id="coche1" id="coche1" class="check"/></span>
<div class="input-group col-xs-12 col-sm-8 col-lg-3">
<div class="input-group-prepend">
<span class="input-group-text"><mx:text id="OptListNodeCreate"/></span>
</div>
<div class="form-check">
<mx:checker id="coche0" id="coche0" class="form-check-input"/>
</div>
</div>
<div class="input-group col-xs-12 col-sm-8 col-lg-3">
<div class="input-group-prepend">
<span class="input-group-text"><mx:text id="OptListNodeRight"/></span>
</div>
<div class="form-check">
<mx:checker id="coche1" id="coche1" class="form-check-input"/>
</div>
</div>
<div class="input-group col-xs-12 col-sm-8 col-lg-6">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-indent"></i></span>
@ -29,6 +44,7 @@
</div>
</div>
</div>
</div>
</form>
</div>

View File

@ -18,7 +18,7 @@
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-lg fa-indent"></i></span>
</div>
<select name="contentType" id="contentType">
<select name="contentType" id="contentType" class="large">
<mx:bloc id="actionAdminClass">
<option mXattribut="value:classValue"><mx:text id="className"/></option>
</mx:bloc id="actionAdminClass">

View File

@ -195,7 +195,7 @@ var $tabForbidden=array("adminentrynode", "admingroup", "adminnode", "home", "ad
$GLOBALS["SYSTEM_TEMPLATE"]->MxBloc("blocName", "loop");
}
$GLOBALS['SYSTEM_TEMPLATE']->MxSelect("icone", "iconeN", '', $tabIcone, 'Icône de la communauté', '', 'id="iconeN"', "class=\"form\" required=\"false\" title=\"".htmlspecialchars(getMessage("txtNodeIcon"), ENT_QUOTES)."\"", getMessage("txtNodeIcon"));
$GLOBALS['SYSTEM_TEMPLATE']->MxSelect("icone", "iconeN", '', $tabIcone, 'Icône de la communauté', '', 'id="iconeN"', "class=\"form large\" required=\"false\" title=\"".htmlspecialchars(getMessage("txtNodeIcon"), ENT_QUOTES)."\"", getMessage("txtNodeIcon"));
$GLOBALS["SYSTEM_TEMPLATE"]->MxImage("pictoObject", $GLOBALS['CONF_DATA_PATH']."data/image/icons/node/defaultnode.png", getMessage("PreviewPicto"));
$GLOBALS['SYSTEM_TEMPLATE']->MxText("txtNodeType", getMessage("txtNodeType"));

View File

@ -438,7 +438,7 @@ Class AdminNode extends CoordinationObj
systemRedirect(formatUrl($this->getId(), "AdminNode", "updateAdmin", "enableNode"));
return "enableGroup";
}
printTabTreeNode($tabMove, $Node->getIdPere(), "ToHidde.NODE", "node_Id2");
printTabTreeNode($tabMove, $Node->getIdPere(), "ToHidde.NODE", "node_Id2", false, "class=\"large\"");
}else{
$GLOBALS['SYSTEM_TEMPLATE']->MxAttribut("urlAction", formatUrl($this->getId(), "AdminNode", "updateAdmin"));
$GLOBALS['SYSTEM_TEMPLATE']->MxBloc("ToHidde", "delete");