21require
'../../../../main.inc.php';
31if ($user->socid > 0) {
36require_once DOL_DOCUMENT_ROOT .
'/admin/tools/ui/class/documentation.class.php';
39$langs->load(
'uxdocumentation');
43$group =
'ExperimentalUx';
46$documentation->docHeader($langs->trans(
'ExperimentalUxTitle', $group));
49$documentation->view = [$group];
52$documentation->showSidebar(); ?>
54<div
class=
"doc-wrapper">
56 <?php $documentation->showBreadCrumb(); ?>
58 <div
class=
"doc-content-wrapper">
60 <h1
class=
"documentation-title"><?php echo $langs->trans($group); ?></h1>
61 <p
class=
"documentation-text"><?php echo $langs->trans(
'DocGroupIndexDescription', $group); ?></p>
65 <div
class=
"documentation-section" id=
"experimental-ux-introduction" >
66 <h2
class=
"documentation-title"><?php echo $langs->trans(
'ExperimentalUxIntroductionTitle'); ?></h2>
67 <p
class=
"documentation-text"><?php echo $langs->transnoentities(
'ExperimentalUxIntroductionTxt01'); ?></p>
68 <p
class=
"documentation-text"><?php echo $langs->trans(
'ExperimentalUxIntroductionTxt02'); ?></p>
69 <p
class=
"documentation-text"><?php echo
img_picto(
'',
'warning') .
' ' . $langs->trans(
'ExperimentalUxIntroductionTxt03'); ?></p>
73 <div
class=
"documentation-section" id=
"experimental-ux-contribution" >
74 <h2
class=
"documentation-title"><?php echo $langs->trans(
'ExperimentalUxContributionTitle'); ?></h2>
75 <p
class=
"documentation-text"><?php echo $langs->trans(
'ExperimentalUxContributionTxt01'); ?></p>
76 <pre>htdocs/admin/tools/ui/experimental/experiments/A/</pre>
77 <p
class=
"documentation-text"><?php echo $langs->trans(
'ExperimentalUxContributionTxt02'); ?></p>
78 <pre>./experiments/A/assets/variant-
name.css
79./experiments/A/assets/variant-
name-1.js
80./experiments/A/assets/variant-
name-1.css
81./experiments/A/assets/variant-
name-2.js
82./experiments/A/assets/variant-
name-2.css
83./experiments/A/index.php
85 <p
class=
"documentation-text"><?php echo $langs->trans(
'ExperimentalUxContributionTxt03'); ?></p>
86 <pre>./experiments/A/variant-
name-1.php
87./experiments/A/variant-
name-2.php
89 <p
class=
"documentation-text"><?php echo $langs->trans(
'ExperimentalUxContributionEnd'); ?></p>
97$documentation->docFooter();
Class to manage UI documentation.
img_picto($titlealt, $picto, $moreatt='', $pictoisfullpath=0, $srconly=0, $notitle=0, $alt='', $morecss='', $marginleftonlyshort=2, $allowothertags=array())
Show picto whatever it's its name (generic function)
$conf db name
Only used if Module[ID]Name translation string is not found.
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.